summaryrefslogtreecommitdiff
path: root/db/migrate/20200720154123_add_external_to_custom_emoji.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20200720154123_add_external_to_custom_emoji.rb')
-rw-r--r--db/migrate/20200720154123_add_external_to_custom_emoji.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20200720154123_add_external_to_custom_emoji.rb b/db/migrate/20200720154123_add_external_to_custom_emoji.rb
new file mode 100644
index 00000000000..2a97235eec4
--- /dev/null
+++ b/db/migrate/20200720154123_add_external_to_custom_emoji.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+class AddExternalToCustomEmoji < ActiveRecord::Migration[6.0]
+ DOWNTIME = false
+
+ def change
+ add_column :custom_emoji, :external, :boolean, default: true, null: false
+ end
+end