Content
View differences
Updated by Wieland Lindenthal about 7 years ago
On the current `dev` branch dropping and creating DBs does not work anymore as it does in `stable/8`.
So `bundle exec rake db:create` will not work anymore for new databases.
Instead you receive a `ActiveRecord::NoDatabaseError` exception.
For example `ActiveRecord::Base.connection.schema_cache.data_source_exists? "settings"` now returns an exception instead of `false`.
Workaround: As I currently need to drop and create DBs frequently I create the DB first manually with my DB admin tools and subsequent `bundle exec rake db:drop db:create` work.
So `bundle exec rake db:create` will not work anymore for new databases.
Instead you receive a `ActiveRecord::NoDatabaseError` exception.
For example `ActiveRecord::Base.connection.schema_cache.data_source_exists? "settings"` now returns an exception instead of `false`.
Workaround: As I currently need to drop and create DBs frequently I create the DB first manually with my DB admin tools and subsequent `bundle exec rake db:drop db:create` work.