about summary refs log tree commit diff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20190505072439_add_private_to_tags.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20190505072439_add_private_to_tags.rb b/db/migrate/20190505072439_add_private_to_tags.rb
new file mode 100644
index 000000000..b9a29fe9e
--- /dev/null
+++ b/db/migrate/20190505072439_add_private_to_tags.rb
@@ -0,0 +1,8 @@
+class AddPrivateToTags < ActiveRecord::Migration[5.2]
+  def change
+    safety_assured {
+      add_column :tags, :local, :boolean, default: false, null: false
+      add_column :tags, :private, :boolean, default: false, null: false
+    }
+  end
+end