Guest User

Untitled

a guest
Apr 30th, 2012
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. CREATE TABLE `reports` (
  2. `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  3. `period` date NOT NULL,
  4. `type` tinyint(3) unsigned NOT NULL,
  5. `project` tinyint(3) unsigned NOT NULL,
  6. `status` enum('g','y','r') COLLATE utf8_swedish_ci NOT NULL,
  7. `report` text COLLATE utf8_swedish_ci NOT NULL,
  8. PRIMARY KEY (`id`),
  9. foreign key (type) references types(id),
  10. foreign key (project) references projects(id)
  11. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_swedish_ci
Advertisement
Add Comment
Please, Sign In to add comment