Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --
- -- Table structure for table `products`
- --
- CREATE TABLE `products` (
- `id` int(11) NOT NULL,
- `name` text COLLATE utf8mb4_unicode_ci NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- -- --------------------------------------------------------
- --
- -- Table structure for table `roles`
- --
- (...cut...)
- -- --------------------------------------------------------
- (...cut...)
- -- --------------------------------------------------------
- --
- -- Table structure for table `tickets`
- --
- CREATE TABLE `tickets` (
- `id` int(11) NOT NULL,
- `type` char(3) COLLATE utf8mb4_unicode_ci NOT NULL,
- `product_id` int(11) NOT NULL,
- `name` text COLLATE utf8mb4_unicode_ci NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- -- --------------------------------------------------------
- (...cut...)
- -- --------------------------------------------------------
- --
- -- Table structure for table `user_products`
- --
- CREATE TABLE `user_products` (
- `id` int(11) NOT NULL,
- `user_id` int(11) NOT NULL,
- `product_id` int(11) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- --
- -- Indexes for dumped tables
- --
- --
- -- Indexes for table `products`
- --
- ALTER TABLE `products`
- ADD PRIMARY KEY (`id`);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement