about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-10-03 09:03:11 +0200
committerGitHub <noreply@github.com>2022-10-03 09:03:11 +0200
commit2aafdd0efb3fa0bf067e0b08a627a462793f296b (patch)
treed559e2dec7ceb4c446db973b5c040a708d1c5756 /db/migrate
parent9d7c323abdda66423751f3a25faf960674af8a49 (diff)
parent6ee768b7b285382fce3270ad4cf06c71838182d8 (diff)
Merge pull request #1848 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20220829192633_add_languages_to_follows.rb5
-rw-r--r--db/migrate/20220829192658_add_languages_to_follow_requests.rb5
2 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20220829192633_add_languages_to_follows.rb b/db/migrate/20220829192633_add_languages_to_follows.rb
new file mode 100644
index 000000000..f6cf48880
--- /dev/null
+++ b/db/migrate/20220829192633_add_languages_to_follows.rb
@@ -0,0 +1,5 @@
+class AddLanguagesToFollows < ActiveRecord::Migration[6.1]
+  def change
+    add_column :follows, :languages, :string, array: true
+  end
+end
diff --git a/db/migrate/20220829192658_add_languages_to_follow_requests.rb b/db/migrate/20220829192658_add_languages_to_follow_requests.rb
new file mode 100644
index 000000000..f98fabb22
--- /dev/null
+++ b/db/migrate/20220829192658_add_languages_to_follow_requests.rb
@@ -0,0 +1,5 @@
+class AddLanguagesToFollowRequests < ActiveRecord::Migration[6.1]
+  def change
+    add_column :follow_requests, :languages, :string, array: true
+  end
+end