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

10 lines
190 B
Elixir
Raw Normal View History

2021-07-25 15:39:22 +00:00
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