summaryrefslogtreecommitdiff
path: root/db/migrate/20210414045322_add_pause_seconds_to_batched_background_migration_jobs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20210414045322_add_pause_seconds_to_batched_background_migration_jobs.rb')
-rw-r--r--db/migrate/20210414045322_add_pause_seconds_to_batched_background_migration_jobs.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20210414045322_add_pause_seconds_to_batched_background_migration_jobs.rb b/db/migrate/20210414045322_add_pause_seconds_to_batched_background_migration_jobs.rb
new file mode 100644
index 00000000000..d232f9c0305
--- /dev/null
+++ b/db/migrate/20210414045322_add_pause_seconds_to_batched_background_migration_jobs.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class AddPauseSecondsToBatchedBackgroundMigrationJobs < ActiveRecord::Migration[6.0]
+ def change
+ add_column :batched_background_migration_jobs, :pause_ms, :integer, null: false, default: 100
+ end
+end