summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20220302013920_add_language_to_users.exs
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2022-12-23 17:43:21 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2022-12-23 17:43:21 +0000
commitf76c1d4f70fdda6da621a46fb75891e68e266946 (patch)
tree328aec763c24b6426decd30fe3b6a4674510bbee /priv/repo/migrations/20220302013920_add_language_to_users.exs
parentd8e326467c30b95c5164f6e29512057dce3c2077 (diff)
parent91c22637de5f1683a32207a606c33e7ef3b84676 (diff)
downloadpleroma-f76c1d4f70fdda6da621a46fb75891e68e266946.tar.gz
pleroma-f76c1d4f70fdda6da621a46fb75891e68e266946.zip
Merge branch 'release/2.5.0' into 'stable'
Release 2.5.0 See merge request pleroma/pleroma!3816
Diffstat (limited to 'priv/repo/migrations/20220302013920_add_language_to_users.exs')
-rw-r--r--priv/repo/migrations/20220302013920_add_language_to_users.exs9
1 files changed, 9 insertions, 0 deletions
diff --git a/priv/repo/migrations/20220302013920_add_language_to_users.exs b/priv/repo/migrations/20220302013920_add_language_to_users.exs
new file mode 100644
index 000000000..7a63c36aa
--- /dev/null
+++ b/priv/repo/migrations/20220302013920_add_language_to_users.exs
@@ -0,0 +1,9 @@
+defmodule Pleroma.Repo.Migrations.AddLanguageToUsers do
+ use Ecto.Migration
+
+ def change do
+ alter table(:users) do
+ add_if_not_exists(:language, :string)
+ end
+ end
+end