From c7e06ab4e7618d9a3fe8aa744dd48bf3f7d8754c Mon Sep 17 00:00:00 2001 From: s1fr0 <28568419+s1fr0@users.noreply.github.com> Date: Fri, 4 Feb 2022 23:04:13 +0100 Subject: [PATCH] Restore previous migration script --- .../message/00002_addSenderTimeStamp.up.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waku/v2/node/storage/migration/migrations_scripts/message/00002_addSenderTimeStamp.up.sql b/waku/v2/node/storage/migration/migrations_scripts/message/00002_addSenderTimeStamp.up.sql index 5b6606bc8..ce263d143 100644 --- a/waku/v2/node/storage/migration/migrations_scripts/message/00002_addSenderTimeStamp.up.sql +++ b/waku/v2/node/storage/migration/migrations_scripts/message/00002_addSenderTimeStamp.up.sql @@ -13,12 +13,12 @@ DROP TABLE Message; CREATE TABLE IF NOT EXISTS Message( id BLOB PRIMARY KEY, - receiverTimestamp INTEGER NOT NULL, + receiverTimestamp REAL NOT NULL, contentTopic BLOB NOT NULL, pubsubTopic BLOB NOT NULL, payload BLOB, version INTEGER NOT NULL, - senderTimestamp INTEGER NOT NULL + senderTimestamp REAL NOT NULL ) WITHOUT ROWID;