826 Commits

Author SHA1 Message Date
Chris Tsang
0fff7fd054 Rename to DeriveEntityModel 2021-09-07 20:37:51 +08:00
Chris Tsang
76378d6c84 #133 Implement TryGetable for Vec<u8> 2021-09-07 18:27:13 +08:00
Marco Napetti
a4d70dfa55
Merge branch 'entity-format' into entity_model_macro 2021-09-07 10:09:34 +02:00
Marco Napetti
c273cf0a39 Manage schema_name attribute, add prelude export, update example 2021-09-07 10:04:33 +02:00
Chris Tsang
6c810673c4 Move entity_to_table_create_statement 2021-09-07 15:55:58 +08:00
Billy Chan
b100e32ffd Rename entity_to_table_create_statement 2021-09-07 15:47:04 +08:00
Billy Chan
a5b230f67c Add back panics 2021-09-06 22:30:51 +08:00
Billy Chan
26cd0846d2 Remove generics on find_by_id 2021-09-06 22:30:51 +08:00
Chris Tsang
8d8415817d Add nullable to ColumnDef 2021-09-06 17:11:19 +08:00
Chris Tsang
4b2019ff4e Readme 2021-09-06 16:54:39 +08:00
Chris Tsang
de1f5d397d Readme 2021-09-04 22:24:01 +08:00
Chris Tsang
e9e864c382 Readme 2021-09-03 23:35:17 +08:00
Chris Tsang
60fdc78766 Move RocketDbPool 2021-09-03 23:12:49 +08:00
Chris Tsang
9be7440e58 Readme 2021-09-03 22:09:20 +08:00
Sam Samai
71926cfd4b Merge branch 'master' into ss/rocket-example
# Conflicts:
#	Cargo.toml
2021-09-03 22:33:16 +10:00
Sam Samai
3f41f92690 Order posts by id 2021-09-03 22:20:46 +10:00
Billy Chan
5060890888
cargo +nightly fmt 2021-09-03 14:56:58 +08:00
Billy Chan
b32fe669fa
Merge pull request #123 from SeaQL/logging
Logging
2021-09-03 14:49:52 +08:00
Billy Chan
b5d85486dd
Fixup 2021-09-03 14:35:20 +08:00
Chris Tsang
d212b62ce5 Fixup 2021-09-03 14:34:20 +08:00
Billy Chan
9d5ce08ff8
Logging 2021-09-03 14:27:38 +08:00
Billy Chan
7f38621c3c
Set clippy deny 2021-09-03 14:26:57 +08:00
Chris Tsang
a781cc6610 Reduce panic 2021-09-03 14:21:51 +08:00
Chris Tsang
c8e2232875 Reduce panic 2021-09-03 14:17:07 +08:00
Chris Tsang
76596da46a
Merge pull request #117 from SeaQL/primary-key-type
`InsertResult` to return the primary key's type
2021-09-03 14:15:11 +08:00
Billy Chan
8cde6e46e4
Merge branch 'master' into linked-api 2021-09-03 12:14:39 +08:00
Chris Tsang
ca13b1b760
Merge pull request #102 from bobbyng626/bobby/001
Create Table Statement
2021-09-03 12:08:45 +08:00
Billy Chan
541b94f15d
Update query helper column_as 2021-09-03 11:23:29 +08:00
Sam Samai
3f6b2e3516 Merge branch 'master' into ss/rocket-example 2021-09-02 22:30:59 +10:00
Sam Samai
5f47421b38 Remove sqlx dir and clean up 2021-09-02 21:47:55 +10:00
Sam Samai
b825df1331 Get db_url from Db in run_migrations 2021-09-02 21:33:28 +10:00
Billy Chan
0db9021da0
Update tests 2021-09-02 16:30:57 +08:00
Billy Chan
3cf8866620
Merge branch 'master' into linked-api 2021-09-02 15:26:37 +08:00
Billy Chan
e72d8a9e04
Use TryGetableMany 2021-09-02 11:26:40 +08:00
Billy Chan
d664985ea9
WIP 2021-09-01 23:24:43 +08:00
Billy Chan
23f2a3d711
Hotfix - git merge conflict 2021-09-01 22:04:43 +08:00
Billy Chan
ab7e7f3401
Merge branch 'master' into primary-key-type 2021-09-01 20:13:25 +08:00
Billy Chan
d14322ad75
WIP (workflow will fail) 2021-09-01 19:05:59 +08:00
Billy Chan
a49f880f4f
WIP: composite primary keys 2021-09-01 18:23:23 +08:00
Sam Samai
13364ab63c Use the database url in Rocket.toml to connect to mysql/postgres 2021-09-01 19:59:29 +10:00
Billy Chan
0e0ee0ede6
Add TryFromU64 & test Uuid as primary key 2021-09-01 16:53:54 +08:00
Billy Chan
ba4b938b69
Revert ColumnType::Binary changes 2021-09-01 13:02:57 +08:00
Billy Chan
5073c6f4aa
Relation with optional ForeignKeyAction 2021-09-01 10:35:51 +08:00
Billy Chan
5a0f1d0fd1
Try pretty_assertions 2021-08-31 19:05:54 +08:00
Billy Chan
5fbc7b146a
Refactoring & Testing 2021-08-31 18:31:01 +08:00
Chris Tsang
dbbc8af23c Readme 2021-08-31 16:08:35 +08:00
Billy Chan
d1d37fab07
cargo fmt 2021-08-31 12:49:33 +08:00
Billy Chan
8a81e43d2e
Rename to schema 2021-08-31 12:49:07 +08:00
Billy Chan
dfe26f9b7c
Without direct rocket dependency 2021-08-30 22:34:02 +08:00
Billy Chan
3b21b999a7
Merge branch 'master' into ss/rocket-example 2021-08-30 18:43:28 +08:00