From 434cf8237e7960305b95199b2f0fab75d4da2e60 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 23 Jan 2017 21:36:08 +0100 Subject: Optional domain block attribute that prevents media attachments from being downloaded --- db/migrate/20170123203248_add_reject_media_to_domain_blocks.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20170123203248_add_reject_media_to_domain_blocks.rb (limited to 'db/migrate') 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 -- cgit