Save state set in database
This commit is contained in:
parent
8a5bba72fb
commit
d3c16dd7aa
3 changed files with 48 additions and 15 deletions
|
@ -0,0 +1,9 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue