Update user
This commit is contained in:
parent
9d72fb293b
commit
74514f02a1
3 changed files with 11 additions and 27 deletions
|
@ -9,12 +9,7 @@ defmodule Nulla.Repo.Migrations.CreateUsers do
|
|||
add :privateKeyPem, :string
|
||||
add :last_active_at, :utc_datetime
|
||||
|
||||
add :actor_id, references(:actors, column: :id, type: :bigint, on_delete: :delete_all),
|
||||
null: false
|
||||
|
||||
timestamps(type: :utc_datetime)
|
||||
end
|
||||
|
||||
create unique_index(:users, [:actor_id])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue