Skip to content

Commit

Permalink
fix: add meta to sqlite migration scripts (#2675)
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-ramos authored May 7, 2024
1 parent 22f64bb commit 82f9599
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions migrations/message_store/00009_addMetaColumn.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE message ADD COLUMN meta BLOB;
2 changes: 1 addition & 1 deletion waku/waku_archive/driver/sqlite_driver/migrations.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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] / ".." / ".." / ".." / ".."
Expand Down

0 comments on commit 82f9599

Please sign in to comment.