Cleanup
This commit is contained in:
parent
d4ab158a9a
commit
e0ca9191f1
@ -21,10 +21,7 @@ CREATE TABLE user_roles (
|
|||||||
CONSTRAINT fk_users_roles_role_id
|
CONSTRAINT fk_users_roles_role_id
|
||||||
FOREIGN KEY (app_id, role_id)
|
FOREIGN KEY (app_id, role_id)
|
||||||
REFERENCES roles (app_id, role_id)
|
REFERENCES roles (app_id, role_id)
|
||||||
DEFERRABLE INITIALLY DEFERRED,
|
DEFERRABLE INITIALLY DEFERRED
|
||||||
--
|
|
||||||
CONSTRAINT ch_user_roles_is_active
|
|
||||||
CHECK (is_active = 'Y' OR is_active IS NULL)
|
|
||||||
)
|
)
|
||||||
STORAGE (BUFFER_POOL KEEP);
|
STORAGE (BUFFER_POOL KEEP);
|
||||||
--
|
--
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user