Verified Commit 544891fd authored by Nicolas's avatar Nicolas

Delete useless migrations

parent 252fac2f
Pipeline #107102832 passed with stages
in 3 minutes and 34 seconds
defmodule Plasma.Repo.Migrations.CreateChannelTable do
use Ecto.Migration
def change do
create table(:channels) do
add :channel_id, :string, null: false
end
create unique_index(:channels, [:channel_id])
end
end
defmodule Plasma.Repo.Migrations.CreateSnapshotTable do
use Ecto.Migration
def change do
create table(:snapshots) do
add :snapshot_state, :map
add :channel_fk, references(:channels)
end
end
end
defmodule Plasma.Repo.Migrations.ChannelAddLastEventId do
use Ecto.Migration
def change do
alter table(:channels) do
add :last_event_id, :string
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment