* Enable sqlite returning with feature flag
* Add runtime check for sqlite version
* Apply suggestions from code review
* Fix clippy
* Rename feature
* Fix tests when feature flag is not enabled
---------
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
* 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>
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
* Upgrade `tracing-subscriber` dependency to 0.3.17
* Revert "fix: `regex` dep should enable `unicode` feature (#1605)"
This reverts commit 41d9a853342155e0b7df4afb15990225b1c8a981.
* 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
* 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>
* 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
* 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>