Guest User

Untitled

a guest
Feb 12th, 2020
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.62 KB | None | 0 0
  1. CREATE TABLE `product_sample` (
  2.   `product_sample_id` int(11) NOT NULL AUTO_INCREMENT,
  3.   `product_sample_uuid` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  4.   `product_id` int(11) DEFAULT NULL,
  5.   `sample_product_id` int(11) DEFAULT NULL,
  6.   `init_quantity` int(6) DEFAULT NULL,
  7.   `quantity` int(6) DEFAULT NULL,
  8.   `status` enum('active','inactive') COLLATE utf8_unicode_ci DEFAULT 'active',
  9.   `created_at` datetime DEFAULT NULL,
  10.   `updated_at` datetime DEFAULT NULL,
  11.   PRIMARY KEY (`product_sample_id`),
  12.   KEY `product_id` (`product_id`)
  13. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
Advertisement
Add Comment
Please, Sign In to add comment