about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-19 12:10:14 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:43:08 -0500
commita34ccaef8d22110fc9926702ee9c5b06388c13fb (patch)
treed0ad77949883243d53c19d173a1de51467ac9336 /db/migrate
parent86733d97efac4886b0bf8c0a4ee8c645076eb1e7 (diff)
[Feature] Add timeline-only mutes
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20200719114344_add_timelines_only_to_mute.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20200719114344_add_timelines_only_to_mute.rb b/db/migrate/20200719114344_add_timelines_only_to_mute.rb
new file mode 100644
index 000000000..20bbfcd59
--- /dev/null
+++ b/db/migrate/20200719114344_add_timelines_only_to_mute.rb
@@ -0,0 +1,7 @@
+class AddTimelinesOnlyToMute < ActiveRecord::Migration[5.2]
+  def change
+    safety_assured do
+      add_column :mutes, :timelines_only, :boolean, default: false, null: false
+    end
+  end
+end