diff options
| author | taichan <40626578+tai-cha@users.noreply.github.com> | 2024-07-30 15:29:24 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-30 15:29:24 +0900 |
| commit | 7e9c38d6fbdab1691056f411787801d87701c593 (patch) | |
| tree | 26b7db8143035e79e4772337292080eef18e765f /packages/backend/src/models/DriveFile.ts | |
| parent | Bump version to 2024.7.0-rc.5 (diff) | |
| download | sharkey-7e9c38d6fbdab1691056f411787801d87701c593.tar.gz sharkey-7e9c38d6fbdab1691056f411787801d87701c593.tar.bz2 sharkey-7e9c38d6fbdab1691056f411787801d87701c593.zip | |
Fix(backend): ドライブのファイルのurl, uri, src の上限引き上げ (#14323)
* enhance: ドライブurlの上限文字数を引き上げ
* Fix: おそらくフォーク独自の変更のように見える部分(metaに関する変更部分)を削除
* UPDATE changelog
* Add SPDX prefixes
* Fix: インデックスの張り直しを消した
---------
Co-authored-by: slofp <phy.public@gmail.com>
Diffstat (limited to 'packages/backend/src/models/DriveFile.ts')
| -rw-r--r-- | packages/backend/src/models/DriveFile.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/backend/src/models/DriveFile.ts b/packages/backend/src/models/DriveFile.ts index 438b32f79a..7b03e3e494 100644 --- a/packages/backend/src/models/DriveFile.ts +++ b/packages/backend/src/models/DriveFile.ts @@ -82,7 +82,7 @@ export class MiDriveFile { public storedInternal: boolean; @Column('varchar', { - length: 512, + length: 1024, comment: 'The URL of the DriveFile.', }) public url: string; @@ -124,13 +124,13 @@ export class MiDriveFile { @Index() @Column('varchar', { - length: 512, nullable: true, + length: 1024, nullable: true, comment: 'The URI of the DriveFile. it will be null when the DriveFile is local.', }) public uri: string | null; @Column('varchar', { - length: 512, nullable: true, + length: 1024, nullable: true, }) public src: string | null; |