about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorErin <sylphofelectricity@gmail.com>2017-12-10 16:41:25 -0600
committerErin <sylphofelectricity@gmail.com>2017-12-10 16:41:25 -0600
commit434c70fd9855f55f6238cdd5a551f60c28572970 (patch)
tree3b0f3080a5f9f50676ecc84dcb4b7b5e0f0155e5 /db/migrate
parent282f48ddd1868fcd8fa2887bbaf13036c949c22d (diff)
add a local_only column to the statuses table
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20171210213213_add_local_only_flag_to_statuses.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20171210213213_add_local_only_flag_to_statuses.rb b/db/migrate/20171210213213_add_local_only_flag_to_statuses.rb
new file mode 100644
index 000000000..af1e29d6a
--- /dev/null
+++ b/db/migrate/20171210213213_add_local_only_flag_to_statuses.rb
@@ -0,0 +1,5 @@
+class AddLocalOnlyFlagToStatuses < ActiveRecord::Migration[5.1]
+  def change
+    add_column :statuses, :local_only, :boolean
+  end
+end