1
0
forked from mirror/misskey

enhance: playのscriptの文字数制限を緩和

This commit is contained in:
syuilo 2023-01-19 09:06:11 +09:00
parent 85f3df4c0e
commit afc0be6790
3 changed files with 13 additions and 1 deletions

View File

@ -13,6 +13,7 @@ You should also include the user name that made the change.
### Improvements ### Improvements
- Playのプリセットを追加 - Playのプリセットを追加
- Playのscriptの文字数制限を緩和
- AiScript GUIの強化 - AiScript GUIの強化
- 存在しないカスタム絵文字をテキストで表示するように - 存在しないカスタム絵文字をテキストで表示するように

View File

@ -0,0 +1,11 @@
export class flashScriptLength1674086433654 {
name = 'flashScriptLength1674086433654'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "flash" ALTER COLUMN "script" TYPE character varying(32768)`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "flash" ALTER COLUMN "script" TYPE character varying(16384)`);
}
}

View File

@ -44,7 +44,7 @@ export class Flash {
public user: User | null; public user: User | null;
@Column('varchar', { @Column('varchar', {
length: 16384, length: 32768,
}) })
public script: string; public script: string;