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