Fix 20250530110822_create_users.exs

This commit is contained in:
Mirai Kumiko 2025-06-02 17:31:19 +02:00
parent c7c7606e4b
commit 40a9e0e961
Signed by: miraikumiko
GPG key ID: 3F178B1B5E0CB278

View file

@ -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)