architex/priv/repo/migrations/20210715093944_change_event_timestamp_to_integer.exs

10 lines
253 B
Elixir

defmodule MatrixServer.Repo.Migrations.ChangeEventTimestampToInteger do
use Ecto.Migration
def change do
alter table(:events) do
remove :timestamp, :string, null: false
add :origin_server_ts, :integer, null: false
end
end
end