Billy Chan
|
b4abf15169
|
Hotfix - doc test fail, Ignore fmt entity files under codegen/tests
|
2021-07-14 10:27:12 +08:00 |
|
Sam Samai
|
aef5c56f6c
|
Add MySQL service to Github actions
|
2021-07-14 10:18:25 +10:00 |
|
Sam Samai
|
d826a0b8b5
|
Use syntax in db create/drop statements
|
2021-07-14 09:30:41 +10:00 |
|
Sam Samai
|
406a9c6833
|
Cargo fmt
|
2021-07-14 09:15:45 +10:00 |
|
Sam Samai
|
2e0f6df743
|
Merge branch 'master' into ss/test_suite
# Conflicts:
# Cargo.toml
|
2021-07-14 09:12:55 +10:00 |
|
Sam Samai
|
41bc47543a
|
Bakery profit_margin is double in schema
|
2021-07-14 08:55:36 +10:00 |
|
Chris Tsang
|
bcd221a915
|
Add Syntax to Statement
|
2021-07-13 22:39:29 +08:00 |
|
Chris Tsang
|
b5f4d69c3b
|
Merge pull request #39 from SeaQL/improve-doc-test
Improve doc test
|
2021-07-13 20:14:58 +08:00 |
|
Sam Samai
|
b302a11586
|
Test left_join
|
2021-07-13 21:11:11 +10:00 |
|
Sam Samai
|
5190278e1a
|
Setup and tear down DB
|
2021-07-13 20:01:01 +10:00 |
|
Billy Chan
|
f4effc1d64
|
Merge branch 'master' into improve-doc-test
|
2021-07-13 11:16:40 +08:00 |
|
Sam Samai
|
8bfad93d30
|
Manually truncate the tables for MySQL
|
2021-07-13 11:27:28 +10:00 |
|
Sam Samai
|
82b63589d3
|
Try mysql adaptor
|
2021-07-13 10:04:44 +10:00 |
|
Sam Samai
|
c7ff5d8d05
|
Setup done in TestContext
|
2021-07-13 10:03:47 +10:00 |
|
Billy Chan
|
a94224e0f2
|
Unit test sea-orm-codegen
|
2021-07-12 23:45:27 +08:00 |
|
Billy Chan
|
e65db62e13
|
Merge branch 'master' into improve-doc-test
|
2021-07-12 18:47:25 +08:00 |
|
Billy Chan
|
b09aed3ff1
|
Add more doc
|
2021-07-12 11:45:20 +08:00 |
|
Billy Chan
|
ce32967a95
|
Add base_entity doc
|
2021-07-12 11:12:32 +08:00 |
|
Chris Tsang
|
1e6a778a0f
|
ValueType does not need to impl Default
|
2021-07-12 02:48:37 +08:00 |
|
Sam Samai
|
a838cf7c23
|
Naivedatetime for placed_at on order (#40)
* WIP use NativeDateTime for placed_at
* Use NaiveDatetime for placed_at
* Cargo fmt again
Co-authored-by: Chris Tsang <tyt2y7@gmail.com>
|
2021-07-11 22:17:28 +08:00 |
|
Chris Tsang
|
6ff5a32b7a
|
cargo fmt
|
2021-07-11 22:08:37 +08:00 |
|
Sam Samai
|
ba77fb80aa
|
Create TestContext for setting up and tearing down the database after each test
|
2021-07-11 22:08:55 +10:00 |
|
Sam Samai
|
1fa7c7e177
|
Test delete cake and bakery
|
2021-07-10 22:07:57 +10:00 |
|
Sam Samai
|
f961e6e28d
|
Test bakery update
|
2021-07-10 21:27:58 +10:00 |
|
Sam Samai
|
7ebfddae91
|
Test update cake
|
2021-07-10 21:20:51 +10:00 |
|
Billy Chan
|
c73e10cc59
|
Fix clippy warming
|
2021-07-09 12:52:28 +08:00 |
|
Chris Tsang
|
883bd1605d
|
Merge pull request #34 from SeaQL/ss/bakery
Design and implement the Bakery Chain schema
|
2021-07-09 12:45:49 +08:00 |
|
Billy Chan
|
3659abbf0a
|
Improve doc test
|
2021-07-09 10:55:53 +08:00 |
|
Sam Samai
|
550d9a7bcb
|
Cake price is decimal now
|
2021-07-08 22:07:08 +10:00 |
|
Sam Samai
|
ad4c1c813c
|
Test create order
|
2021-07-08 22:00:46 +10:00 |
|
Sam Samai
|
1ecc8480ab
|
Test create lineitem
|
2021-07-08 21:43:19 +10:00 |
|
Chris Tsang
|
3b67ff8c0c
|
Support Decimal on sqlite
|
2021-07-08 01:58:01 +08:00 |
|
Chris Tsang
|
40dd5e7da7
|
Fix build error from rust_decimal
|
2021-07-08 01:26:42 +08:00 |
|
Chris Tsang
|
dbe950e628
|
Merge branch 'master' into ss/bakery
|
2021-07-08 01:18:18 +08:00 |
|
Chris Tsang
|
82992aab61
|
Decimal support
|
2021-07-08 01:17:15 +08:00 |
|
Sam Samai
|
f05de487ff
|
Use Decimal for lineitem price
|
2021-07-07 21:46:21 +10:00 |
|
Sam Samai
|
527bc3d703
|
Merge branch 'master' into ss/bakery
|
2021-07-07 09:33:04 +10:00 |
|
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 |
|