Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. --
  2. -- Table structure for table `slugs`
  3. --
  4.  
  5. DROP TABLE IF EXISTS `slugs`;
  6. /*!40101 SET @saved_cs_client = @@character_set_client */;
  7. /*!40101 SET character_set_client = utf8 */;
  8. CREATE TABLE `slugs` (
  9. `id` int(11) NOT NULL AUTO_INCREMENT,
  10. `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  11. `sluggable_id` int(11) DEFAULT NULL,
  12. `sequence` int(11) NOT NULL DEFAULT '1',
  13. `sluggable_type` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL,
  14. `scope` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL,
  15. `created_at` datetime DEFAULT NULL,
  16. PRIMARY KEY (`id`),
  17. UNIQUE KEY `index_slugs_on_name_and_sluggable_type_and_scope_and_sequence` (`name`,`sluggable_type`,`scope`,`sequence`),
  18. KEY `index_slugs_on_sluggable_id` (`sluggable_id`)
  19. ) ENGINE=InnoDB AUTO_INCREMENT=124567 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  20. /*!40101 SET character_set_client = @saved_cs_client */;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement