Use TEXT over STRING

pull/267/head
Beaudan 6 years ago
parent e63e9b9053
commit 3522513590

@ -426,15 +426,15 @@ async function updateToSchemaVersion6(currentVersion, instance) {
await instance.run(
`CREATE TABLE lastHashes(
snode STRING PRIMARY KEY,
hash STRING,
snode TEXT PRIMARY KEY,
hash TEXT,
expiresAt INTEGER
);`
);
await instance.run(
`CREATE TABLE seenMessages(
hash STRING PRIMARY KEY,
hash TEXT PRIMARY KEY,
expiresAt INTEGER
);`
);

Loading…
Cancel
Save