Autogen registration UI.
This commit is contained in:
20
priv/repo/migrations/20210327142456_create_performers.exs
Normal file
20
priv/repo/migrations/20210327142456_create_performers.exs
Normal file
@@ -0,0 +1,20 @@
|
||||
defmodule Runosaari.Repo.Migrations.CreatePerformers do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
create table(:performers) do
|
||||
add :performerId, :integer
|
||||
add :fname, :string
|
||||
add :lname, :string
|
||||
add :email, :string
|
||||
add :tel, :string
|
||||
add :confirmed, :boolean, default: false, null: false
|
||||
add :notes, :string
|
||||
|
||||
timestamps()
|
||||
end
|
||||
|
||||
create unique_index(:performers, [:performerId])
|
||||
create unique_index(:performers, [:email])
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user