signal-desktop/ts/sql/migrations/1460-attachment-duration.ts

12 lines
294 B
TypeScript
Raw Normal View History

2025-09-15 10:37:40 -07:00
// Copyright 2025 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import type { WritableDB } from '../Interface';
export default function updateToSchemaVersion1460(db: WritableDB): void {
db.exec(`
ALTER TABLE message_attachments
ADD COLUMN duration REAL;
`);
}