r_permission_user.sql 346 B

123456
  1. --
  2. -- Constraints for table `r_permission_user`
  3. --
  4. ALTER TABLE `r_permission_user`
  5. ADD CONSTRAINT `r_permission_user_ibfk_1` FOREIGN KEY (`per_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  6. ADD CONSTRAINT `r_permission_user_ibfk_2` FOREIGN KEY (`u_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;