mirror of
				https://github.com/v2board/v2board.git
				synced 2025-11-01 01:41:47 +08:00 
			
		
		
		
	update sql
This commit is contained in:
		| @@ -7,6 +7,17 @@ SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'; | ||||
|  | ||||
| SET NAMES utf8mb4; | ||||
|  | ||||
| DROP TABLE IF EXISTS `failed_jobs`; | ||||
| 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; | ||||
|  | ||||
| DROP TABLE IF EXISTS `v2_coupon`; | ||||
| CREATE TABLE `v2_coupon` ( | ||||
|   `id` int(11) NOT NULL AUTO_INCREMENT, | ||||
|   | ||||
| @@ -143,3 +143,13 @@ CHANGE `tls` `tls` tinyint(4) NOT NULL DEFAULT '0' AFTER `server_port`; | ||||
|  | ||||
| ALTER TABLE `v2_server` | ||||
| ADD `rules` text COLLATE 'utf8_general_ci' NULL AFTER `settings`; | ||||
|  | ||||
| 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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user