mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-23 14:46:40 +09:00
enhance: playのscriptの文字数制限を緩和
This commit is contained in:
parent
85f3df4c0e
commit
afc0be6790
@ -13,6 +13,7 @@ You should also include the user name that made the change.
|
||||
|
||||
### Improvements
|
||||
- Playのプリセットを追加
|
||||
- Playのscriptの文字数制限を緩和
|
||||
- AiScript GUIの強化
|
||||
- 存在しないカスタム絵文字をテキストで表示するように
|
||||
|
||||
|
@ -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)`);
|
||||
}
|
||||
}
|
@ -44,7 +44,7 @@ export class Flash {
|
||||
public user: User | null;
|
||||
|
||||
@Column('varchar', {
|
||||
length: 16384,
|
||||
length: 32768,
|
||||
})
|
||||
public script: string;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user