diff --git a/atala-prism-sdk/src/commonMain/sqldelight/io.iohk.atala.prism.walletsdk.pluto/data/Message.sq b/atala-prism-sdk/src/commonMain/sqldelight/io.iohk.atala.prism.walletsdk.pluto/data/Message.sq index 1768cc489..52f2879a1 100644 --- a/atala-prism-sdk/src/commonMain/sqldelight/io.iohk.atala.prism.walletsdk.pluto/data/Message.sq +++ b/atala-prism-sdk/src/commonMain/sqldelight/io.iohk.atala.prism.walletsdk.pluto/data/Message.sq @@ -11,7 +11,7 @@ CREATE TABLE Message ( ); insert: -INSERT OR IGNORE INTO Message(id, createdTime, dataJson, `from`, thid, `to`, type, isReceived) +INSERT OR REPLACE INTO Message(id, createdTime, dataJson, `from`, thid, `to`, type, isReceived) VALUES ?; fetchAllMessages: