Files
thoughts/crates/adapters/postgres/migrations/022_instance_actor.sql
Gabriel Kaszewski 90d13c883b
All checks were successful
lint / lint (push) Successful in 14m31s
test / unit (push) Successful in 15m58s
feat: replace instance actor decorator with real DB row
Migration inserts a service actor with a well-known UUID. Removes the
InstanceActorUserRepo wrapper — the real ApUserRepository finds it.
2026-05-30 03:16:01 +02:00

11 lines
256 B
SQL

INSERT INTO users (id, username, email, password_hash, display_name, bio)
VALUES (
'00000000-0000-4000-8000-000000000000',
'instance',
'noreply@instance.invalid',
'!service-actor-no-login',
NULL,
NULL
)
ON CONFLICT (id) DO NOTHING;