Autogen registration UI.

This commit is contained in:
codevictory
2021-03-27 16:50:43 +02:00
parent 299b47ca56
commit da4ed0a6c1
13 changed files with 509 additions and 0 deletions

View 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