Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. alienalert=> \d account_role
  2. Table "public.account_role"
  3. Column | Type | Modifiers
  4. ------------+---------+-----------------------------------------------------------
  5. id | integer | not null default nextval('account_role_id_seq'::regclass)
  6. account_id | integer | not null
  7. role_id | integer | not null
  8. pool_id | integer |
  9. Indexes:
  10. "pk_account_role" PRIMARY KEY, btree (id)
  11. "unique_account_role_pool" UNIQUE, btree (account_id, role_id, (COALESCE(pool_id, (-1))))
  12. Foreign-key constraints:
  13. "fk_account" FOREIGN KEY (account_id) REFERENCES account(id)
  14. "fk_pool" FOREIGN KEY (pool_id) REFERENCES pool(id)
  15. "fk_role" FOREIGN KEY (role_id) REFERENCES role(id)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement