15 lines
282 B
Elixir
15 lines
282 B
Elixir
defmodule Bright.Repo.Migrations.CreateUsers do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
create table(:users) do
|
|
add :name, :string
|
|
add :email, :string
|
|
add :bio, :string
|
|
add :number_of_pets, :integer
|
|
|
|
timestamps(type: :utc_datetime)
|
|
end
|
|
end
|
|
end
|