Revert "Autogen calendars"

This reverts commit e911217a83.
This commit is contained in:
2023-06-08 19:18:14 +03:00
parent e911217a83
commit d0f7c8e3bd
13 changed files with 0 additions and 550 deletions

View File

@@ -1,15 +0,0 @@
defmodule Osuuspuutarha.Repo.Migrations.CreateCalendars do
use Ecto.Migration
def change do
create table(:calendars) do
add :pickup_date, :date
add :is_picked_up, :boolean, default: false, null: false
add :order_id, references(:orders, on_delete: :nothing)
timestamps()
end
create index(:calendars, [:order_id])
end
end