Files
expenses/server/migrations/20261007000000_create_user_apps.sql
T

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
);