Chris Tsang
4a59ca681b
0.12.10
2023-12-14 19:42:32 +00:00
Chris Tsang
1ce3778c61
0.12.6
2023-11-13 09:03:26 +00:00
Chris Tsang
070a30aab1
0.12.5
2023-11-12 20:14:29 +00:00
Chris Tsang
240620176c
0.12.4
2023-10-19 19:28:46 +01:00
Chris Tsang
f9db14c686
0.12.3
2023-09-22 18:13:25 +01:00
Diptesh Choudhuri
b029e87fd9
Check if an index exists ( #1828 )
...
* feat: add method to check for index
* tests(sea-orm-migrations): add index to cake name
* tests(sea-orm-migrations): check if `has_index` works
* Update sea-orm-migration/tests/common/migration/m20220118_000001_create_cake_table.rs
* Update Cargo.toml
---------
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2023-09-14 16:07:33 +08:00
Chris Tsang
242237aa51
0.12.2
2023-08-04 20:44:05 +01:00
Chris Tsang
1e6b10b532
0.12.1
2023-07-27 15:01:42 +01:00
Chris Tsang
96087291c2
0.12.0-rc.5
2023-07-25 16:28:35 +08:00
Aidan Gauland
b14a88f7ae
Expose sea-orm feature flags in sea-orm-migration ( #1775 )
...
Some features of the sea-query language are unavailable in migrations with the default feature flags, so we need to be able to enable them in sea-orm-migration
2023-07-24 04:53:04 +08:00
Billy Chan
9b54797dd7
Upgrade SQLx to v0.7 ( #1742 )
...
* Upgrade SQLx to v0.7
* Refactoring
* Fixup
* Bump SeaSchema version
* Fixup
* Refactoring
* Refactoring
* dep
* Bump
* Update sea-schema
* Update sea-schema
---------
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2023-07-22 01:56:48 +08:00
Chris Tsang
ae899d6744
Remove sea-query's Iden macro
2023-07-13 10:36:56 +01:00
Chris Tsang
4e8d0b0c0c
0.12.0-rc.4
2023-07-08 00:14:02 +08:00
Chris Tsang
b45534c8c2
0.12.0-rc.3
2023-06-22 07:00:42 +08:00
Aditya Yadav
f6c9d81918
Moving clap to version 4 ( #1468 )
...
* Moving clap to vesion 4
* Moving the sea-orm-migration cli to clap v4
* Removing the deprecated flag from clapv4
* Upgrade clap to 4.3
* Fixup
* .
* Try compile [CLI]
---------
Co-authored-by: aadi58002 <aadi58002gmail.com>
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2023-06-03 11:41:59 +08:00
Billy Chan
44a94d65d2
Bump SeaQuery and SeaSchema to new latest RC version ( #1661 )
2023-05-18 16:51:13 +08:00
Billy Chan
9ca01b3e7c
Upgrade tracing-subscriber
dependency to 0.3.17 ( #1609 )
...
* Upgrade `tracing-subscriber` dependency to 0.3.17
* Revert "fix: `regex` dep should enable `unicode` feature (#1605 )"
This reverts commit 41d9a853342155e0b7df4afb15990225b1c8a981.
2023-04-24 14:21:15 +08:00
Billy Chan
cf85d96e44
clippy
2023-04-22 01:02:15 +08:00
Billy Chan
a806898f74
feat(migration): configurable migration table name ( #1511 )
2023-04-13 11:12:01 +08:00
Billy Chan
08659d4f8f
feat: export ConnectionTrait
in sea_orm_migration::prelude
( #1577 )
2023-04-08 21:58:13 +08:00
Billy Chan
737a894e27
Upgrade sea-query
to 0.29 ( #1562 )
...
* Upgrade `sea-query` to 0.29
* clippy
* More upgrades
* fixup
2023-03-22 17:24:42 +08:00
Sergei Ivankov
5737e023a2
Migration information methods ( #1519 )
...
Co-authored-by: Sergei Ivankov <sergeiivankov@pm.me>
2023-03-16 20:28:40 +08:00
Billy Chan
8afc3eb2a3
Prepare 0.12.0
2023-03-16 18:28:03 +08:00
Billy Chan
fe38d5ed25
0.11.1
2023-03-10 22:13:02 +08:00
Chris Tsang
2a4e5e00fd
0.11.0
2023-02-07 02:51:00 +08:00
Chris Tsang
9e36c1103e
0.11.0-rc.2
2023-02-04 16:10:21 +08:00
Chris Tsang
2a15249179
sea-orm-migration 0.11.0-rc.1
2023-02-01 23:46:42 +08:00
Chris Tsang
cd43222280
Tweaks
2023-01-28 01:49:46 +08:00
Billy Chan
6d7bcb35e5
Atomic migration ( #1379 )
...
* Running atomic migration
* refactor
* clippy
* visibility
* Execute migration in transaction when it's a Postgres connection
* Testing rolling back on migrate up and down
* lifetimes elision
* typo
* abort migration before committing nested transaction
2023-01-30 22:55:46 +08:00
Billy Chan
bf67d827a5
Fix clippy
2023-01-30 11:34:40 +08:00
Chris Tsang
a9aa139af2
Enable --universal-time by default ( #1420 )
...
* Enable --universal-time by default
* Add `--local-time` flag
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2023-01-29 10:56:46 +08:00
Billy Chan
71dbffc725
Fix clippy ( #1426 )
...
* Fix clippy
* Fix clippy
2023-01-27 18:50:20 +08:00
Billy Chan
e246d3faaf
Cont. Upgrade to SeaQuery 0.28.0 ( #1366 )
...
* Upgrade to SeaQuery 0.28.0
* Remove unnecessary heap allocation
* Upgrade sea-query-binder
* Upgrade sea-schema
* Fix
* Upgrade sea-schema
* refactoring
Co-authored-by: Ivan Krivosheev <py.krivosheev@gmail.com>
2023-01-05 20:41:28 +08:00
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