Commit Graph

  • 8bfad93d30 Manually truncate the tables for MySQL Sam Samai 2021-07-13 11:27:28 +10:00
  • 82b63589d3 Try mysql adaptor Sam Samai 2021-07-13 10:04:44 +10:00
  • c7ff5d8d05 Setup done in TestContext Sam Samai 2021-07-13 10:03:47 +10:00
  • a94224e0f2 Unit test sea-orm-codegen Billy Chan 2021-07-03 00:02:45 +08:00
  • e65db62e13
    Merge branch 'master' into improve-doc-test Billy Chan 2021-07-12 18:47:25 +08:00
  • b09aed3ff1
    Add more doc Billy Chan 2021-07-12 11:45:20 +08:00
  • ce32967a95
    Add base_entity doc Billy Chan 2021-07-12 11:12:32 +08:00
  • 1e6a778a0f ValueType does not need to impl Default Chris Tsang 2021-07-12 02:48:37 +08:00
  • a838cf7c23
    Naivedatetime for placed_at on order (#40) Sam Samai 2021-07-12 00:17:28 +10:00
  • 6ff5a32b7a cargo fmt Chris Tsang 2021-07-11 22:08:37 +08:00
  • ba77fb80aa Create TestContext for setting up and tearing down the database after each test Sam Samai 2021-07-11 22:08:55 +10:00
  • 1fa7c7e177 Test delete cake and bakery Sam Samai 2021-07-10 22:07:57 +10:00
  • f961e6e28d Test bakery update Sam Samai 2021-07-10 21:27:58 +10:00
  • 7ebfddae91 Test update cake Sam Samai 2021-07-10 21:20:51 +10:00
  • c73e10cc59
    Fix clippy warming Billy Chan 2021-07-09 12:52:28 +08:00
  • 883bd1605d
    Merge pull request #34 from SeaQL/ss/bakery Chris Tsang 2021-07-09 12:45:49 +08:00
  • 3659abbf0a
    Improve doc test Billy Chan 2021-07-09 00:18:43 +08:00
  • 550d9a7bcb Cake price is decimal now Sam Samai 2021-07-08 22:07:08 +10:00
  • ad4c1c813c Test create order Sam Samai 2021-07-08 21:59:29 +10:00
  • 1ecc8480ab Test create lineitem Sam Samai 2021-07-08 21:43:19 +10:00
  • 3b67ff8c0c Support Decimal on sqlite Chris Tsang 2021-07-08 01:58:01 +08:00
  • 40dd5e7da7 Fix build error from rust_decimal Chris Tsang 2021-07-08 01:26:42 +08:00
  • dbe950e628 Merge branch 'master' into ss/bakery Chris Tsang 2021-07-08 01:18:18 +08:00
  • 82992aab61 Decimal support Chris Tsang 2021-07-08 01:17:15 +08:00
  • f05de487ff Use Decimal for lineitem price Sam Samai 2021-07-07 21:42:42 +10:00
  • 527bc3d703 Merge branch 'master' into ss/bakery Sam Samai 2021-07-07 09:33:04 +10:00
  • 732428fd1b Remove Default bound from ActiveValue Chris Tsang 2021-07-05 22:35:42 +08:00
  • 0eeb37b219 Test create cake Sam Samai 2021-07-05 22:14:16 +10:00
  • cf356ecfdb Test create customer Sam Samai 2021-07-05 21:50:18 +10:00
  • a40785c554 Test baker and bakery create Sam Samai 2021-07-05 21:43:32 +10:00
  • c0177bffc5 Fix create order table foreign keys Sam Samai 2021-07-04 11:19:16 +10:00
  • 47e7914224 Remove LineitemId from cake Sam Samai 2021-07-04 11:05:06 +10:00
  • 23e0b3c590 Fix create table for the new relationship between Cake and Lineitem Sam Samai 2021-07-04 10:40:10 +10:00
  • c5dec7e9dc Lineitem belongs to cake Sam Samai 2021-07-03 22:49:02 +10:00
  • f61ed5a2cc Use DbErr instead of ExecErr Sam Samai 2021-07-03 22:14:13 +10:00
  • 335bdc5c7c Merge branch 'master' into ss/bakery Sam Samai 2021-07-03 21:56:08 +10:00
  • 76d2cbb955 Use f64 for money Sam Samai 2021-07-03 21:21:35 +10:00
  • 86bfcba083 Cake has many lineitems Sam Samai 2021-07-03 21:20:28 +10:00
  • f60a1c32a3 Test bakery create Sam Samai 2021-07-03 21:18:35 +10:00
  • 53311d883b Docs Chris Tsang 2021-07-03 15:23:42 +08:00
  • 78eeda0c00 Update example Chris Tsang 2021-07-01 23:03:09 +08:00
  • 47bb5b3ad7
    sea-orm-cli showing help message when no sub-command provided Billy Chan 2021-07-02 10:42:56 +08:00
  • de7524e502 Fix sea-orm-codegen Chris Tsang 2021-07-01 21:55:00 +08:00
  • fb292e94b6 Remove file Chris Tsang 2021-07-01 21:29:36 +08:00
  • fe4297d233 Readme Chris Tsang 2021-07-01 21:19:42 +08:00
  • e40455e771 Use SeaQL/strum Chris Tsang 2021-07-01 21:07:23 +08:00
  • 2f456d972f Fix test Chris Tsang 2021-07-01 21:00:41 +08:00
  • 059b732401 Depends on forked strum Billy Chan 2021-06-30 11:13:16 +08:00
  • 7bf79ae5bf Re-export strum_macros Billy Chan 2021-06-30 11:02:04 +08:00
  • 87c8d0dc8d chrono support Chris Tsang 2021-07-01 19:07:43 +08:00
  • 1b43ffc987 Readme Chris Tsang 2021-07-01 17:41:16 +08:00
  • 3a0ea8146f Docs Chris Tsang 2021-06-30 23:55:32 +08:00
  • f5ac84f915 Rework DbErr Chris Tsang 2021-06-30 23:42:12 +08:00
  • dd8d8c3431
    Codegen without find_* helper fn Billy Chan 2021-06-30 23:01:23 +08:00
  • f8f3d128fd
    Fix clippy warming Billy Chan 2021-06-30 22:50:01 +08:00
  • 30ac326d5c Rename to DbErr::Exec and DbErr::Conn Chris Tsang 2021-06-30 21:21:06 +08:00
  • 0298cfb6af Rename to DbErr Chris Tsang 2021-06-30 21:17:23 +08:00
  • 2a1173c174
    Add & use OrmError (#36) Billy Chan 2021-06-30 21:08:41 +08:00
  • c820bb66f7 Fix relationship between Cake and lineitems, add Cake schema creation test Sam Samai 2021-06-30 21:16:44 +10:00
  • 391fb08260 Separate schema tests Sam Samai 2021-06-30 21:15:12 +10:00
  • f6ea8a7b3f Docs Chris Tsang 2021-06-30 11:39:40 +08:00
  • adaaf31dd9 Docs Chris Tsang 2021-06-29 23:32:05 +08:00
  • 3b88ed5a38 Logo Chris Tsang 2021-06-29 19:26:57 +08:00
  • a7550a33e5 Docs Chris Tsang 2021-06-29 18:38:20 +08:00
  • 6104770b65 Pull table creation into its own module Sam Samai 2021-06-29 20:12:59 +10:00
  • c4fc1b1678 Add the rest of the relations Sam Samai 2021-06-29 19:57:05 +10:00
  • d103671701 Agnostic backend for creating table Sam Samai 2021-06-29 19:39:17 +10:00
  • 2b0424b9d9 Update ERD jpg Sam Samai 2021-06-29 19:38:05 +10:00
  • 88bc1e1587 Merge branch 'master' into ss/bakery Sam Samai 2021-06-29 19:17:13 +10:00
  • 5714bbe915 cargo fmt Chris Tsang 2021-06-29 16:59:45 +08:00
  • 3e7220aad0 Add SchemaBuilderBackend Chris Tsang 2021-06-29 16:59:40 +08:00
  • ba65d4f290 Update customer has_many relation Sam Samai 2021-06-29 12:27:48 +10:00
  • 8f66968724 Use find_related in place of find_xxx Sam Samai 2021-06-29 12:03:11 +10:00
  • 72e8b1f9d6 Docs Chris Tsang 2021-06-29 03:02:14 +08:00
  • 59322d37d8 Merge branch 'master' into ss/bakery Sam Samai 2021-06-28 10:30:06 +10:00
  • a0d9b47b1f Rename left_join_and_select_* to find_*_related Chris Tsang 2021-06-28 02:17:03 +08:00
  • 0a215f75ed Docs Chris Tsang 2021-06-28 02:10:46 +08:00
  • 5d16222108 Update example Chris Tsang 2021-06-28 01:36:59 +08:00
  • 7e3bc1c7b3 Delete many Chris Tsang 2021-06-28 01:35:21 +08:00
  • 9f93c7ed6f Use find_related in place of find_cake Chris Tsang 2021-06-28 01:34:49 +08:00
  • 688891f706 Use MockDatabase in doc test Chris Tsang 2021-06-27 15:57:22 +08:00
  • 0011f5e7d1 Create Cake and CakesBakers Sam Samai 2021-06-27 16:32:24 +10:00
  • c76557135e Create Lineitem Sam Samai 2021-06-27 15:28:04 +10:00
  • a0db19758b SelectTwoMany Chris Tsang 2021-06-27 03:39:09 +08:00
  • df7bb5c195 left_join_and_select_also Chris Tsang 2021-06-27 00:03:16 +08:00
  • 394dfc07cc Fix clippy warning Chris Tsang 2021-06-26 23:02:38 +08:00
  • a072b1f2f3 from_query_result_opt, FIXME: unit test will fail Billy Chan 2021-06-24 18:56:07 +08:00
  • 19c0b0c35d Select to many Billy Chan 2021-06-23 15:00:20 +08:00
  • 0afd226dbe Update generated examples Chris Tsang 2021-06-26 22:27:29 +08:00
  • c36b94592d Merge branch 'codegen-amendment' Chris Tsang 2021-06-26 22:08:01 +08:00
  • 1b2dc1ca43 Revert examples Chris Tsang 2021-06-26 22:06:10 +08:00
  • fa30519f99 sea-orm-cli read config from .env, update command, rename binary to sea-orm-cli Billy Chan 2021-06-23 18:38:11 +08:00
  • c6a1cfab2e Update GitHub action Billy Chan 2021-06-23 22:26:42 +08:00
  • 1de4d0cd28 Create Customer and Order Sam Samai 2021-06-26 22:09:19 +10:00
  • bd2e7a922f Baker belongs to a bakery Sam Samai 2021-06-26 17:58:37 +10:00
  • 318665d1af Start creating the table for Bakery and Baker objects Sam Samai 2021-06-26 16:09:43 +10:00
  • fce0b04e58 Use more datatypes in the model Sam Samai 2021-06-25 18:36:38 +10:00
  • b8f58546bd Bakery chain domain model Sam Samai 2021-06-25 16:41:02 +10:00
  • 2cf8911a4b Diesel Chris Tsang 2021-06-25 12:30:18 +08:00
  • 255aeb7e16 ERD of the Bakery domain to begin with Sam Samai 2021-06-24 16:52:13 +10:00