Skip to content

Commit 2c389c3

Browse files
committed
wrong number of arguments
1 parent e23d4aa commit 2c389c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby_event_store-active_record/lib/ruby_event_store/active_record/tasks/migration_tasks.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ task "db:migrations:add_foreign_key_on_event_id" do
2727
task.establish_connection
2828

2929
path =
30-
RubyEventStore::ActiveRecord::ForeignKeyOnEventIdMigrationGenerator.new.call(task.migration_path)
30+
RubyEventStore::ActiveRecord::ForeignKeyOnEventIdMigrationGenerator.new.call(task.adapter, task.migration_path)
3131

3232
puts "Migration file created #{path}"
3333
end

0 commit comments

Comments
 (0)