about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-23 10:46:48 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-23 10:46:48 +0100
commit0603971894a967f632020277c32a8e50ea165519 (patch)
tree7951334ed42713a8b318a50d92212a6f9a5e5fd6 /db/migrate
parent4bdb6a0eaffb39fb953689729c9fcf772c7128d6 (diff)
Adding sensitive marker to statuses in API
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20161123093447_add_sensitive_to_statuses.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20161123093447_add_sensitive_to_statuses.rb b/db/migrate/20161123093447_add_sensitive_to_statuses.rb
new file mode 100644
index 000000000..109f761ed
--- /dev/null
+++ b/db/migrate/20161123093447_add_sensitive_to_statuses.rb
@@ -0,0 +1,5 @@
+class AddSensitiveToStatuses < ActiveRecord::Migration[5.0]
+  def change
+    add_column :statuses, :sensitive, :boolean, default: false
+  end
+end