mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-21 21:45:11 +00:00
enhance: playのscriptの文字数制限を緩和
This commit is contained in:
parent
85f3df4c0e
commit
afc0be6790
3 changed files with 13 additions and 1 deletions
|
@ -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の強化
|
||||||
- 存在しないカスタム絵文字をテキストで表示するように
|
- 存在しないカスタム絵文字をテキストで表示するように
|
||||||
|
|
||||||
|
|
|
@ -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;
|
public user: User | null;
|
||||||
|
|
||||||
@Column('varchar', {
|
@Column('varchar', {
|
||||||
length: 16384,
|
length: 32768,
|
||||||
})
|
})
|
||||||
public script: string;
|
public script: string;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue