Skip to content

Commit

Permalink
Merge pull request #33 from sj26/fix-create-databases
Browse files Browse the repository at this point in the history
Fix rake create_databases
  • Loading branch information
ronen authored Dec 12, 2023
2 parents 8fcd930 + a63a23d commit e7da618
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/schema_dev/tasks/dbms.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
task :create_database do
require 'active_record'

config = SchemaDev::Rspec.db_configuration(dbm)
config = SchemaDev::Rspec.db_configuration(db: dbm)

ActiveRecord::Tasks::DatabaseTasks.create(config)
end
task :drop_databases do
require 'active_record'

config = SchemaDev::Rspec.db_configuration(dbm)
config = SchemaDev::Rspec.db_configuration(db: dbm)

ActiveRecord::Tasks::DatabaseTasks.drop(config)
end
Expand Down

0 comments on commit e7da618

Please sign in to comment.