diff --git a/migrations/message_store/00009_addMetaColumn.up.sql b/migrations/message_store/00009_addMetaColumn.up.sql new file mode 100644 index 000000000..f8fc2e44c --- /dev/null +++ b/migrations/message_store/00009_addMetaColumn.up.sql @@ -0,0 +1 @@ +ALTER TABLE message ADD COLUMN meta BLOB; diff --git a/waku/waku_archive/driver/sqlite_driver/migrations.nim b/waku/waku_archive/driver/sqlite_driver/migrations.nim index 89f2aceff..01910ae51 100644 --- a/waku/waku_archive/driver/sqlite_driver/migrations.nim +++ b/waku/waku_archive/driver/sqlite_driver/migrations.nim @@ -10,7 +10,7 @@ import ../../../common/databases/db_sqlite, ../../../common/databases/common logScope: topics = "waku archive migration" -const SchemaVersion* = 8 # increase this when there is an update in the database schema +const SchemaVersion* = 9 # increase this when there is an update in the database schema template projectRoot(): string = currentSourcePath.rsplit(DirSep, 1)[0] / ".." / ".." / ".." / ".."