Fix prev events not being hashed and signed during room creation.

This commit is contained in:
Pim Kunis 2021-08-18 19:04:09 +02:00
parent 1781575e75
commit 7b011123f8
3 changed files with 102 additions and 108 deletions

View file

@ -0,0 +1,11 @@
defmodule MatrixServer.Repo.Migrations.AddFieldsToEvents do
use Ecto.Migration
def change do
alter table(:events) do
add :unsigned, :map, default: %{}, null: true
add :hashes, :map, null: false
add :signatures, :map, null: false
end
end
end