4 lines
174 B
SQL
4 lines
174 B
SQL
CREATE TABLE user_apps (
|
|
id UUID PRIMARY KEY DEFAULT gen_random_uuid (),
|
|
user_id UUID NOT NULL CONSTRAINT fk_user_apps_user REFERENCES users (id) ON DELETE CASCADE
|
|
); |