 --
 
 INSERT INTO `users_permissions` (`user_id`, `permission_id`) VALUES
-(1, 1);
-
---
--- Constraints for dumped tables
---
-
---
--- Constraints for table `users_permissions`
---
-ALTER TABLE `users_permissions`
-  ADD CONSTRAINT `users_permissions_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
-  ADD CONSTRAINT `users_permissions_ibfk_2` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
-SET FOREIGN_KEY_CHECKS=1;
+(1, 1);
CREATE TABLE IF NOT EXISTS `users` (
  `id` mediumint(8) NOT NULL AUTO_INCREMENT,
  `name` varchar(80) NOT NULL,
  `email` varchar(30) NULL,
  `login` varchar(18) NOT NULL,
  `password` varchar(40) NOT NULL,
  `salt` varchar(40) NOT NULL,
  `last_login` date DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`)

-- codeigniter-user Auth Library database schema.
--
-- Author: Waldir Bertazzi Junior
-- Version: 1.3
-- --------------------------------------------------------


--
-- Table structure for table `permissions`
