summaryrefslogtreecommitdiff
path: root/db/migrate/20221229064959_add_links_to_spam_to_abuse_reports.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20221229064959_add_links_to_spam_to_abuse_reports.rb')
-rw-r--r--db/migrate/20221229064959_add_links_to_spam_to_abuse_reports.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20221229064959_add_links_to_spam_to_abuse_reports.rb b/db/migrate/20221229064959_add_links_to_spam_to_abuse_reports.rb
new file mode 100644
index 00000000000..af4761644c4
--- /dev/null
+++ b/db/migrate/20221229064959_add_links_to_spam_to_abuse_reports.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class AddLinksToSpamToAbuseReports < Gitlab::Database::Migration[2.1]
+ def change
+ add_column :abuse_reports, :links_to_spam, :text, array: true, null: false, default: []
+ end
+end