From cdcf6a4caa66095c07ef9d6d3ebc7c795a046e1e Mon Sep 17 00:00:00 2001
From: rtkay123 <dev@kanjala.com>
Date: Mon, 2 Feb 2026 18:21:48 +0200
Subject: chore: initial migrations

---
 migrations/20260202155154_profile.sql | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 migrations/20260202155154_profile.sql

(limited to 'migrations/20260202155154_profile.sql')

diff --git a/migrations/20260202155154_profile.sql b/migrations/20260202155154_profile.sql
new file mode 100644
index 0000000..aeec618
--- /dev/null
+++ b/migrations/20260202155154_profile.sql
@@ -0,0 +1,15 @@
+create type actor_kind as enum ('application', 'group', 'organization', 'person', 'service');
+
+create table profile (
+  ap_id text primary key,
+  username varchar(15),
+  description varchar(255),
+  inbox text not null,
+  role actor_kind not null default 'person',
+  outbox text,
+  picture text,
+  public_key text not null,
+  private_key text,
+  created_at timestamptz not null default now(),
+  last_refreshed_at timestamptz not null default now()
+)
-- 
cgit v1.2.3

