1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-27 18:31:07 +00:00
mobilizon/priv/repo/migrations/20191001074442_add_locale_to_users.exs
Thomas Citharel a84cfb5910
Save user locale and use it to translate things
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-01 13:08:09 +02:00

9 lines
190 B
Elixir

defmodule Mobilizon.Storage.Repo.Migrations.AddLocaleToUsers do
use Ecto.Migration
def change do
alter table(:users) do
add(:locale, :string, default: "en")
end
end
end