Skip to content

Commit c8fdbdf

Browse files
authored
fix: self host mysql (#3080)
1 parent a04267a commit c8fdbdf

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

src/backend/clients/database/migrations/mysql/mysql_mig_1.sql

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ CREATE TABLE IF NOT EXISTS `access_token_permissions` (
6060
`extra` json DEFAULT NULL,
6161
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
6262
PRIMARY KEY (`id`)
63-
) ENGINE=InnoDB AUTO_INCREMENT=43870 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
63+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
6464
/*!40101 SET character_set_client = @saved_cs_client */;
6565

6666
CALL _puter_add_col('access_token_permissions', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -100,7 +100,7 @@ CREATE TABLE IF NOT EXISTS `ai_usage` (
100100
KEY `idx_ai_usage_user_timestamp` (`user_id`,`created_at`),
101101
CONSTRAINT `ai_usage_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
102102
CONSTRAINT `ai_usage_ibfk_2` FOREIGN KEY (`app_id`) REFERENCES `apps` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
103-
) ENGINE=InnoDB AUTO_INCREMENT=935038 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
103+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
104104
/*!40101 SET character_set_client = @saved_cs_client */;
105105

106106
CALL _puter_add_col('ai_usage', 'id', '`id` int NOT NULL AUTO_INCREMENT');
@@ -131,7 +131,7 @@ CREATE TABLE IF NOT EXISTS `app_filetype_association` (
131131
KEY `app_id` (`app_id`),
132132
KEY `type` (`type`),
133133
CONSTRAINT `app_filetype_association_ibfk_1` FOREIGN KEY (`app_id`) REFERENCES `apps` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
134-
) ENGINE=InnoDB AUTO_INCREMENT=28897 DEFAULT CHARSET=utf8mb3;
134+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
135135
/*!40101 SET character_set_client = @saved_cs_client */;
136136

137137
CALL _puter_add_col('app_filetype_association', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -157,7 +157,7 @@ CREATE TABLE IF NOT EXISTS `app_opens` (
157157
KEY `idx_app_opens_app_user` (`app_uid`,`user_id`),
158158
CONSTRAINT `app_opens_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
159159
CONSTRAINT `app_opens_ibfk_3` FOREIGN KEY (`app_uid`) REFERENCES `apps` (`uid`) ON DELETE CASCADE ON UPDATE CASCADE
160-
) ENGINE=InnoDB AUTO_INCREMENT=14510891 DEFAULT CHARSET=utf8mb3;
160+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
161161
/*!40101 SET character_set_client = @saved_cs_client */;
162162

163163
CALL _puter_add_col('app_opens', '_id', '`_id` bigint unsigned NOT NULL AUTO_INCREMENT');
@@ -231,7 +231,7 @@ CREATE TABLE IF NOT EXISTS `apps` (
231231
KEY `idx_apps_listing_timestamp` (`approved_for_listing`,`timestamp` DESC),
232232
CONSTRAINT `apps_ibfk_1` FOREIGN KEY (`owner_user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
233233
CONSTRAINT `fk_apps_app_owner` FOREIGN KEY (`app_owner`) REFERENCES `apps` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
234-
) ENGINE=InnoDB AUTO_INCREMENT=169455 DEFAULT CHARSET=utf8mb3;
234+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
235235
/*!40101 SET character_set_client = @saved_cs_client */;
236236

237237
CALL _puter_add_col('apps', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -278,7 +278,7 @@ CREATE TABLE IF NOT EXISTS `audit_dev_to_app_permissions` (
278278
KEY `fk_audit_dev_to_app_permissions_app_id` (`app_id`),
279279
CONSTRAINT `fk_audit_dev_to_app_permissions_app_id` FOREIGN KEY (`app_id`) REFERENCES `apps` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
280280
CONSTRAINT `fk_audit_dev_to_app_permissions_user_id` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
281-
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
281+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
282282
/*!40101 SET character_set_client = @saved_cs_client */;
283283

284284
CALL _puter_add_col('audit_dev_to_app_permissions', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -314,7 +314,7 @@ CREATE TABLE IF NOT EXISTS `audit_user_to_app_permissions` (
314314
KEY `fk_audit_user_to_app_permissions_app_id` (`app_id`),
315315
CONSTRAINT `fk_audit_user_to_app_permissions_app_id` FOREIGN KEY (`app_id`) REFERENCES `apps` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
316316
CONSTRAINT `fk_audit_user_to_app_permissions_user_id` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
317-
) ENGINE=InnoDB AUTO_INCREMENT=7352860 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
317+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
318318
/*!40101 SET character_set_client = @saved_cs_client */;
319319

320320
CALL _puter_add_col('audit_user_to_app_permissions', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -350,7 +350,7 @@ CREATE TABLE IF NOT EXISTS `audit_user_to_group_permissions` (
350350
KEY `group_id` (`group_id`),
351351
CONSTRAINT `audit_user_to_group_permissions_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
352352
CONSTRAINT `audit_user_to_group_permissions_ibfk_2` FOREIGN KEY (`group_id`) REFERENCES `group` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
353-
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
353+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
354354
/*!40101 SET character_set_client = @saved_cs_client */;
355355

356356
CALL _puter_add_col('audit_user_to_group_permissions', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -384,7 +384,7 @@ CREATE TABLE IF NOT EXISTS `audit_user_to_user_permissions` (
384384
PRIMARY KEY (`id`),
385385
KEY `fk_audit_user_to_user_permissions_issuer_user_id` (`issuer_user_id`),
386386
KEY `fk_audit_user_to_user_permissions_holder_user_id` (`holder_user_id`)
387-
) ENGINE=InnoDB AUTO_INCREMENT=981 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
387+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
388388
/*!40101 SET character_set_client = @saved_cs_client */;
389389

390390
CALL _puter_add_col('audit_user_to_user_permissions', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -437,7 +437,7 @@ CREATE TABLE IF NOT EXISTS `feedback` (
437437
PRIMARY KEY (`id`),
438438
KEY `user_id` (`user_id`),
439439
CONSTRAINT `feedback_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
440-
) ENGINE=InnoDB AUTO_INCREMENT=815 DEFAULT CHARSET=utf8mb3;
440+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
441441
/*!40101 SET character_set_client = @saved_cs_client */;
442442

443443
CALL _puter_add_col('feedback', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -503,7 +503,7 @@ CREATE TABLE IF NOT EXISTS `fsentries` (
503503
CONSTRAINT `fsentries_ibfk_2` FOREIGN KEY (`parent_id`) REFERENCES `fsentries` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
504504
CONSTRAINT `fsentries_ibfk_3` FOREIGN KEY (`shortcut_to`) REFERENCES `fsentries` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
505505
CONSTRAINT `fsentries_ibfk_4` FOREIGN KEY (`associated_app_id`) REFERENCES `apps` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
506-
) ENGINE=InnoDB AUTO_INCREMENT=37893498 DEFAULT CHARSET=latin1;
506+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
507507
/*!40101 SET character_set_client = @saved_cs_client */;
508508

509509
CALL _puter_add_col('fsentries', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -555,7 +555,7 @@ CREATE TABLE IF NOT EXISTS `fsentry_versions` (
555555
KEY `user_id` (`user_id`),
556556
CONSTRAINT `fsentry_versions_ibfk_1` FOREIGN KEY (`fsentry_id`) REFERENCES `fsentries` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
557557
CONSTRAINT `fsentry_versions_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
558-
) ENGINE=InnoDB AUTO_INCREMENT=24662498 DEFAULT CHARSET=utf8mb3;
558+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
559559
/*!40101 SET character_set_client = @saved_cs_client */;
560560

561561
CALL _puter_add_col('fsentry_versions', 'id', '`id` bigint NOT NULL AUTO_INCREMENT');
@@ -623,7 +623,7 @@ CREATE TABLE IF NOT EXISTS `group` (
623623
UNIQUE KEY `uid` (`uid`),
624624
KEY `owner_user_id` (`owner_user_id`),
625625
CONSTRAINT `group_ibfk_1` FOREIGN KEY (`owner_user_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
626-
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
626+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
627627
/*!40101 SET character_set_client = @saved_cs_client */;
628628

629629
CALL _puter_add_col('group', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -651,7 +651,7 @@ CREATE TABLE IF NOT EXISTS `jct_user_group` (
651651
KEY `group_id` (`group_id`),
652652
CONSTRAINT `jct_user_group_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
653653
CONSTRAINT `jct_user_group_ibfk_2` FOREIGN KEY (`group_id`) REFERENCES `group` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
654-
) ENGINE=InnoDB AUTO_INCREMENT=3513197 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
654+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
655655
/*!40101 SET character_set_client = @saved_cs_client */;
656656

657657
CALL _puter_add_col('jct_user_group', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -681,7 +681,7 @@ CREATE TABLE IF NOT EXISTS `kv` (
681681
KEY `user_id` (`user_id`),
682682
KEY `kkey_hash` (`kkey_hash`),
683683
CONSTRAINT `kv_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
684-
) ENGINE=InnoDB AUTO_INCREMENT=101649 DEFAULT CHARSET=utf8mb3;
684+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
685685
/*!40101 SET character_set_client = @saved_cs_client */;
686686

687687
CALL _puter_add_col('kv', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -744,7 +744,7 @@ CREATE TABLE IF NOT EXISTS `notification` (
744744
UNIQUE KEY `uid` (`uid`),
745745
KEY `user_id` (`user_id`),
746746
CONSTRAINT `notification_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
747-
) ENGINE=InnoDB AUTO_INCREMENT=164238 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
747+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
748748
/*!40101 SET character_set_client = @saved_cs_client */;
749749

750750
CALL _puter_add_col('notification', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -770,7 +770,7 @@ CREATE TABLE IF NOT EXISTS `old_app_names` (
770770
KEY `app_uid` (`app_uid`),
771771
KEY `old_app_names_app_name` (`name`),
772772
CONSTRAINT `old_app_names_ibfk_1` FOREIGN KEY (`app_uid`) REFERENCES `apps` (`uid`) ON DELETE CASCADE
773-
) ENGINE=InnoDB AUTO_INCREMENT=45405 DEFAULT CHARSET=utf8mb3;
773+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
774774
/*!40101 SET character_set_client = @saved_cs_client */;
775775

776776
CALL _puter_add_col('old_app_names', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -792,7 +792,7 @@ CREATE TABLE IF NOT EXISTS `per_user_credit` (
792792
PRIMARY KEY (`id`),
793793
UNIQUE KEY `user_id` (`user_id`),
794794
CONSTRAINT `per_user_credit_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
795-
) ENGINE=InnoDB AUTO_INCREMENT=388003 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
795+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
796796
/*!40101 SET character_set_client = @saved_cs_client */;
797797

798798
CALL _puter_add_col('per_user_credit', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -847,7 +847,7 @@ CREATE TABLE IF NOT EXISTS `sessions` (
847847
KEY `fk_sessions_user_id` (`user_id`),
848848
KEY `uuid` (`uuid`),
849849
CONSTRAINT `fk_sessions_user_id` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
850-
) ENGINE=InnoDB AUTO_INCREMENT=2293466 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
850+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
851851
/*!40101 SET character_set_client = @saved_cs_client */;
852852

853853
CALL _puter_add_col('sessions', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -875,7 +875,7 @@ CREATE TABLE IF NOT EXISTS `share` (
875875
KEY `issuer_user_id` (`issuer_user_id`),
876876
KEY `recipient_email` (`recipient_email`),
877877
CONSTRAINT `share_ibfk_1` FOREIGN KEY (`issuer_user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
878-
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
878+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
879879
/*!40101 SET character_set_client = @saved_cs_client */;
880880

881881
CALL _puter_add_col('share', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -904,7 +904,7 @@ CREATE TABLE IF NOT EXISTS `storage_audit` (
904904
PRIMARY KEY (`id`),
905905
KEY `fk_storage_audit_user_id` (`user_id`),
906906
CONSTRAINT `fk_storage_audit_user_id` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
907-
) ENGINE=InnoDB AUTO_INCREMENT=22080 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
907+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
908908
/*!40101 SET character_set_client = @saved_cs_client */;
909909

910910
CALL _puter_add_col('storage_audit', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -948,7 +948,7 @@ CREATE TABLE IF NOT EXISTS `subdomains` (
948948
CONSTRAINT `subdomains_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
949949
CONSTRAINT `subdomains_ibfk_2` FOREIGN KEY (`root_dir_id`) REFERENCES `fsentries` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
950950
CONSTRAINT `subdomains_ibfk_3` FOREIGN KEY (`associated_app_id`) REFERENCES `apps` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
951-
) ENGINE=InnoDB AUTO_INCREMENT=171443 DEFAULT CHARSET=utf8mb3;
951+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
952952
/*!40101 SET character_set_client = @saved_cs_client */;
953953

954954
CALL _puter_add_col('subdomains', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -983,7 +983,7 @@ CREATE TABLE IF NOT EXISTS `thread` (
983983
KEY `idx_thread_uid` (`uid`),
984984
CONSTRAINT `thread_ibfk_1` FOREIGN KEY (`parent_uid`) REFERENCES `thread` (`uid`) ON DELETE CASCADE ON UPDATE CASCADE,
985985
CONSTRAINT `thread_ibfk_2` FOREIGN KEY (`owner_user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
986-
) ENGINE=InnoDB AUTO_INCREMENT=1987 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
986+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
987987
/*!40101 SET character_set_client = @saved_cs_client */;
988988

989989
CALL _puter_add_col('thread', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -1090,7 +1090,7 @@ CREATE TABLE IF NOT EXISTS `user` (
10901090
KEY `idx_user_signup_origin` (`signup_origin`),
10911091
KEY `idx_user_signup_server` (`signup_server`),
10921092
CONSTRAINT `fk_user_referred_by` FOREIGN KEY (`referred_by`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
1093-
) ENGINE=InnoDB AUTO_INCREMENT=2987224 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
1093+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
10941094
/*!40101 SET character_set_client = @saved_cs_client */;
10951095

10961096
CALL _puter_add_col('user', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -1218,7 +1218,7 @@ CREATE TABLE IF NOT EXISTS `user_oidc_providers` (
12181218
KEY `user_id` (`user_id`),
12191219
KEY `idx_user_oidc_providers_provider` (`provider`),
12201220
CONSTRAINT `user_oidc_providers_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
1221-
) ENGINE=InnoDB AUTO_INCREMENT=51584 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
1221+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
12221222
/*!40101 SET character_set_client = @saved_cs_client */;
12231223

12241224
CALL _puter_add_col('user_oidc_providers', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');
@@ -1319,7 +1319,7 @@ CREATE TABLE IF NOT EXISTS `user_update_audit` (
13191319
PRIMARY KEY (`id`),
13201320
KEY `fk_user_update_audit_user_id` (`user_id`),
13211321
CONSTRAINT `fk_user_update_audit_user_id` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
1322-
) ENGINE=InnoDB AUTO_INCREMENT=8078 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
1322+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
13231323
/*!40101 SET character_set_client = @saved_cs_client */;
13241324

13251325
CALL _puter_add_col('user_update_audit', 'id', '`id` int unsigned NOT NULL AUTO_INCREMENT');

0 commit comments

Comments
 (0)