summaryrefslogtreecommitdiffstats
path: root/crates/users-service/migrations/20250726161947_profile.sql
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-07-28 08:48:31 +0200
committerrtkay123 <dev@kanjala.com>2025-07-28 08:48:31 +0200
commit92620ba85d729d27ffe4d141149ba9b82e543d74 (patch)
treedfe24061170931480484e53dda9c47f80ceaedb6 /crates/users-service/migrations/20250726161947_profile.sql
parent3c4d17cf2840c643b8cd111ef775750cc5ae83b3 (diff)
downloadsellershut-92620ba85d729d27ffe4d141149ba9b82e543d74.tar.bz2
sellershut-92620ba85d729d27ffe4d141149ba9b82e543d74.zip
feat(users): create user
Diffstat (limited to 'crates/users-service/migrations/20250726161947_profile.sql')
-rw-r--r--crates/users-service/migrations/20250726161947_profile.sql5
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/users-service/migrations/20250726161947_profile.sql b/crates/users-service/migrations/20250726161947_profile.sql
index 15822c8..1fcfe68 100644
--- a/crates/users-service/migrations/20250726161947_profile.sql
+++ b/crates/users-service/migrations/20250726161947_profile.sql
@@ -2,9 +2,10 @@ create table profile (
id text primary key,
username varchar(30) not null,
inbox text not null,
- outbox text,
+ outbox text not null,
local boolean not null,
- avatar_url text,
+ avatar text,
+ email text,
description text,
user_type text not null check (
user_type IN ('PERSON', 'APPLICATION', 'GROUP', 'ORGANIZATION', 'SERVICE')