Early bird field to db
This commit is contained in:
9
priv/repo/migrations/20240116170443_add_early_bird.exs
Normal file
9
priv/repo/migrations/20240116170443_add_early_bird.exs
Normal file
@@ -0,0 +1,9 @@
|
||||
defmodule Osuuspuutarha.Repo.Migrations.AddEarlyBird do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table(:orders) do
|
||||
add :early_bird, :boolean, default: false, null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user