Update note

This commit is contained in:
Mirai Kumiko 2025-06-29 23:39:05 +02:00
parent 4640e3a36b
commit 02bdaef80d
Signed by: miraikumiko
GPG key ID: 3F178B1B5E0CB278
3 changed files with 10 additions and 13 deletions

View file

@ -5,8 +5,10 @@ defmodule Nulla.Repo.Migrations.CreateNotes do
create table(:notes, primary_key: false) do
add :id, :bigint, primary_key: true
add :inReplyTo, :string
add :published, :utc_datetime
add :url, :string
add :visibility, :string, default: "public"
add :to, {:array, :string}
add :cc, {:array, :string}
add :sensitive, :boolean, default: false
add :content, :text
add :language, :string