Friedrich Horschig
Results
2
issues of
Friedrich Horschig
If you use a schema besides SYSTEM (which is the normal use case), the reconnect will reset your schema to SYSTEM. The fix is simply to add 'setup_schema' in ActiveRecord::ConnectionAdapters::NewDBAdapter#reconnect...
When migrating via `rake db:migrate` or dumping the schema into schema.rb with `rake db:schema:dump`, the schema.rb is filled with error comments: `ActiveRecord::Schema.define(:version => 20160503131148) do` `# Could not dump table...