Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add meta to sqlite migration scripts #2675

Merged
merged 2 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading