We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20036db commit 8cfc3edCopy full SHA for 8cfc3ed
lib/annotate_rb/tasks/annotate_models_migrate.rake
@@ -6,6 +6,11 @@
6
7
# Migration tasks are tasks that we'll "hook" into
8
migration_tasks = %w[db:migrate db:migrate:up db:migrate:down db:migrate:reset db:migrate:redo db:rollback]
9
+
10
+# Support for data_migrate gem (https://github.com/ilyakatz/data-migrate)
11
+migration_tasks_with_data = migration_tasks.map { |task| "#{task}:with_data" }
12
+migration_tasks += migration_tasks_with_data
13
14
if defined?(Rails::Application) && Rails.version.split(".").first.to_i >= 6
15
require "active_record"
16
0 commit comments