Skip to content

Instantly share code, notes, and snippets.

@buildbro
Created September 8, 2019 12:22
Show Gist options
  • Save buildbro/5c730bd6d4b42ba6a7e089fe728cc933 to your computer and use it in GitHub Desktop.
Save buildbro/5c730bd6d4b42ba6a7e089fe728cc933 to your computer and use it in GitHub Desktop.
-- phpMyAdmin SQL Dump
-- version 4.8.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Sep 08, 2019 at 02:21 PM
-- Server version: 10.1.34-MariaDB
-- PHP Version: 7.2.7
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `zavail_database`
--
-- --------------------------------------------------------
--
-- Table structure for table `home_slider`
--
CREATE TABLE `home_slider` (
`id` bigint(20) UNSIGNED NOT NULL,
`caption` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`landingUrl` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`imageUrl` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `home_slider`
--
INSERT INTO `home_slider` (`id`, `caption`, `landingUrl`, `imageUrl`, `created_at`, `updated_at`) VALUES
(1, 'Seedlings', 'google.com', 'https://cottagelife.com/wp-content/uploads/2018/06/shutterstock_609086588-1200x784.jpg', NULL, NULL),
(2, 'Chickens', 'google.com', 'https://i.cbc.ca/1.5156227.1559244815!/fileImage/httpImage/image.jpg_gen/derivatives/16x9_780/chickens.jpg', NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `items`
--
CREATE TABLE `items` (
`id` bigint(20) UNSIGNED NOT NULL,
`itemName` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`itemPrice` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`featuredImage` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`itemCat` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`sellerId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`itemDescription` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `items`
--
INSERT INTO `items` (`id`, `itemName`, `itemPrice`, `featuredImage`, `itemCat`, `sellerId`, `created_at`, `updated_at`, `itemDescription`) VALUES
(1, 'Seedlings', '200', 'https://cottagelife.com/wp-content/uploads/2018/06/shutterstock_609086588-1200x784.jpg', '1', 'directonpc', NULL, NULL, 'Very healthy seedlings'),
(2, 'Birds', '2000', 'https://i.cbc.ca/1.5156227.1559244815!/fileImage/httpImage/image.jpg_gen/derivatives/16x9_780/chickens.jpg', '2', 'eapius', NULL, NULL, 'Strong heavy birds');
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2019_08_30_072401_create_home_slider_table', 1),
(4, '2019_08_30_104339_create_items_table', 2),
(5, '2019_09_07_121403_add_description_to_items_table', 3);
-- --------------------------------------------------------
--
-- Table structure for table `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `home_slider`
--
ALTER TABLE `home_slider`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `items`
--
ALTER TABLE `items`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `home_slider`
--
ALTER TABLE `home_slider`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `items`
--
ALTER TABLE `items`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment