actions.sql 620 B

123456789101112131415161718192021222324252627282930
  1. -- --------------------------------------------------------
  2. --
  3. -- Table structure for table `actions`
  4. --
  5. -- Creation: Aug 21, 2015 at 09:44 PM
  6. --
  7. DROP TABLE IF EXISTS `actions`;
  8. CREATE TABLE IF NOT EXISTS `actions` (
  9. `id` int(10) NOT NULL,
  10. `name` varchar(50) COLLATE utf8_bin NOT NULL
  11. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
  12. --
  13. -- RELATIONS FOR TABLE `actions`:
  14. --
  15. --
  16. -- Indexes for table `actions`
  17. --
  18. ALTER TABLE `actions`
  19. ADD PRIMARY KEY (`id`),
  20. ADD UNIQUE KEY `name` (`name`);
  21. --
  22. -- AUTO_INCREMENT for table `actions`
  23. --
  24. ALTER TABLE `actions`
  25. MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;