signal-desktop/ts/sql/migrations/66-add-pni-signature-to-sent-protos.ts

14 lines
336 B
TypeScript
Raw Normal View History

2022-08-15 14:53:33 -07:00
// Copyright 2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2025-03-12 14:45:54 -07:00
import type { Database } from '@signalapp/sqlcipher';
2022-08-15 14:53:33 -07:00
2025-08-06 10:32:08 -07:00
export default function updateToSchemaVersion66(db: Database): void {
db.exec(
`
ALTER TABLE sendLogPayloads
ADD COLUMN hasPniSignatureMessage INTEGER DEFAULT 0 NOT NULL;
`
);
2022-08-15 14:53:33 -07:00
}