about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-23 17:38:38 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-23 17:38:38 +0100
commit6d98a731803eb37ff36f60ff004acfc4c27ae37b (patch)
tree5ccc79cb65ccc6174aea1c5e0a8452b5076026d9 /db/migrate
parentef2b92467977758466f4f19acb3334bee1fde107 (diff)
Domain blocks now have varying severity - auto-suspend vs auto-silence
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20170123162658_add_severity_to_domain_blocks.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20170123162658_add_severity_to_domain_blocks.rb b/db/migrate/20170123162658_add_severity_to_domain_blocks.rb
new file mode 100644
index 000000000..dcbc32a1a
--- /dev/null
+++ b/db/migrate/20170123162658_add_severity_to_domain_blocks.rb
@@ -0,0 +1,5 @@
+class AddSeverityToDomainBlocks < ActiveRecord::Migration[5.0]
+  def change
+    add_column :domain_blocks, :severity, :integer, default: 0
+  end
+end