mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2025-03-13 01:52:54 +00:00
17 lines
366 B
Elixir
17 lines
366 B
Elixir
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
|