67 Commits

Author SHA1 Message Date
Sam Samai
dfda079b77 Store baker contact details as Json and test 2021-07-21 15:36:53 +10:00
Sam Samai
c9833893c0 Column type can be Uuid 2021-07-20 16:28:38 +10: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
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
Sam Samai
f05de487ff Use Decimal for lineitem price 2021-07-07 21:46:21 +10:00
Chris Tsang
f5ac84f915 Rework DbErr 2021-06-30 23:56:26 +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
Chris Tsang
ad3fb45253 cargo fmt 2021-06-22 01:30:26 +08:00
Chris Tsang
ec290156c5 SQLx SQLite support 2021-06-20 23:04:25 +08:00
Chris Tsang
6b7ea75393 Mock Database Connection 2021-06-13 22:20:50 +08:00
Chris Tsang
f64f947f21 Move code 2021-06-12 17:16:14 +08:00
Chris Tsang
c7057ab964 Organize code 2021-06-12 17:12:18 +08:00
Chris Tsang
6ffed93b46 DatabaseConnection 2021-05-07 15:09:07 +08:00
Chris Tsang
7d99d33aa2 Select 2021-05-07 05:57:51 +08:00