I run rake db:migrate and I get the following error:
PG::InvalidSchemaName: ERROR: no schema has been selected to create in
LINE 1: CREATE TABLE "schema_migrations" ("version" character varyin..
This is on Rails 6, with gem 'ros-apartment'.
Application is running smoothly if tenant is accesing public schema. Iḿ forcing apartment to create SQL dumps as I need some specific postgre stuff
config.use_sql = true
What should I check? I'm not getting any results changing "schema_search_path" or "config.default_schema"
Thanks!