Created
June 29, 2018 19:37
-
-
Save NandoKstroNet/249935983ddd7e35fbaaae0620eee491 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE `products` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`category_id` int(11) DEFAULT NULL, | |
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`price` float(10,2) DEFAULT NULL, | |
`amount` int(11) DEFAULT NULL, | |
`description` text COLLATE utf8_unicode_ci, | |
`slug` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`created_at` datetime DEFAULT NULL, | |
`updated_at` datetime DEFAULT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment