Billy Chan
70f1b4cbe0
cargo fmt
2022-07-26 14:50:39 +08:00
Chris Tsang
127619f4f5
sea-orm-migration 0.9.1
2022-07-22 00:14:26 +08:00
Billy Chan
018dcdff92
[cli] bump sea-schema to 0.9.3 ( SeaQL/sea-orm#876 )
2022-07-20 16:42:59 +08:00
Chris Tsang
7e8c8fabe7
sea-orm-migration 0.9.0
2022-07-12 00:27:42 +08:00
Billy Chan
1a3e8c456a
[CI] run clippy checks & fix clippy warnings ( #840 )
...
* Run clippy checks
* Fix clippy warnings
* Clippy checks for `sea-orm-*` crates
* Fix clippy warnings
* Fixup
2022-07-10 15:38:38 +08:00
Chris Tsang
bfe6eb39d5
Cursor pagination ( #822 )
...
* Cursor pagination
* Apply filter / range filter on cursor; Allow non-primary key filter
* Fixup
* Update cursor API
* Cursor pagination with composite keys
* Docs
* Rename cursor() to cursor_by()
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-07-10 15:08:38 +08:00
Billy Chan
d6831e5295
Bump version of sqlx, sea-query, sea-schema, time and uuid ( #834 )
...
* Bump version of sqlx, sea-query, sea-schema, time and uuid
* PostgreSQL `u32` was wrapped in `Oid` (launchbadge/sqlx#1602 )
* Update test cases
* Fix clippy warnings
* cargo fmt
* Fix clippy warnings
* Bump sea-schema to ^0.9.2
* Update test cases
* Pin on sea-query minor version
2022-07-05 01:05:11 +08:00
Chris Tsang
50f9f5ad2f
Merge pull request #755 from SeaQL/apply-old-pending-migration
...
Allow old pending migration to be applied
2022-07-01 02:40:37 +08:00
Billy Chan
1054d6451c
Use file!()
macro to avoid manually defining the name of migration ( #736 )
...
* Add `DeriveMigrationName`
* CLI migrate generate without replacing migration name
* Update migrations
* Fixup
2022-06-29 00:42:59 +08:00
smonv
580fa90023
Bump clap version to 3.2 ( #706 )
...
* bump clap to 3.1.17
sea-orm-migration: bump clap version to 3.1.17
sea-orm-cli: use clap derive API instead of builder API
sea-orm-migration: use clap derive
* Fix clippy warnings
* Migration CLI verbose with default value
* bump clap to 3.2
Co-authored-by: Thanh Van <tvt@smonv.com>
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-06-26 20:52:33 +08:00
Chris Tsang
12ec00272c
Revert "Cursor Pagination ( #754 )"
...
This reverts commit 6f9dbd260e6e004c369abe0019b4374253db7d3b.
2022-06-26 18:23:47 +08:00
Billy Chan
6f9dbd260e
Cursor Pagination ( #754 )
...
* Cursor pagination
* Apply filter / range filter on cursor; Allow non-primary key filter
* Fixup
* Update cursor API
* Cursor pagination with composite keys
* Docs
2022-06-26 17:48:00 +08:00
Billy Chan
2eb02cfbe0
Fix SeaSchema's SQLx version to ^0.5 ( #798 )
2022-06-17 12:20:16 +08:00
Chris Tsang
4301383b40
Tweaks
2022-06-12 22:30:34 +08:00
Billy Chan
9b41f1c1b1
Migration shouldn't depends on symbol provided by entity crate ( #785 )
...
* Migration shouldn't depends on symbol provided by entity crate
* Add docs
2022-06-12 22:25:32 +08:00
Chris Tsang
8f0c01dbec
sea-orm-migration 0.8.3
2022-05-28 17:05:48 +08:00
Billy Chan
183639dc8c
Migration without depending on async-std ( #758 )
...
* Migration without depending on async-std runtime
* Update examples
* Fixup
2022-05-23 23:24:07 +08:00
Billy Chan
27cef3437c
Allow old pending migration to be applied
2022-05-20 18:04:50 +08:00
Chris Tsang
e00562695e
sea-orm-migration 0.8.2
2022-05-15 17:46:15 +08:00
Chris Tsang
1984a70cc4
Update tests
2022-05-15 14:02:26 +08:00
Chris Tsang
ec2f282dee
Update tests
2022-05-15 13:58:46 +08:00
Chris Tsang
28e53601c0
Edit
2022-05-15 10:35:06 +08:00
Chris Tsang
7d3258429b
Actually, should throw an error by default
2022-05-15 10:33:21 +08:00
Chris Tsang
5a19f2f3e0
Actually, down should be optional
2022-05-15 10:23:15 +08:00
Chris Tsang
e4b38a9898
sea-orm-migration 0.8.1
2022-05-10 23:33:44 +08:00
Billy Chan
9d2cae44b3
Migrator CLI Fixup ( #708 )
...
* CI compile migrator CLI
* sea-orm-migration's CLI with only migration subcommand
* Fix clippy warnings
* Fixup
* `sea-orm-cli migrate init`: write sea-orm-migration version based on CLI version
2022-05-10 23:24:23 +08:00
Chris Tsang
4b1ec79cd6
sea-orm-migration 0.8.0
2022-05-10 00:09:28 +08:00
Chris Tsang
fb69759be9
Build script
2022-05-09 23:47:04 +08:00
Chris Tsang
2794410a08
Update sea-schema
2022-05-09 21:02:53 +08:00
Chris Tsang
b622a6e1aa
Tweaks
2022-05-09 18:37:37 +08:00
Chris Tsang
31cdecf549
Use SchemaProbe fully
2022-05-09 18:17:44 +08:00
Chris Tsang
07c8af2b3a
Use sea-schema's SchemaProbe
2022-05-09 17:04:12 +08:00
Chris Tsang
e0d7d2bc78
Fix tests
2022-05-09 13:51:21 +08:00
Chris Tsang
730b52088f
Add tests
2022-05-09 12:31:12 +08:00
Chris Tsang
75d5c0f5ea
Restructure sea-orm-cli & sea-orm-migration
2022-05-09 12:30:58 +08:00
Billy Chan
498c0154ca
Restructure SeaORM migration
...
Bump codegen's sea-query version [cli]
Update CLI subcommand method
Move migration utility into sea-orm-migration
2022-05-09 12:30:55 +08:00