about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-23 21:36:08 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-23 21:36:08 +0100
commit434cf8237e7960305b95199b2f0fab75d4da2e60 (patch)
treeee238be51edf0965d87c04393c52a5eb4abbf7f7 /db/migrate
parentcca82bf0a2f0ccbf0feda00763fd7df0877845b6 (diff)
Optional domain block attribute that prevents media attachments from being downloaded
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20170123203248_add_reject_media_to_domain_blocks.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20170123203248_add_reject_media_to_domain_blocks.rb b/db/migrate/20170123203248_add_reject_media_to_domain_blocks.rb
new file mode 100644
index 000000000..999fccda0
--- /dev/null
+++ b/db/migrate/20170123203248_add_reject_media_to_domain_blocks.rb
@@ -0,0 +1,5 @@
+class AddRejectMediaToDomainBlocks < ActiveRecord::Migration[5.0]
+  def change
+    add_column :domain_blocks, :reject_media, :boolean
+  end
+end