Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.57 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.9.0.1
  3. -- https://www.phpmyadmin.net/
  4. --
  5. -- Host: localhost:3306
  6. -- Generation Time: Aug 22, 2019 at 10:07 AM
  7. -- Server version: 5.7.26
  8. -- PHP Version: 7.3.7
  9.  
  10. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  11. SET time_zone = "+00:00";
  12.  
  13. --
  14. -- Database: `atrium`
  15. --
  16.  
  17. -- --------------------------------------------------------
  18.  
  19. --
  20. -- Table structure for table `clients`
  21. --
  22.  
  23. CREATE TABLE `clients` (
  24. `id` bigint(20) UNSIGNED NOT NULL,
  25. `order` bigint(20) NOT NULL,
  26. `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  27. `logo` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  28. `created_at` timestamp NULL DEFAULT NULL,
  29. `updated_at` timestamp NULL DEFAULT NULL
  30. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  31.  
  32. --
  33. -- Dumping data for table `clients`
  34. --
  35.  
  36. INSERT INTO `clients` (`id`, `order`, `name`, `logo`, `created_at`, `updated_at`) VALUES
  37. (1, 1, 'Testowy Hej!', 'Ays8mBmCzy4wgGEXGiY7xHGob.jpg', '2019-08-21 18:40:51', '2019-08-21 18:44:04'),
  38. (2, 2, 'Drugi :)', 'wpRKzpkfSPmac05ZTVM5gTHd7.jpg', '2019-08-21 18:43:36', '2019-08-21 18:44:04');
  39.  
  40. -- --------------------------------------------------------
  41.  
  42. --
  43. -- Table structure for table `migrations`
  44. --
  45.  
  46. CREATE TABLE `migrations` (
  47. `id` int(10) UNSIGNED NOT NULL,
  48. `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  49. `batch` int(11) NOT NULL
  50. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  51.  
  52. --
  53. -- Dumping data for table `migrations`
  54. --
  55.  
  56. INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
  57. (5, '2014_10_12_000000_create_users_table', 1),
  58. (6, '2014_10_12_100000_create_password_resets_table', 1),
  59. (7, '2019_07_28_121239_create_photos', 1),
  60. (8, '2019_08_20_133024_create_offers', 1),
  61. (9, '2019_08_21_195201_create_clients', 2);
  62.  
  63. -- --------------------------------------------------------
  64.  
  65. --
  66. -- Table structure for table `offers`
  67. --
  68.  
  69. CREATE TABLE `offers` (
  70. `id` bigint(20) UNSIGNED NOT NULL,
  71. `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  72. `filename` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  73. `created_at` timestamp NULL DEFAULT NULL,
  74. `updated_at` timestamp NULL DEFAULT NULL
  75. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  76.  
  77. --
  78. -- Dumping data for table `offers`
  79. --
  80.  
  81. INSERT INTO `offers` (`id`, `name`, `filename`, `created_at`, `updated_at`) VALUES
  82. (1, 'kartaDan', 'kartaDan.jpg', NULL, '2019-08-22 05:33:26'),
  83. (2, 'kartaWin', '', NULL, NULL),
  84. (3, 'kartaDrinkow', '', NULL, NULL),
  85. (4, 'imprezyOkolicznosciowe', '', NULL, NULL),
  86. (5, 'babyShower', '', NULL, NULL),
  87. (6, 'imprezyFirmowe', '', NULL, NULL),
  88. (7, 'serwisKawowy', '', NULL, NULL),
  89. (8, 'luncheKolacje', '', NULL, NULL),
  90. (9, 'wynajemSali', '', NULL, NULL);
  91.  
  92. -- --------------------------------------------------------
  93.  
  94. --
  95. -- Table structure for table `password_resets`
  96. --
  97.  
  98. CREATE TABLE `password_resets` (
  99. `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  100. `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  101. `created_at` timestamp NULL DEFAULT NULL
  102. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  103.  
  104. -- --------------------------------------------------------
  105.  
  106. --
  107. -- Table structure for table `photos`
  108. --
  109.  
  110. CREATE TABLE `photos` (
  111. `id` bigint(20) UNSIGNED NOT NULL,
  112. `order` bigint(20) NOT NULL,
  113. `filename` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  114. `created_at` timestamp NULL DEFAULT NULL,
  115. `updated_at` timestamp NULL DEFAULT NULL
  116. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  117.  
  118. -- --------------------------------------------------------
  119.  
  120. --
  121. -- Table structure for table `users`
  122. --
  123.  
  124. CREATE TABLE `users` (
  125. `id` bigint(20) UNSIGNED NOT NULL,
  126. `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  127. `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  128. `email_verified_at` timestamp NULL DEFAULT NULL,
  129. `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  130. `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  131. `created_at` timestamp NULL DEFAULT NULL,
  132. `updated_at` timestamp NULL DEFAULT NULL
  133. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  134.  
  135. --
  136. -- Indexes for dumped tables
  137. --
  138.  
  139. --
  140. -- Indexes for table `clients`
  141. --
  142. ALTER TABLE `clients`
  143. ADD PRIMARY KEY (`id`);
  144.  
  145. --
  146. -- Indexes for table `migrations`
  147. --
  148. ALTER TABLE `migrations`
  149. ADD PRIMARY KEY (`id`);
  150.  
  151. --
  152. -- Indexes for table `offers`
  153. --
  154. ALTER TABLE `offers`
  155. ADD PRIMARY KEY (`id`);
  156.  
  157. --
  158. -- Indexes for table `password_resets`
  159. --
  160. ALTER TABLE `password_resets`
  161. ADD KEY `password_resets_email_index` (`email`);
  162.  
  163. --
  164. -- Indexes for table `photos`
  165. --
  166. ALTER TABLE `photos`
  167. ADD PRIMARY KEY (`id`);
  168.  
  169. --
  170. -- Indexes for table `users`
  171. --
  172. ALTER TABLE `users`
  173. ADD PRIMARY KEY (`id`),
  174. ADD UNIQUE KEY `users_email_unique` (`email`);
  175.  
  176. --
  177. -- AUTO_INCREMENT for dumped tables
  178. --
  179.  
  180. --
  181. -- AUTO_INCREMENT for table `clients`
  182. --
  183. ALTER TABLE `clients`
  184. MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  185.  
  186. --
  187. -- AUTO_INCREMENT for table `migrations`
  188. --
  189. ALTER TABLE `migrations`
  190. MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
  191.  
  192. --
  193. -- AUTO_INCREMENT for table `offers`
  194. --
  195. ALTER TABLE `offers`
  196. MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
  197.  
  198. --
  199. -- AUTO_INCREMENT for table `photos`
  200. --
  201. ALTER TABLE `photos`
  202. MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
  203.  
  204. --
  205. -- AUTO_INCREMENT for table `users`
  206. --
  207. ALTER TABLE `users`
  208. MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement