This commit is contained in:
Mirai Kumiko 2025-06-19 16:16:27 +02:00
parent 8f63a831c4
commit f963620cf0
Signed by: miraikumiko
GPG key ID: 3F178B1B5E0CB278
11 changed files with 135 additions and 20 deletions

View file

@ -4,11 +4,12 @@ defmodule Nulla.Repo.Migrations.CreateNotes do
def change do
create table(:notes, primary_key: false) do
add :id, :bigint, primary_key: true
add :content, :text
add :inReplyTo, :string
add :url, :string
add :visibility, :string, default: "public"
add :sensitive, :boolean, default: false
add :content, :text
add :language, :string
add :in_reply_to, :string
add :actor_id, references(:actors, on_delete: :delete_all)
timestamps(type: :utc_datetime)