Fix prev events not being hashed and signed during room creation.
This commit is contained in:
parent
1781575e75
commit
7b011123f8
3 changed files with 102 additions and 108 deletions
11
priv/repo/migrations/20210818133912_add_fields_to_events.exs
Normal file
11
priv/repo/migrations/20210818133912_add_fields_to_events.exs
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue