Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@billy1624
Copy link
Member

@billy1624 billy1624 commented Sep 22, 2022

PR Info

Adds

  • ConnectOptions::set_schema_search_path(): execute SET search_path = '{}' on PostgreSQL connection when initializing

Changes

  • Running migration on specific database schema:
    • via sea-orm-cli: sea-orm-cli migrate -d ../examples/rocket_example/migration -u postgres://root:root@localhost/rocket_example -s my_schema
    • via SeaORM migrator: cargo run -- -u postgres://root:root@localhost/rocket_example -s my_schema

@billy1624 billy1624 self-assigned this Sep 22, 2022
@billy1624 billy1624 merged commit b22db84 into master Oct 17, 2022
@billy1624 billy1624 deleted the migrate-schema branch October 17, 2022 09:16
billy1624 added a commit to SeaQL/seaql.github.io that referenced this pull request Oct 31, 2022
billy1624 added a commit to SeaQL/seaql.github.io that referenced this pull request Oct 31, 2022
tyt2y3 added a commit to SeaQL/seaql.github.io that referenced this pull request Nov 1, 2022
* What's new in SeaORM 0.10.1

* Edit

* Error handling (SeaQL/sea-orm#1002)

* Support array datatype for Postgres (SeaQL/sea-orm#1132)

* generate index file as `lib.rs` instead of `mod.rs` (SeaQL/sea-orm#953)

* Running migration on any Postgres schema (SeaQL/sea-orm#1056)

* More connection options (SeaQL/sea-orm#897, SeaQL/sea-orm#1056)

* Implements `TryFrom<ActiveModel>` for `Model` (SeaQL/sea-orm#990)

* Delete 2022-10-28-whats-new-in-0.10.1.md

Co-authored-by: Chris Tsang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

sea-orm-cli migrate doesn't respect DATABASE_SCHEMA in .env file

1 participant