architex/priv/repo/migrations/20210716212330_change_event_id_name.exs

8 lines
154 B
Elixir
Raw Normal View History

2021-07-17 15:38:20 +00:00
defmodule MatrixServer.Repo.Migrations.ChangeEventIdName do
use Ecto.Migration
def change do
rename table(:events), :id, to: :event_id
end
end