Advertisement
Puzo

Doctrine inserting error - Table CATEGORIES

Nov 2nd, 2011
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.36 KB | None | 0 0
  1. CREATE TABLE `categories` (
  2.  `id` smallint(6) NOT NULL AUTO_INCREMENT,
  3.  `languages_id` int(11) NOT NULL,
  4.  `parent_id` smallint(6) NOT NULL,
  5.  `title` varchar(255) NOT NULL,
  6.  PRIMARY KEY (`id`),
  7.  KEY `languages_id` (`languages_id`),
  8.  CONSTRAINT `categories_ibfk_1` FOREIGN KEY (`languages_id`) REFERENCES `languages` (`id`)
  9. ) ENGINE=InnoDB DEFAULT CHARSET=utf8
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement