You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok, I can see why.
when we enhance the rollback task, we have already ran it for the default schema. but your default schema is also on the list of tenant names, so it rollsback the n-1 for dev.
it should be an easy fix.
Steps to reproduce
rails db:rollback
Expected behavior
Rolling back latest migration
Actual behavior
Tenants try to roll back with n - 1.
System configuration
Database: (Tell us what database and its version you use.) PostgreSQL 10.0
Apartment version: 2.6.0
Apartment config (in
config/initializers/apartment.rb
or so):tenant_names
:-> { 'a', 'b', 'dev' }
use_schemas
:true
default_schema
:dev
persistent_schemas
:%w[shared_extensions]
Rails (or ActiveRecord) version: 6.0.3
Ruby version: 2.7.0
The text was updated successfully, but these errors were encountered: