debianize-mobilizon/priv/repo/migrations/20191001074442_add_locale_to_users.exs

10 lines
190 B
Elixir
Raw Normal View History

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