Fix 20250530110822_create_users.exs
This commit is contained in:
parent
c7c7606e4b
commit
40a9e0e961
1 changed files with 2 additions and 1 deletions
|
@ -13,6 +13,7 @@ defmodule Nulla.Repo.Migrations.CreateUsers do
|
|||
add :location, :string
|
||||
add :birthday, :date
|
||||
add :fields, :map
|
||||
add :tags, {:array, :string}
|
||||
add :follow_approval, :boolean, default: false, null: false
|
||||
add :is_bot, :boolean, default: false, null: false
|
||||
add :is_discoverable, :boolean, default: true, null: false
|
||||
|
@ -20,7 +21,7 @@ defmodule Nulla.Repo.Migrations.CreateUsers do
|
|||
add :is_memorial, :boolean, default: false, null: false
|
||||
add :private_key, :string, null: false
|
||||
add :public_key, :string, null: false
|
||||
add :avater, :string
|
||||
add :avatar, :string
|
||||
add :banner, :string
|
||||
|
||||
timestamps(type: :utc_datetime)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue