feat(db): user
This commit is contained in:
parent
2142d7eddf
commit
3fd0565227
2 changed files with 44 additions and 0 deletions
13
priv/repo/migrations/20250812135200_create_users.exs
Normal file
13
priv/repo/migrations/20250812135200_create_users.exs
Normal file
|
@ -0,0 +1,13 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue