Chris Tsang
|
64204b53fe
|
sea-orm-macros 0.2.3
|
2021-09-22 17:47:58 +08:00 |
|
Chris Tsang
|
27807f3f6c
|
Fix DeriveEntityModel Decimal mapping
|
2021-09-18 21:45:28 +08:00 |
|
Chris Tsang
|
89c7359759
|
sea-orm-macros 0.2.2
|
2021-09-17 23:47:48 +08:00 |
|
Chris Tsang
|
89661ae3d0
|
Merge pull request #173 from SeaQL/pg-timestamp-tz
`TimestampWithTimeZone` Fixups
|
2021-09-17 23:38:47 +08:00 |
|
Chris Tsang
|
e7ec68f4c1
|
Correct Rust type to ColumnType mapping
|
2021-09-17 23:06:41 +08:00 |
|
Billy Chan
|
37d390e500
|
WIP
|
2021-09-17 19:04:18 +08:00 |
|
Billy Chan
|
beca48d48e
|
Refactor
|
2021-09-16 14:59:48 +08:00 |
|
Billy Chan
|
16e41be9df
|
Add & parse "ignore" macro attribute
|
2021-09-16 13:11:04 +08:00 |
|
Billy Chan
|
ca3dd2d2a1
|
cargo fmt
|
2021-09-15 10:45:09 +08:00 |
|
Ari Seyhun
|
1815e30405
|
Add DateTimeWithTimeZone support for DeriveEntityModel
|
2021-09-12 20:50:28 +09:30 |
|
Billy Chan
|
ba276cdde5
|
DeriveEntityModel supports attribute type of Vec<u8>
|
2021-09-10 17:11:19 +08:00 |
|
Billy Chan
|
11208d627b
|
Move ActiveModel CRUD actions into ActiveModelTrait
|
2021-09-10 12:58:27 +08:00 |
|
Billy Chan
|
f4d1a52791
|
Change update behavior, add ActiveModel insert & update
|
2021-09-10 12:56:41 +08:00 |
|
Chris Tsang
|
9885029585
|
Use DeriveEntityModel in test suite
|
2021-09-09 17:22:54 +08:00 |
|
Chris Tsang
|
9b947901b9
|
Fix clippy warning
|
2021-09-09 15:20:17 +08:00 |
|
Billy Chan
|
54bb358cca
|
DeriveEntityModel automatically derive DeriveModel and DeriveActiveModel
|
2021-09-08 22:02:24 +08:00 |
|
Chris Tsang
|
c0a77c1298
|
Add type mapping
|
2021-09-08 00:12:47 +08:00 |
|
Marco Napetti
|
5567fbc289
|
Fix auto_increment as boolean
|
2021-09-07 23:06:19 +08:00 |
|
Chris Tsang
|
a186338ff5
|
Try DeriveRelation
|
2021-09-07 22:54:39 +08:00 |
|
Ari Seyhun
|
0f0d5b52b4
|
Add DeriveRelation
|
2021-09-07 22:12:23 +08:00 |
|
Ari Seyhun
|
290f78454b
|
Rewrite DeriveModel
|
2021-09-07 22:08:57 +08:00 |
|
Chris Tsang
|
46d9fd30e6
|
Try DeriveEntity
|
2021-09-07 22:08:57 +08:00 |
|
Ari Seyhun
|
455fc4a934
|
Rewrite DeriveEntity
|
2021-09-07 22:08:57 +08:00 |
|
Chris Tsang
|
0fff7fd054
|
Rename to DeriveEntityModel
|
2021-09-07 20:37:51 +08:00 |
|
Chris Tsang
|
022bee0627
|
cargo fmt
|
2021-09-07 20:37:51 +08:00 |
|
Marco Napetti
|
d4a915616a
|
Fix example
|
2021-09-07 10:38:42 +02:00 |
|
Marco Napetti
|
abcdbf2a48
|
Manage PrimaryKeyTrait::ValueType
|
2021-09-07 10:18:37 +02: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 |
|
Marco Napetti
|
a4b4f4925f
|
Minor comments fixes
|
2021-09-06 12:58:47 +02:00 |
|
Marco Napetti
|
ab925e8f11
|
Manage auto_increment attribute, call nullable() instead of old null()
|
2021-09-06 12:41:09 +02:00 |
|
Marco Napetti
|
cc2f491a1e
|
Remove panic
|
2021-09-06 12:21:21 +02:00 |
|
Marco Napetti
|
0eb6902d1b
|
default_value and default_expr hypotetical implementation
|
2021-09-06 12:02:15 +02:00 |
|
Marco Napetti
|
5179fb257a
|
Add indexed and unique support
|
2021-09-06 11:25:05 +02:00 |
|
Marco Napetti
|
8d8b3e7813
|
Split-up macro
|
2021-09-06 11:14:00 +02:00 |
|
Marco Napetti
|
193cd5a29d
|
Start working on EntityModel macro
|
2021-09-05 12:41:54 +02:00 |
|
Chris Tsang
|
a9d9b499d1
|
sea-orm-macros 0.2.0
|
2021-09-04 02:07:02 +08:00 |
|
Billy Chan
|
9d5ce08ff8
|
Logging
|
2021-09-03 14:27:38 +08:00 |
|
Chris Tsang
|
6a078d0ac7
|
sea-orm-macros 0.1.1
|
2021-08-23 01:53:43 +08:00 |
|
Chris Tsang
|
63826e2f61
|
Fix build error
|
2021-08-23 01:53:43 +08:00 |
|
Chris Tsang
|
e5f290380a
|
Use ColumnFromStrErr
|
2021-08-23 01:06:25 +08:00 |
|
Chris Tsang
|
332ab3ccf5
|
Remove derive PartialEq
|
2021-08-22 22:15:40 +08:00 |
|
Ari Seyhun
|
46a4cafaa9
|
Implement FromStr for DeriveColumn
|
2021-08-22 02:00:20 +08:00 |
|
Billy Chan
|
09c328bb0d
|
Use smol async-runtime and require one of the supported runtime for integration tests
|
2021-08-21 22:56:48 +08:00 |
|
Billy Chan
|
2cfaa34a33
|
Test against all supported runtime
|
2021-08-21 22:56:48 +08:00 |
|
Billy Chan
|
69b0ae1177
|
Custom column names with default
|
2021-08-13 21:39:50 +08:00 |
|
Billy Chan
|
8b30ef74a2
|
Customize column names
|
2021-08-12 22:53:22 +08:00 |
|
Chris Tsang
|
22b4b14a64
|
Publish sea-orm-macros
|
2021-08-08 01:43:29 +08:00 |
|
Chris Tsang
|
1e6a778a0f
|
ValueType does not need to impl Default
|
2021-07-12 02:48:37 +08:00 |
|
Chris Tsang
|
0298cfb6af
|
Rename to DbErr
|
2021-06-30 21:17:23 +08:00 |
|