Files
Desktop/ts/sql/migrations/1670-drop-call-link-epoch.std.ts
2026-03-30 12:42:37 -07:00

13 lines
395 B
TypeScript

// Copyright 2025 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import type { WritableDB } from '../Interface.std.ts';
import { sql } from '../util.std.ts';
export default function updateToSchemaVersion1670(db: WritableDB): void {
const [query] = sql`
ALTER TABLE callLinks DROP COLUMN epoch;
ALTER TABLE defunctCallLinks DROP COLUMN epoch;
`;
db.exec(query);
}