architex/priv/repo/migrations/20210725151601_add_state_to_room.exs

9 lines
190 B
Elixir

defmodule MatrixServer.Repo.Migrations.AddStateToRoom do
use Ecto.Migration
def change do
alter table(:rooms) do
add :state, :map, default: %{}, null: false
end
end
end