Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Dump of table people
- # ------------------------------------------------------------
- CREATE TABLE `people` (
- `id` int(10) NOT NULL AUTO_INCREMENT,
- `first_name` varchar(30) NOT NULL,
- `last_name` varchar(30) NOT NULL,
- `city_id` int(10) DEFAULT NULL,
- `state_id` int(10) DEFAULT NULL,
- `country_id` int(10) DEFAULT NULL,
- `dob` date DEFAULT NULL,
- `date_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- `active` enum('yes','no') DEFAULT NULL,
- `zip_code` varchar(5) DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `city_id_idxfk` (`city_id`),
- KEY `state_id_idxfk_1` (`state_id`),
- KEY `country_id_idxfk` (`country_id`),
- CONSTRAINT `people_ibfk_1` FOREIGN KEY (`city_id`) REFERENCES `cities` (`id`),
- CONSTRAINT `people_ibfk_2` FOREIGN KEY (`state_id`) REFERENCES `states` (`id`),
- CONSTRAINT `people_ibfk_3` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=3001 DEFAULT CHARSET=latin1;
- # Dump of table posts
- # ------------------------------------------------------------
- CREATE TABLE `posts` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
- `title` varchar(30) DEFAULT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Add Comment
Please, Sign In to add comment