Billy Chan
b2185af559
Cleaning up dependency ( #1300 )
...
* Dependency version cleanup
* Update build tool
* Disable default features
* [cli] disable default features
2022-12-16 15:52:00 +08:00
Chris Tsang
97d961f123
sea-orm-migration 0.10.3
2022-11-14 15:08:25 +08:00
Chris Tsang
c76f847669
sea-orm-migration 0.10.2
2022-11-06 21:03:37 +08:00
Chris Tsang
40e44b31dd
Update MSRV to 1.65
2022-11-06 21:03:35 +08:00
Billy Chan
61a390f049
sea-orm-migration 0.10.1
2022-10-27 16:03:40 +08:00
Billy Chan
c91aa354b4
Bump sea-schema to 0.10.2
2022-10-27 15:41:10 +08:00
Rheydskey
9f2eb3d46c
Add cli feature on sea-orm-migration ( #978 )
...
* Add cli feature on sea-orm-migration
* Add cli feature on sea-orm-cli
* Remove async-std feature and add async-std in the default feature
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-10-26 17:48:06 +08:00
Billy Chan
cb76b8f443
[cli] migrate up should apply all pending migrations ( #1010 )
2022-10-26 17:21:24 +08:00
Billy Chan
f65340680a
[cli] FIXUP - correctly generate entity with Postgres Enum field ( #1153 )
2022-10-26 17:01:58 +08:00
Chris Tsang
8d7230d6ec
Dependency
2022-10-19 00:21:47 +08:00
Billy Chan
4df9a2672a
Fixup
2022-10-18 19:06:38 +08:00
Billy Chan
468cbb9baf
Fixup
2022-10-17 22:00:42 +08:00
Billy Chan
b22db842e4
Run migrations on PostgreSQL schema ( #1056 )
...
* Run migrations on PostgreSQL schema
* fmt
* fmt & clippy
* clippy
* [cli] update helper text
2022-10-17 17:16:00 +08:00
Horu
d9ac2f1509
fix(deps): dotenv -> dotenvy ( #1085 )
2022-10-05 23:19:48 +08:00
Animesh Sahu
ad5e8c1264
[cli] Add -u, --universal-time option in generate
to use Utc instead of Local ( #947 )
2022-09-25 10:33:50 +08:00
Billy Chan
4acdaacebc
Cont. "Delete all PostgreSQL types when calling fresh" ( #991 )
...
* Delete all PostgreSQL types when calling fresh (#765 ) (#864 )
* Delete all PostgreSQL types when calling fresh (#765 )
* Test create db enum migration
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
* Refactoring
Co-authored-by: Denis Gavrilyuk <karpa4o4@gmail.com>
2022-09-25 10:24:27 +08:00
Billy Chan
9e57574de2
Run migration script defined in SeaQuery ( #1063 )
2022-09-23 15:32:18 +08:00
Billy Chan
d016f66a5f
Cargo.toml specify SeaORM homepage
2022-09-02 15:12:16 +08:00
Billy Chan
9b6b879122
Migrator test cases with tracing_subscriber
2022-08-25 13:56:41 +08:00
Chris Tsang
13b53369e2
Prepare for 0.10.0
2022-08-20 22:47:31 +08:00
Chris Tsang
e617599d92
sea-orm-migration 0.9.2
2022-08-20 14:06:55 +08:00
Billy Chan
43495de0aa
Fix clippy warnings - 1 ( #967 )
...
* Fix clippy warnings
* cargo fmt
* Fix clippy warnings
* cargo fmt
2022-08-12 20:02:53 +08:00
Ivan Krivosheev
2731878d0e
Set minimal rustc version
2022-08-07 02:34:43 +03:00
Billy Chan
c4fa40ab3e
[cli] migrator CLI handles init and generate commands
2022-08-02 16:30:49 +08:00
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