From 69edfff43ec433c35af2f7b554f36f8e480f07d4 Mon Sep 17 00:00:00 2001 From: none Date: Thu, 6 Apr 2023 16:53:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E9=BB=98=E8=AE=A4=E7=9A=84?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- databases/v1.0-beta.1.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/databases/v1.0-beta.1.sql b/databases/v1.0-beta.1.sql index 2c1a2cd..9af13f5 100644 --- a/databases/v1.0-beta.1.sql +++ b/databases/v1.0-beta.1.sql @@ -79,6 +79,10 @@ CREATE TABLE `admin_roles` ( UNIQUE KEY `slug` (`slug`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +INSERT INTO `admin_roles` (`name`, `slug`, `created_at`, `updated_at`) +VALUES + ('超级管理角色', 'super-role', '2023-02-24 06:19:15', '2023-02-24 06:19:15'); + # Dump of table admin_user_role @@ -91,6 +95,10 @@ CREATE TABLE `admin_user_role` ( KEY `role_id` (`role_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; +INSERT INTO `admin_user_role` (`admin_id`, `role_id`) +VALUES + (1, 1); + # Dump of table admin_users @@ -112,6 +120,10 @@ CREATE TABLE `admin_users` ( UNIQUE KEY `administrators_email_unique` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +INSERT INTO `admin_users` (`name`, `email`, `password`, `salt`, `login_ip`, `login_at`, `is_ban_login`, `login_times`, `created_at`, `updated_at`) +VALUES + ('超级管理员', 'admin@playedu.xyz', 'd771587aa711961304fa8c1a5273f491', 'VROkTh', '', '2023-04-06 16:51:17', 0, 0, '2023-02-19 18:10:12', '2023-04-06 16:51:17'); + # Dump of table app_config