Bugfix/MySQL RecordManager Varchar Size (#2192)

change varchar size to 255
pull/2199/head
Henry Heng 2024-04-16 00:31:57 +01:00 committed by GitHub
parent a71785f0e2
commit fec087c54d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -192,8 +192,8 @@ class MySQLRecordManager implements RecordManagerInterface {
await this.queryRunner.manager.query(`create table if not exists \`${this.tableName}\` (
\`uuid\` varchar(36) primary key default (UUID()),
\`key\` varchar(36) not null,
\`namespace\` varchar(36) not null,
\`key\` varchar(255) not null,
\`namespace\` varchar(255) not null,
\`updated_at\` DOUBLE precision not null,
\`group_id\` varchar(36),
unique key \`unique_key_namespace\` (\`key\`,