Billy Chan
6ba8e1b9f1
DeriveRelation
on empty Relation enum (#1019 )
2022-09-25 10:17:39 +08:00
Billy Chan
83c6e4a4db
RelationDef
& RelationBuilder
are Send
& Sync
(#898 )
...
* `RelationDef` & `RelationBuilder` are `Send` & `Sync`
* [issues] add tests
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2022-07-21 23:35:20 +08:00
Billy Chan
9983e5d498
Update [issues]
2022-07-06 17:07:07 +08:00
Billy Chan
74b4d80f9d
Update [issues]
2022-07-06 17:02:59 +08:00
Billy Chan
840f8f6148
DeriveEntityModel
macros override column name (#695 )
...
* Override column name with the name of model field in `DeriveEntityModel` macros [issues]
* Fixup: trim prefix and tailing underscore
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2022-05-09 22:08:59 +08:00
Billy Chan
5a123b36aa
DerivePrimaryKey
with custom primary key column name (#694 )
...
* `DerivePrimaryKey` with custom primary key column name
* Add test cases [issues]
2022-05-09 22:00:04 +08:00
Chris Tsang
929b85131c
[issues]
2022-03-21 01:12:54 +08:00
Billy Chan
8eb095385d
Migration ( #335 )
...
* Refactor `ConnectionTrait`
* Refactoring
* Build index & foreign key statements
* Fix imports
* Fixup
* Rocket example with migration
* async-std compatible with the tokio 1.0 runtime
* Use reexported dependency
* Compile without selecting any db backend
* Updating sea-orm-cli dep
* sea-orm-cli migrate commands
* cargo fmt
* Test [cli]
* Refactoring
* Clap app name should be "sea-orm-cli"
* Correctly capture MIGRATION_DIR
* Rename README
* Add `sea-orm-cli migrate init` command
* Update README
* Try restructured sea-query dependency (SeaQL/sea-schema#41 )
* Set `DATABASE_URL` environment variable
2022-02-05 20:34:54 +08:00
Billy Chan
2e038a7eae
feat: allow model with generics attribute ( #400 )
2022-01-14 01:18:13 +08:00
Chris Tsang
2bc5863977
Remove issues/386
2021-12-25 11:33:21 +08:00
Billy Chan
9036d27da7
Codegen SQLite ( #386 )
...
* Codegen SQLite
* Remove debugging
* Fixup
* Add SQLite "sakila.db" demo [issues]
2021-12-25 11:31:47 +08:00
Billy Chan
2d5aa2a61b
Log with tracing-subscriber ( #399 )
...
* chore: log examples with tracing-subscriber
* chore: log [issues] with tracing-subscriber
* chore: log [cli] with tracing-subscriber
* feat: tracing will emit log if tracing-subscriber is not setup
2021-12-24 23:59:37 +08:00
Emile Fugulin
aaec1bc845
Use attribute instead of compilation flag
2021-12-08 13:50:34 -05:00
Billy Chan
90122374aa
Add test cases [issues]
2021-12-07 16:13:25 +08:00
Billy Chan
1229287fd8
Support Up to 6 Values Composite Primary Key ( #353 )
...
* Support up to 6 composite primary key
* Test [issues]
* Test [issues]
2021-12-04 20:57:05 +08:00
Billy Chan
f809242c1f
Test [issues]
2021-11-16 18:40:37 +08:00
Billy Chan
1c4fc11efe
Test [issues]
2021-11-15 21:27:54 +08:00
Carter Snook
058f6d5d2b
chore: update to Rust Edition 2021 ( #273 )
2021-10-26 17:27:53 +08:00
Billy Chan
e911d2f5f4
Unify case-transform using the same crate
2021-10-21 11:36:57 +08:00
Chris Tsang
43509afb31
Edit
2021-10-20 17:46:35 +08:00
Chris Tsang
7b58c227e1
Readme
2021-10-20 17:39:10 +08:00
Chris Tsang
45f3548d4f
#249 Demo of 'pure' crate depending on SeaORM
2021-10-20 17:37:02 +08:00
Chris Tsang
55dbdb7626
#249 Build with mock only
2021-10-15 23:04:14 +08:00
Chris Tsang
c24d7704d9
Move examples #232
2021-10-09 14:38:43 +08:00