17 lines
299 B
Elixir
17 lines
299 B
Elixir
|
defmodule Charbase.Repo.Migrations.CreateUsers do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
create table(:users) do
|
||
|
add :name, :string
|
||
|
add :email, :string
|
||
|
add :password, :string
|
||
|
add :salt, :string
|
||
|
add :registered, :naive_datetime
|
||
|
|
||
|
timestamps()
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|