v27.sql 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.9.0.1
  3. -- https://www.phpmyadmin.net/
  4. --
  5. -- Host: 127.0.0.1
  6. -- Generation Time: Dec 30, 2019 at 08:43 AM
  7. -- Server version: 10.3.16-MariaDB
  8. -- PHP Version: 7.3.7
  9. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  10. SET AUTOCOMMIT = 0;
  11. START TRANSACTION;
  12. SET time_zone = "+00:00";
  13. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  14. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  15. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  16. /*!40101 SET NAMES utf8mb4 */;
  17. --
  18. -- Database: `matgaar_api`
  19. --
  20. -- --------------------------------------------------------
  21. --
  22. -- Table structure for table `app_settings`
  23. --
  24. CREATE TABLE `app_settings` (
  25. `id` int(11) UNSIGNED NOT NULL,
  26. `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  27. `logo` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  28. `currency_id` int(11) DEFAULT NULL,
  29. `currency_format` char(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  30. `facebook` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  31. `twitter` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  32. `instagram` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  33. `youtube` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  34. `google_plus` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  35. `created_at` timestamp NULL DEFAULT NULL,
  36. `updated_at` timestamp NULL DEFAULT NULL
  37. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  38. --
  39. -- Dumping data for table `app_settings`
  40. --
  41. INSERT INTO `app_settings` (`id`, `name`, `logo`, `currency_id`, `currency_format`, `facebook`, `twitter`, `instagram`, `youtube`, `google_plus`, `created_at`, `updated_at`) VALUES
  42. (1, 'MATGGAR', 'uploads/logo/matggar.png', 1, 'symbol', 'https://facebook.com', 'https://twitter.com', 'https://instagram.com', 'https://youtube.com', 'https://google.com', '2019-08-04 16:39:15', '2019-08-04 16:39:18');
  43. --
  44. -- Indexes for dumped tables
  45. --
  46. --
  47. -- Indexes for table `app_settings`
  48. --
  49. ALTER TABLE `app_settings`
  50. ADD PRIMARY KEY (`id`);
  51. --
  52. -- AUTO_INCREMENT for dumped tables
  53. --
  54. --
  55. -- AUTO_INCREMENT for table `app_settings`
  56. --
  57. ALTER TABLE `app_settings`
  58. MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  59. COMMIT;
  60. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  61. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  62. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  63. -- phpMyAdmin SQL Dump
  64. -- version 4.9.0.1
  65. -- https://www.phpmyadmin.net/
  66. --
  67. -- Host: 127.0.0.1
  68. -- Generation Time: Dec 29, 2019 at 02:44 PM
  69. -- Server version: 10.3.16-MariaDB
  70. -- PHP Version: 7.3.7
  71. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  72. SET AUTOCOMMIT = 0;
  73. START TRANSACTION;
  74. SET time_zone = "+00:00";
  75. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  76. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  77. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  78. /*!40101 SET NAMES utf8mb4 */;
  79. --
  80. -- Database: `matgaar_api`
  81. --
  82. -- --------------------------------------------------------
  83. --
  84. -- Table structure for table `carts`
  85. --
  86. CREATE TABLE `carts` (
  87. `id` int(11) UNSIGNED NOT NULL,
  88. `user_id` int(11) DEFAULT NULL,
  89. `product_id` int(11) DEFAULT NULL,
  90. `variation` text COLLATE utf8_unicode_ci DEFAULT NULL,
  91. `price` double(8,2) DEFAULT NULL,
  92. `tax` double(8,2) DEFAULT NULL,
  93. `shipping_cost` double(8,2) DEFAULT NULL,
  94. `quantity` int(11) NOT NULL DEFAULT 0,
  95. `created_at` timestamp NULL DEFAULT current_timestamp(),
  96. `updated_at` timestamp NULL DEFAULT current_timestamp()
  97. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  98. --
  99. -- Indexes for table `carts`
  100. --
  101. ALTER TABLE `carts`
  102. ADD PRIMARY KEY (`id`);
  103. --
  104. -- AUTO_INCREMENT for dumped tables
  105. --
  106. --
  107. -- AUTO_INCREMENT for table `carts`
  108. --
  109. ALTER TABLE `carts`
  110. MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=47;
  111. COMMIT;
  112. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  113. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  114. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  115. -- phpMyAdmin SQL Dump
  116. -- version 4.9.0.1
  117. -- https://www.phpmyadmin.net/
  118. --
  119. -- Host: 127.0.0.1
  120. -- Generation Time: Nov 03, 2019 at 01:40 PM
  121. -- Server version: 10.3.16-MariaDB
  122. -- PHP Version: 7.3.7
  123. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  124. SET AUTOCOMMIT = 0;
  125. START TRANSACTION;
  126. SET time_zone = "+00:00";
  127. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  128. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  129. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  130. /*!40101 SET NAMES utf8mb4 */;
  131. --
  132. -- Database: `ecommerce_api`
  133. --
  134. -- --------------------------------------------------------
  135. --
  136. -- Table structure for table `oauth_access_tokens`
  137. --
  138. CREATE TABLE `oauth_access_tokens` (
  139. `id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  140. `user_id` int(11) DEFAULT NULL,
  141. `client_id` int(10) UNSIGNED NOT NULL,
  142. `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  143. `scopes` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  144. `revoked` tinyint(1) NOT NULL,
  145. `created_at` timestamp NULL DEFAULT NULL,
  146. `updated_at` timestamp NULL DEFAULT NULL,
  147. `expires_at` datetime DEFAULT NULL
  148. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  149. --
  150. -- Dumping data for table `oauth_access_tokens`
  151. --
  152. INSERT INTO `oauth_access_tokens` (`id`, `user_id`, `client_id`, `name`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) VALUES
  153. ('125ce8289850f80d9fea100325bf892fbd0deba1f87dbfc2ab81fb43d57377ec24ed65f7dc560e46', 1, 1, 'Personal Access Token', '[]', 0, '2019-07-30 04:51:13', '2019-07-30 04:51:13', '2020-07-30 10:51:13'),
  154. ('293d2bb534220c070c4e90d25b5509965d23d3ddbc05b1e29fb4899ae09420ff112dbccab1c6f504', 1, 1, 'Personal Access Token', '[]', 1, '2019-08-04 06:00:04', '2019-08-04 06:00:04', '2020-08-04 12:00:04'),
  155. ('5363e91c7892acdd6417aa9c7d4987d83568e229befbd75be64282dbe8a88147c6c705e06c1fb2bf', 1, 1, 'Personal Access Token', '[]', 0, '2019-07-13 06:44:28', '2019-07-13 06:44:28', '2020-07-13 12:44:28'),
  156. ('681b4a4099fac5e12517307b4027b54df94cbaf0cbf6b4bf496534c94f0ccd8a79dd6af9742d076b', 1, 1, 'Personal Access Token', '[]', 1, '2019-08-04 07:23:06', '2019-08-04 07:23:06', '2020-08-04 13:23:06'),
  157. ('6d229e3559e568df086c706a1056f760abc1370abe74033c773490581a042442154afa1260c4b6f0', 1, 1, 'Personal Access Token', '[]', 1, '2019-08-04 07:32:12', '2019-08-04 07:32:12', '2020-08-04 13:32:12'),
  158. ('6efc0f1fc3843027ea1ea7cd35acf9c74282f0271c31d45a164e7b27025a315d31022efe7bb94aaa', 1, 1, 'Personal Access Token', '[]', 0, '2019-08-08 02:35:26', '2019-08-08 02:35:26', '2020-08-08 08:35:26'),
  159. ('7745b763da15a06eaded371330072361b0524c41651cf48bf76fc1b521a475ece78703646e06d3b0', 1, 1, 'Personal Access Token', '[]', 1, '2019-08-04 07:29:44', '2019-08-04 07:29:44', '2020-08-04 13:29:44'),
  160. ('815b625e239934be293cd34479b0f766bbc1da7cc10d464a2944ddce3a0142e943ae48be018ccbd0', 1, 1, 'Personal Access Token', '[]', 1, '2019-07-22 02:07:47', '2019-07-22 02:07:47', '2020-07-22 08:07:47'),
  161. ('8921a4c96a6d674ac002e216f98855c69de2568003f9b4136f6e66f4cb9545442fb3e37e91a27cad', 1, 1, 'Personal Access Token', '[]', 1, '2019-08-04 06:05:05', '2019-08-04 06:05:05', '2020-08-04 12:05:05'),
  162. ('8d8b85720304e2f161a66564cec0ecd50d70e611cc0efbf04e409330086e6009f72a39ce2191f33a', 1, 1, 'Personal Access Token', '[]', 1, '2019-08-04 06:44:35', '2019-08-04 06:44:35', '2020-08-04 12:44:35'),
  163. ('bcaaebdead4c0ef15f3ea6d196fd80749d309e6db8603b235e818cb626a5cea034ff2a55b66e3e1a', 1, 1, 'Personal Access Token', '[]', 1, '2019-08-04 07:14:32', '2019-08-04 07:14:32', '2020-08-04 13:14:32'),
  164. ('c25417a5c728073ca8ba57058ded43d496a9d2619b434d2a004dd490a64478c08bc3e06ffc1be65d', 1, 1, 'Personal Access Token', '[]', 1, '2019-07-30 01:45:31', '2019-07-30 01:45:31', '2020-07-30 07:45:31'),
  165. ('c7423d85b2b5bdc5027cb283be57fa22f5943cae43f60b0ed27e6dd198e46f25e3501b3081ed0777', 1, 1, 'Personal Access Token', '[]', 1, '2019-08-05 05:02:59', '2019-08-05 05:02:59', '2020-08-05 11:02:59'),
  166. ('e76f19dbd5c2c4060719fb1006ac56116fd86f7838b4bf74e2c0a0ac9696e724df1e517dbdb357f4', 1, 1, 'Personal Access Token', '[]', 1, '2019-07-15 02:53:40', '2019-07-15 02:53:40', '2020-07-15 08:53:40'),
  167. ('ed7c269dd6f9a97750a982f62e0de54749be6950e323cdfef892a1ec93f8ddbacf9fe26e6a42180e', 1, 1, 'Personal Access Token', '[]', 1, '2019-07-13 06:36:45', '2019-07-13 06:36:45', '2020-07-13 12:36:45'),
  168. ('f6d1475bc17a27e389000d3df4da5c5004ce7610158b0dd414226700c0f6db48914637b4c76e1948', 1, 1, 'Personal Access Token', '[]', 1, '2019-08-04 07:22:01', '2019-08-04 07:22:01', '2020-08-04 13:22:01'),
  169. ('f85e4e444fc954430170c41779a4238f84cd6fed905f682795cd4d7b6a291ec5204a10ac0480eb30', 1, 1, 'Personal Access Token', '[]', 1, '2019-07-30 06:38:49', '2019-07-30 06:38:49', '2020-07-30 12:38:49'),
  170. ('f8bf983a42c543b99128296e4bc7c2d17a52b5b9ef69670c629b93a653c6a4af27be452e0c331f79', 1, 1, 'Personal Access Token', '[]', 1, '2019-08-04 07:28:55', '2019-08-04 07:28:55', '2020-08-04 13:28:55');
  171. --
  172. -- Indexes for dumped tables
  173. --
  174. --
  175. -- Indexes for table `oauth_access_tokens`
  176. --
  177. ALTER TABLE `oauth_access_tokens`
  178. ADD PRIMARY KEY (`id`),
  179. ADD KEY `oauth_access_tokens_user_id_index` (`user_id`);
  180. COMMIT;
  181. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  182. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  183. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  184. -- phpMyAdmin SQL Dump
  185. -- version 4.9.0.1
  186. -- https://www.phpmyadmin.net/
  187. --
  188. -- Host: 127.0.0.1
  189. -- Generation Time: Nov 03, 2019 at 01:40 PM
  190. -- Server version: 10.3.16-MariaDB
  191. -- PHP Version: 7.3.7
  192. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  193. SET AUTOCOMMIT = 0;
  194. START TRANSACTION;
  195. SET time_zone = "+00:00";
  196. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  197. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  198. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  199. /*!40101 SET NAMES utf8mb4 */;
  200. --
  201. -- Database: `ecommerce_api`
  202. --
  203. -- --------------------------------------------------------
  204. --
  205. -- Table structure for table `oauth_auth_codes`
  206. --
  207. CREATE TABLE `oauth_auth_codes` (
  208. `id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  209. `user_id` int(11) NOT NULL,
  210. `client_id` int(10) UNSIGNED NOT NULL,
  211. `scopes` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  212. `revoked` tinyint(1) NOT NULL,
  213. `expires_at` datetime DEFAULT NULL
  214. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  215. --
  216. -- Indexes for dumped tables
  217. --
  218. --
  219. -- Indexes for table `oauth_auth_codes`
  220. --
  221. ALTER TABLE `oauth_auth_codes`
  222. ADD PRIMARY KEY (`id`);
  223. COMMIT;
  224. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  225. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  226. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  227. -- phpMyAdmin SQL Dump
  228. -- version 4.9.0.1
  229. -- https://www.phpmyadmin.net/
  230. --
  231. -- Host: 127.0.0.1
  232. -- Generation Time: Nov 03, 2019 at 01:41 PM
  233. -- Server version: 10.3.16-MariaDB
  234. -- PHP Version: 7.3.7
  235. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  236. SET AUTOCOMMIT = 0;
  237. START TRANSACTION;
  238. SET time_zone = "+00:00";
  239. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  240. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  241. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  242. /*!40101 SET NAMES utf8mb4 */;
  243. --
  244. -- Database: `ecommerce_api`
  245. --
  246. -- --------------------------------------------------------
  247. --
  248. -- Table structure for table `oauth_clients`
  249. --
  250. CREATE TABLE `oauth_clients` (
  251. `id` int(10) UNSIGNED NOT NULL,
  252. `user_id` int(11) DEFAULT NULL,
  253. `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  254. `secret` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  255. `redirect` text COLLATE utf8mb4_unicode_ci NOT NULL,
  256. `personal_access_client` tinyint(1) NOT NULL,
  257. `password_client` tinyint(1) NOT NULL,
  258. `revoked` tinyint(1) NOT NULL,
  259. `created_at` timestamp NULL DEFAULT NULL,
  260. `updated_at` timestamp NULL DEFAULT NULL
  261. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  262. --
  263. -- Dumping data for table `oauth_clients`
  264. --
  265. INSERT INTO `oauth_clients` (`id`, `user_id`, `name`, `secret`, `redirect`, `personal_access_client`, `password_client`, `revoked`, `created_at`, `updated_at`) VALUES
  266. (1, NULL, 'Laravel Personal Access Client', 'eR2y7WUuem28ugHKppFpmss7jPyOHZsMkQwBo1Jj', 'http://localhost', 1, 0, 0, '2019-07-13 06:17:34', '2019-07-13 06:17:34'),
  267. (2, NULL, 'Laravel Password Grant Client', 'WLW2Ol0GozbaXEnx1NtXoweYPuKEbjWdviaUgw77', 'http://localhost', 0, 1, 0, '2019-07-13 06:17:34', '2019-07-13 06:17:34');
  268. --
  269. -- Indexes for dumped tables
  270. --
  271. --
  272. -- Indexes for table `oauth_clients`
  273. --
  274. ALTER TABLE `oauth_clients`
  275. ADD PRIMARY KEY (`id`),
  276. ADD KEY `oauth_clients_user_id_index` (`user_id`);
  277. --
  278. -- AUTO_INCREMENT for dumped tables
  279. --
  280. --
  281. -- AUTO_INCREMENT for table `oauth_clients`
  282. --
  283. ALTER TABLE `oauth_clients`
  284. MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  285. COMMIT;
  286. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  287. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  288. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  289. -- phpMyAdmin SQL Dump
  290. -- version 4.9.0.1
  291. -- https://www.phpmyadmin.net/
  292. --
  293. -- Host: 127.0.0.1
  294. -- Generation Time: Nov 03, 2019 at 01:41 PM
  295. -- Server version: 10.3.16-MariaDB
  296. -- PHP Version: 7.3.7
  297. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  298. SET AUTOCOMMIT = 0;
  299. START TRANSACTION;
  300. SET time_zone = "+00:00";
  301. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  302. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  303. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  304. /*!40101 SET NAMES utf8mb4 */;
  305. --
  306. -- Database: `ecommerce_api`
  307. --
  308. -- --------------------------------------------------------
  309. --
  310. -- Table structure for table `oauth_personal_access_clients`
  311. --
  312. CREATE TABLE `oauth_personal_access_clients` (
  313. `id` int(10) UNSIGNED NOT NULL,
  314. `client_id` int(10) UNSIGNED NOT NULL,
  315. `created_at` timestamp NULL DEFAULT NULL,
  316. `updated_at` timestamp NULL DEFAULT NULL
  317. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  318. --
  319. -- Dumping data for table `oauth_personal_access_clients`
  320. --
  321. INSERT INTO `oauth_personal_access_clients` (`id`, `client_id`, `created_at`, `updated_at`) VALUES
  322. (1, 1, '2019-07-13 06:17:34', '2019-07-13 06:17:34');
  323. --
  324. -- Indexes for dumped tables
  325. --
  326. --
  327. -- Indexes for table `oauth_personal_access_clients`
  328. --
  329. ALTER TABLE `oauth_personal_access_clients`
  330. ADD PRIMARY KEY (`id`),
  331. ADD KEY `oauth_personal_access_clients_client_id_index` (`client_id`);
  332. --
  333. -- AUTO_INCREMENT for dumped tables
  334. --
  335. --
  336. -- AUTO_INCREMENT for table `oauth_personal_access_clients`
  337. --
  338. ALTER TABLE `oauth_personal_access_clients`
  339. MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  340. COMMIT;
  341. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  342. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  343. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  344. -- phpMyAdmin SQL Dump
  345. -- version 4.9.0.1
  346. -- https://www.phpmyadmin.net/
  347. --
  348. -- Host: 127.0.0.1
  349. -- Generation Time: Nov 03, 2019 at 01:41 PM
  350. -- Server version: 10.3.16-MariaDB
  351. -- PHP Version: 7.3.7
  352. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  353. SET AUTOCOMMIT = 0;
  354. START TRANSACTION;
  355. SET time_zone = "+00:00";
  356. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  357. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  358. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  359. /*!40101 SET NAMES utf8mb4 */;
  360. --
  361. -- Database: `ecommerce_api`
  362. --
  363. -- --------------------------------------------------------
  364. --
  365. -- Table structure for table `oauth_refresh_tokens`
  366. --
  367. CREATE TABLE `oauth_refresh_tokens` (
  368. `id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  369. `access_token_id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  370. `revoked` tinyint(1) NOT NULL,
  371. `expires_at` datetime DEFAULT NULL
  372. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  373. --
  374. -- Indexes for dumped tables
  375. --
  376. --
  377. -- Indexes for table `oauth_refresh_tokens`
  378. --
  379. ALTER TABLE `oauth_refresh_tokens`
  380. ADD PRIMARY KEY (`id`),
  381. ADD KEY `oauth_refresh_tokens_access_token_id_index` (`access_token_id`);
  382. COMMIT;
  383. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  384. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  385. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  386. UPDATE `business_settings` SET `value` = '2.7' WHERE `business_settings`.`type` = 'current_version';
  387. COMMIT;