about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorscd31 <57571338+scd31@users.noreply.github.com>2019-12-17 12:30:58 +0000
committerEugen Rochko <eugen@zeonfederated.com>2019-12-17 13:30:58 +0100
commit3830c0b74168070cdd410d311ba85a3b323bca9f (patch)
tree8d8f757fb7f46a8db971b7b346be74258fab3e4d /db/migrate
parent0aaedcd66fa3786e106517f95e8ec3eff29ce689 (diff)
Increase max backup size (#12602)
* Increased max backup size

* partially reverted schema.rb
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20191212003415_increase_backup_size.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20191212003415_increase_backup_size.rb b/db/migrate/20191212003415_increase_backup_size.rb
new file mode 100644
index 000000000..782c67db1
--- /dev/null
+++ b/db/migrate/20191212003415_increase_backup_size.rb
@@ -0,0 +1,9 @@
+class IncreaseBackupSize < ActiveRecord::Migration[5.2]
+  def up
+    change_column :backups, :dump_file_size, :bigint
+  end
+
+  def down
+    change_column :backups, :dump_file_size, :integer
+  end
+end