2021 Commits

Author SHA1 Message Date
Chris Tsang
732428fd1b Remove Default bound from ActiveValue 2021-07-05 22:35:42 +08:00
Sam Samai
0eeb37b219 Test create cake 2021-07-05 22:14:16 +10:00
Sam Samai
cf356ecfdb Test create customer 2021-07-05 21:50:18 +10:00
Sam Samai
a40785c554 Test baker and bakery create 2021-07-05 21:43:32 +10:00
Sam Samai
c0177bffc5 Fix create order table foreign keys 2021-07-04 11:22:05 +10:00
Sam Samai
47e7914224 Remove LineitemId from cake 2021-07-04 11:05:06 +10:00
Sam Samai
23e0b3c590 Fix create table for the new relationship between Cake and Lineitem 2021-07-04 10:55:45 +10:00
Sam Samai
c5dec7e9dc Lineitem belongs to cake 2021-07-03 22:49:02 +10:00
Sam Samai
f61ed5a2cc Use DbErr instead of ExecErr 2021-07-03 22:14:13 +10:00
Sam Samai
335bdc5c7c Merge branch 'master' into ss/bakery 2021-07-03 21:56:08 +10:00
Sam Samai
76d2cbb955 Use f64 for money 2021-07-03 21:21:35 +10:00
Sam Samai
86bfcba083 Cake has many lineitems 2021-07-03 21:20:28 +10:00
Sam Samai
f60a1c32a3 Test bakery create 2021-07-03 21:18:35 +10:00
Chris Tsang
53311d883b Docs 2021-07-03 15:23:58 +08:00
Chris Tsang
78eeda0c00 Update example 2021-07-03 15:23:58 +08:00
Billy Chan
47bb5b3ad7
sea-orm-cli showing help message when no sub-command provided 2021-07-02 10:42:56 +08:00
Chris Tsang
de7524e502 Fix sea-orm-codegen 2021-07-01 21:55:00 +08:00
Chris Tsang
fb292e94b6 Remove file 2021-07-01 21:29:36 +08:00
Chris Tsang
fe4297d233 Readme 2021-07-01 21:25:46 +08:00
Chris Tsang
e40455e771 Use SeaQL/strum 2021-07-01 21:07:23 +08:00
Chris Tsang
2f456d972f Fix test 2021-07-01 21:00:41 +08:00
Billy Chan
059b732401 Depends on forked strum 2021-07-01 19:12:52 +08:00
Billy Chan
7bf79ae5bf Re-export strum_macros 2021-07-01 19:12:52 +08:00
Chris Tsang
87c8d0dc8d chrono support 2021-07-01 19:09:12 +08:00
Chris Tsang
1b43ffc987 Readme 2021-07-01 17:41:16 +08:00
Chris Tsang
3a0ea8146f Docs 2021-06-30 23:56:26 +08:00
Chris Tsang
f5ac84f915 Rework DbErr 2021-06-30 23:56:26 +08:00
Billy Chan
dd8d8c3431
Codegen without find_* helper fn 2021-06-30 23:01:23 +08:00
Billy Chan
f8f3d128fd
Fix clippy warming 2021-06-30 22:50:01 +08:00
Chris Tsang
30ac326d5c Rename to DbErr::Exec and DbErr::Conn 2021-06-30 21:21:06 +08:00
Chris Tsang
0298cfb6af Rename to DbErr 2021-06-30 21:17:23 +08:00
Billy Chan
2a1173c174
Add & use OrmError (#36)
* Add & use OrmError

* Rename to SeaErr
2021-06-30 21:08:41 +08:00
Sam Samai
c820bb66f7 Fix relationship between Cake and lineitems, add Cake schema creation test 2021-06-30 21:16:44 +10:00
Sam Samai
391fb08260 Separate schema tests 2021-06-30 21:15:12 +10:00
Chris Tsang
f6ea8a7b3f Docs 2021-06-30 11:39:40 +08:00
Chris Tsang
adaaf31dd9 Docs 2021-06-29 23:32:05 +08:00
Chris Tsang
3b88ed5a38 Logo 2021-06-29 19:26:57 +08:00
Chris Tsang
a7550a33e5 Docs 2021-06-29 18:38:20 +08:00
Sam Samai
6104770b65 Pull table creation into its own module 2021-06-29 20:12:59 +10:00
Sam Samai
c4fc1b1678 Add the rest of the relations 2021-06-29 19:57:05 +10:00
Sam Samai
d103671701 Agnostic backend for creating table 2021-06-29 19:39:17 +10:00
Sam Samai
2b0424b9d9 Update ERD jpg 2021-06-29 19:38:05 +10:00
Sam Samai
88bc1e1587 Merge branch 'master' into ss/bakery 2021-06-29 19:17:13 +10:00
Chris Tsang
5714bbe915 cargo fmt 2021-06-29 16:59:45 +08:00
Chris Tsang
3e7220aad0 Add SchemaBuilderBackend 2021-06-29 16:59:40 +08:00
Sam Samai
ba65d4f290 Update customer has_many relation 2021-06-29 12:27:48 +10:00
Sam Samai
8f66968724 Use find_related in place of find_xxx 2021-06-29 12:03:11 +10:00
Chris Tsang
72e8b1f9d6 Docs 2021-06-29 03:02:42 +08:00
Sam Samai
59322d37d8 Merge branch 'master' into ss/bakery 2021-06-28 10:30:06 +10:00
Chris Tsang
a0d9b47b1f Rename left_join_and_select_* to find_*_related 2021-06-28 02:17:14 +08:00