13 lines
260 B
Elixir
13 lines
260 B
Elixir
defmodule LearningPhoenix.Repo.Migrations.CreateUsers do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
create table(:users) do
|
|
add :name, :string
|
|
add :email, :string
|
|
add :password, :string
|
|
|
|
timestamps(type: :utc_datetime)
|
|
end
|
|
end
|
|
end
|