Files
pack/examples/elixir-ecto/priv/repo/migrations/20220831094119_create_people.exs

12 lines
221 B
Elixir

defmodule Friends.Repo.Migrations.CreatePeople do
use Ecto.Migration
def change do
create table(:people) do
add :first_name, :string
add :last_name, :string
add :age, :integer
end
end
end