Migration: Removed useless tables.

This commit is contained in:
codevictory
2021-04-24 23:24:10 +03:00
parent 8f1de6fa84
commit 2f92add1af

View File

@@ -0,0 +1,12 @@
defmodule Runosaari.Repo.Migrations.RemoveUselessTables do
use Ecto.Migration
def change do
alter table("performances") do
remove :performer_id
remove :location_id
end
drop table("locations")
drop table("performer_performance")
end
end