14 lines
299 B
Elixir
14 lines
299 B
Elixir
|
defmodule Bright.Repo.Migrations.CreatePatrons do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
create table(:patrons) do
|
||
|
add :name, :text
|
||
|
add :lifetime_support_cents, :integer
|
||
|
add :public, :boolean, default: false, null: false
|
||
|
|
||
|
timestamps(type: :utc_datetime)
|
||
|
end
|
||
|
end
|
||
|
end
|