debianize-mobilizon/priv/repo/migrations/20210819161507_add_language_to_entities.exs

18 lines
366 B
Elixir
Raw Normal View History

defmodule Mobilizon.Storage.Repo.Migrations.AddLanguageToEntities do
use Ecto.Migration
def change do
alter table(:events) do
add(:language, :string, default: "und")
end
alter table(:comments) do
add(:language, :string, default: "und")
end
alter table(:posts) do
add(:language, :string, default: "und")
end
end
end