r_issue_user_needinfo.sql 654 B

12345678910111213141516171819202122232425262728
  1. -- --------------------------------------------------------
  2. --
  3. -- Table structure for table `r_issue_user_needinfo`
  4. --
  5. -- Creation: Sep 11, 2015 at 11:31 AM
  6. --
  7. DROP TABLE IF EXISTS `r_issue_user_needinfo`;
  8. CREATE TABLE IF NOT EXISTS `r_issue_user_needinfo` (
  9. `i_id` int(10) NOT NULL,
  10. `u_id` int(10) NOT NULL
  11. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
  12. --
  13. -- RELATIONS FOR TABLE `r_issue_user_needinfo`:
  14. -- `i_id`
  15. -- `issues` -> `id`
  16. -- `u_id`
  17. -- `users` -> `id`
  18. --
  19. --
  20. -- Indexes for table `r_issue_user_needinfo`
  21. --
  22. ALTER TABLE `r_issue_user_needinfo`
  23. ADD UNIQUE KEY `i_id` (`i_id`,`u_id`),
  24. ADD KEY `u_id` (`u_id`);