mix format

This commit is contained in:
Mirai Kumiko 2025-06-08 10:58:48 +02:00
parent 7d8cb33405
commit 4fb1e200f1
Signed by: miraikumiko
GPG key ID: 3F178B1B5E0CB278
12 changed files with 221 additions and 69 deletions

View file

@ -0,0 +1,17 @@
defmodule Nulla.Repo.Migrations.CreateActivities do
use Ecto.Migration
def change do
create table(:activities) do
add :type, :string, null: false
add :actor, :string, null: false
add :object, :map, null: false
add :to, {:array, :string}, default: []
timestamps()
end
create index(:activities, [:actor])
create index(:activities, [:type])
end
end