Last active
August 24, 2020 08:18
-
-
Save erlangparasu/c991d94eba226d5aedac90d1a3a3281b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Laravel default tables | |
CREATE TABLE `cache` ( | |
`key` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`value` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, | |
`expiration` int(11) NOT NULL, | |
UNIQUE KEY `cache_key_unique` (`key`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci | |
CREATE TABLE `migrations` ( | |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, | |
`migration` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`batch` int(11) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci | |
CREATE TABLE `notifications` ( | |
`id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`type` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`notifiable_type` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`notifiable_id` bigint(20) unsigned NOT NULL, | |
`data` text COLLATE utf8mb4_unicode_ci NOT NULL, | |
`read_at` timestamp NULL DEFAULT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL, | |
PRIMARY KEY (`id`), | |
KEY `notifications_notifiable_type_notifiable_id_index` (`notifiable_type`,`notifiable_id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci | |
CREATE TABLE `failed_jobs` ( | |
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, | |
`connection` text COLLATE utf8mb4_unicode_ci NOT NULL, | |
`queue` text COLLATE utf8mb4_unicode_ci NOT NULL, | |
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, | |
`exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL, | |
`failed_at` timestamp NOT NULL DEFAULT current_timestamp(), | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci | |
CREATE TABLE `jobs` ( | |
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, | |
`queue` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, | |
`attempts` tinyint(3) unsigned NOT NULL, | |
`reserved_at` int(10) unsigned DEFAULT NULL, | |
`available_at` int(10) unsigned NOT NULL, | |
`created_at` int(10) unsigned NOT NULL, | |
PRIMARY KEY (`id`), | |
KEY `jobs_queue_index` (`queue`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci | |
CREATE TABLE `sessions` ( | |
`id` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`user_id` bigint(20) unsigned DEFAULT NULL, | |
`ip_address` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | |
`user_agent` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, | |
`payload` text COLLATE utf8mb4_unicode_ci NOT NULL, | |
`last_activity` int(11) NOT NULL, | |
UNIQUE KEY `sessions_id_unique` (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci | |
CREATE TABLE `password_resets` ( | |
`email` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`token` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
KEY `password_resets_email_index` (`email`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci | |
CREATE TABLE `users` ( | |
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, | |
`name` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`email` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`email_verified_at` timestamp NULL DEFAULT NULL, | |
`password` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | |
`created_at` datetime DEFAULT NULL, | |
`updated_at` datetime DEFAULT NULL, | |
UNIQUE KEY `users_email_unique` (`email`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment