We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As with PostgreSQL DDL is transaction safe, the schema creation should be wrapped with a transaction.
Database: PostgreSQL 10
Apartment version: 2.6.1
Apartment config (in config/initializers/apartment.rb or so):
config/initializers/apartment.rb
use_schemas
persistent_schemas
Rails (or ActiveRecord) version: 6.0.2.1
Ruby version: 2.7.0
The text was updated successfully, but these errors were encountered:
Do you have an example of a broken scenario that i can use to draft my tests around?
Sorry, something went wrong.
Merge pull request #126 from rails-on-services/development
8964442
Prepare Release - 2.8.0 - Resolves #98 - Trying to generate an automatic changelog - #99 - Resolves #86 - Fixes seeding errors - #87 - Resolves #66 - Uses a transaction to create a tenant - #69 - Resolves #121 - Relaxes dependencies to allow rails 6.1 - #122 - Resolves #123 - When tests run in a transaction, new tenants in tests fail to create - #124 - Reverted unsafe initializer - #118
Successfully merging a pull request may close this issue.
Steps to reproduce
Expected behavior
Actual behavior
As with PostgreSQL DDL is transaction safe, the schema creation should be wrapped with a transaction.
System configuration
Database: PostgreSQL 10
Apartment version: 2.6.1
Apartment config (in
config/initializers/apartment.rb
or so):use_schemas
: truepersistent_schemas
: %w[shared_extensions]Rails (or ActiveRecord) version: 6.0.2.1
Ruby version: 2.7.0
The text was updated successfully, but these errors were encountered: