44c320d8fa
Track required workspace crates, scripts, and historical diesel migrations so the repository contains the complete runnable backend baseline. Made-with: Cursor
17 lines
348 B
SQL
17 lines
348 B
SQL
-- Your SQL goes here
|
|
|
|
create table user_groups
|
|
(
|
|
id varchar not null
|
|
constraint user_groups_pk
|
|
primary key,
|
|
group_name varchar not null,
|
|
group_type varchar not null,
|
|
owner_id varchar not null,
|
|
group_members jsonb
|
|
);
|
|
|
|
create unique index user_groups_id_uindex
|
|
on user_groups (id);
|
|
|