Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE bot_passwords (
- bp_user NUMBER NOT NULL,
- bp_app_id varchar2(32) NOT NULL,
- bp_password varchar2(255) NOT NULL,
- bp_token varchar2(255) NOT NULL,
- bp_restrictions varchar2(255) NOT NULL,
- bp_grants varchar2(255) NOT NULL
- );
- ALTER TABLE bot_passwords ADD CONSTRAINT bot_passwords_pk PRIMARY KEY(bp_user, bp_app_id);
- ALTER TABLE bot_passwords ADD CONSTRAINT bot_passwords_fk FOREIGN KEY(bp_user) REFERENCES MWUSER(user_id);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement