Yixin Shen
f4dbc97119
Update COMMUNITY.md ( #568 )
...
* Update COMMUNITY.md
* Update COMMUNITY.md
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-03-03 11:22:46 +08:00
Julius Riegel
f46733dd01
Add mediarepo to COMMUNITY.md ( #569 )
...
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-03-03 11:20:32 +08:00
Naryan Dhillon
5e8db81d77
Update COMMUNITY.md ( #570 )
2022-03-03 11:18:20 +08:00
Ken-Miura
483de17da8
Describe default value of ActiveValue on document ( #556 )
2022-03-02 12:24:49 +08:00
Billy Chan
cdd188e561
Exclude mock
from default features
2022-03-01 15:12:23 +08:00
Billy Chan
858953b478
cargo fmt
2022-02-17 15:44:40 +08:00
Chris Tsang
d9fcd2e882
Merge pull request #537 from tasn/patch-1
...
COMMUNITY: add a link to Svix to showcase
2022-02-17 10:38:06 +08:00
Tom Hacohen
ed8258b70b
Update COMMUNITY.md
2022-02-16 14:05:36 +02:00
Tom Hacohen
f2970dfe48
COMMUNITY: add a link to Svix to showcase
2022-02-16 14:02:08 +02:00
Billy Chan
56cf4ea662
Update README.md
2022-02-15 23:32:52 +08:00
Billy Chan
a2428658e9
Update README.md
2022-02-15 22:59:47 +08:00
Billy Chan
f418c4e580
Examples with migration ( #509 )
...
* Update examples sea-orm version
* Update example sea-schema version
* Update [cli] sea-schema version
* Fix [cli] cargo publish failed
* Update CHANGELOG
* Edit rocket example
* Poem example with migration
* Axum example with migration
* Refactoring
* Actix4 example with migration
* Actix example with migration
* Use sea_schema::migration::prelude
2022-02-09 11:45:04 +08:00
Chris Tsang
e9a460b47d
Fix build error
2022-02-07 21:40:05 +08:00
Chris Tsang
54b1f4a226
Use caret requirements
2022-02-07 21:32:35 +08:00
Chris Tsang
ea0342af06
use sea_schema::migration::prelude
2022-02-07 21:28:06 +08:00
Chris Tsang
f8ab11d36a
Use sea-schema 0.5.1
2022-02-07 21:27:22 +08:00
Billy Chan
27888339cf
Update CHANGELOG
2022-02-07 20:55:16 +08:00
Billy Chan
0a06892aac
Fix [cli] cargo publish failed
2022-02-07 20:55:16 +08:00
Billy Chan
cd98137ad0
Update examples sea-orm version
...
Update example sea-schema version
Update [cli] sea-schema version
2022-02-07 20:55:15 +08:00
Billy Chan
d541f9e6ec
Optimize GitHub actions
2022-02-07 10:39:14 +08:00
Chris Tsang
c2ee25a809
0.6.0
2022-02-07 00:22:43 +08:00
Chris Tsang
0c06831e1a
sea-orm-macros 0.6.0
2022-02-07 00:11:22 +08:00
Chris Tsang
0e2ea839c2
sea-orm-cli 0.6.0
2022-02-07 00:10:52 +08:00
Chris Tsang
377205d6a5
sea-orm-codegen 0.6.0
2022-02-07 00:10:07 +08:00
Chris Tsang
89f1b7faed
Prepare release
2022-02-07 00:09:56 +08:00
Chris Tsang
b8a7ae7351
Revert "Insert Default - Inserting ActiveModel
with all attributes NotSet
( #432 )"
...
This reverts commit 33a87d79b1a789e8b47ed21bf22384289af7a487.
2022-02-06 21:52:08 +08:00
Chris Tsang
645a420eb1
cargo fmt
2022-02-06 14:47:45 +08:00
Chris Tsang
8b928a9c9f
Merge pull request #505 from SeaQL/pull/455
...
Easy joins with MockDatabase #447 (#455 )
2022-02-06 14:46:43 +08:00
Bastian
47f2f4cec8
Easy joins with MockDatabase #447 ( #455 )
...
* Easy joins with MockDatabase #447
* fix MR
* add unit test
* Add test cases
* Cargo fmt
Co-authored-by: Bastian Schubert <bastian.schubert@crosscard.com>
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2022-02-06 14:45:51 +08:00
Chris Tsang
33a87d79b1
Insert Default - Inserting ActiveModel
with all attributes NotSet
( #432 )
...
* feat: apply alias on `ColumnRef::SchemaTableColumn`
* build: update sea-query dependency
* feat: insert default
* Use sea-query 0.21
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-02-06 14:39:46 +08:00
Chris Tsang
09e2ac841a
Fix sea-orm dependency
2022-02-06 00:07:18 +08:00
Chris Tsang
d7cdc4ff7d
Temporary fix
2022-02-06 00:03:32 +08:00
Chris Tsang
cf793aaf38
Merge pull request #494 from smrtrfszm/master
...
Remove `r#` prefix when deriving `FromQueryResult`
2022-02-05 23:38:53 +08:00
Billy Chan
21216f3a97
Codegen column_name
proc_macro attribute ( #433 )
...
* feat: codegen `column_name` proc_macro attribute
* test: codegen `column_name`
2022-02-05 21:14:10 +08:00
Chris Tsang
3cde517d2a
Fix sea-schema dependency
2022-02-05 20:58:22 +08:00
Chris Tsang
e305c6669c
Merge pull request #493 from SeaQL/max-lifetime-connection-opt
...
Add `max_lifetime` connection option
2022-02-05 20:50:39 +08:00
Chris Tsang
646990ed6d
Merge pull request #495 from tasn/patch-1
...
Fix FromQueryResult when Result is redefined
2022-02-05 20:49:27 +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
5a2ccf5a29
Fully quantity std::result::Result
in proc_maros
2022-02-01 15:04:58 +02:00
Chris Tsang
e63d463155
Merge pull request #489 from SeaQL/date-time-utc-local
...
Support `DateTime<Utc>` & `DateTime<Local>`
2022-02-01 15:25:39 +08:00
Chris Tsang
7f3ad2e582
Update sea-query dependency
2022-02-01 14:29:16 +08:00
Billy Chan
8145088814
Refactoring
...
`ColumnDef` with default value
Cargo fmt
Update docs
Fixup
Support `DateTimeLocal`
Update docs
Codegen write db timestamp column as `DateTimeUtc` type
Update dependency
Merge branch 'sea-query/add-new-column-ref' into pr/429
feat: apply alias on `ColumnRef::SchemaTableColumn`
2022-02-01 14:29:03 +08:00
Charles Chege
52f38a10ea
Support the use of chrono::DateTime<Utc> in sea-orm
...
Add documentation for this
Temporarily use a fork to include new Sea-query code
Add tests for DateTimeUtc
Solve Github actions error by add the code to create a table
Assertion accuracy tests
Rectify incorrect format
2022-02-01 14:27:33 +08:00
Tom Hacohen
30e7625300
Fix FromQueryResult when Result is redefined
...
Macros should only ever use absolute import paths.
Shorthands can clash (as they have in my case).
2022-01-30 13:00:02 +02:00
Szepesi Tibor
660f23313e
Remove r#
prefix from column name when field has a raw identifier
2022-01-29 18:14:23 +01:00
Billy Chan
15dc9576ea
Add max_lifetime
connection option
2022-01-28 11:51:44 +08:00
Billy Chan
76c0d7fff5
Name conflict of foreign key constraints when two entities have more than one foreign keys ( #417 )
...
* fix: name conflict of foreign key constraints when two entities have more than one fk
* test: update test case's foreign keys
* feat: override default name of foreign key constraint
2022-01-28 01:03:24 +08:00
Chris Tsang
946a03b426
Merge pull request #446 from sunli829/master
...
Add Poem example
2022-01-23 17:31:39 +08:00
Sebastian Pütz
949e3115f5
Make TransactionStream::build sync
2022-01-19 23:55:26 +01:00
Sebastian Pütz
f012ccaec3
Add Send bound to streams.
2022-01-19 20:46:10 +01:00