deleted unique constraint

This commit is contained in:
nquidox 2026-03-04 16:58:42 +03:00
parent 6c7c6c9ee9
commit 18a6b4f37b

View file

@ -12,7 +12,7 @@ CREATE TABLE merch (
updated_at TIMESTAMP WITH TIME ZONE NULL,
deleted_at TIMESTAMP WITH TIME ZONE NULL,
merch_uuid VARCHAR(36) NOT NULL UNIQUE,
user_id BIGINT NOT NULL UNIQUE,
user_id BIGINT NOT NULL,
name VARCHAR(255) NULL,
CONSTRAINT fk_merch_user_id FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE