11 Commits

Author SHA1 Message Date
Billy Chan
a806898f74
feat(migration): configurable migration table name (#1511) 2023-04-13 11:12:01 +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
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
71dbffc725
Fix clippy (#1426)
* Fix clippy

* Fix clippy
2023-01-27 18:50:20 +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
Billy Chan
9b6b879122
Migrator test cases with tracing_subscriber 2022-08-25 13:56:41 +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
e0d7d2bc78 Fix tests 2022-05-09 13:51:21 +08:00
Chris Tsang
75d5c0f5ea Restructure sea-orm-cli & sea-orm-migration 2022-05-09 12:30:58 +08:00