Advertisement
Genral

category_DB

Jun 17th, 2024
707
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.26 KB | None | 0 0
  1. CREATE TABLE `category` (
  2.   `id` int(11) NOT NULL AUTO_INCREMENT,
  3.   `name` varchar(100) NOT NULL,
  4.   PRIMARY KEY (`id`,`name`) USING BTREE,
  5.   UNIQUE KEY `name_UNIQUE` (`name`)
  6. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement