From e0ca9191f1e6fe66db9d5b99817e7a04c71fd41a Mon Sep 17 00:00:00 2001 From: Jan Kvetina Date: Wed, 5 Jan 2022 18:18:34 +0100 Subject: [PATCH] Cleanup --- tables/user_roles.sql | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tables/user_roles.sql b/tables/user_roles.sql index e0f46cb..5c5ba99 100644 --- a/tables/user_roles.sql +++ b/tables/user_roles.sql @@ -21,10 +21,7 @@ CREATE TABLE user_roles ( CONSTRAINT fk_users_roles_role_id FOREIGN KEY (app_id, role_id) REFERENCES roles (app_id, role_id) - DEFERRABLE INITIALLY DEFERRED, - -- - CONSTRAINT ch_user_roles_is_active - CHECK (is_active = 'Y' OR is_active IS NULL) + DEFERRABLE INITIALLY DEFERRED ) STORAGE (BUFFER_POOL KEEP); --