10 lines
190 B
Elixir
10 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
|