diff options
author | rtkay123 <dev@kanjala.com> | 2025-07-28 08:48:31 +0200 |
---|---|---|
committer | rtkay123 <dev@kanjala.com> | 2025-07-28 08:48:31 +0200 |
commit | 92620ba85d729d27ffe4d141149ba9b82e543d74 (patch) | |
tree | dfe24061170931480484e53dda9c47f80ceaedb6 /crates/users-service/migrations/20250726161947_profile.sql | |
parent | 3c4d17cf2840c643b8cd111ef775750cc5ae83b3 (diff) | |
download | sellershut-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.sql | 5 |
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') |