We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ec0982 commit 3a929fdCopy full SHA for 3a929fd
src/sql/migrations.rs
@@ -1138,6 +1138,19 @@ CREATE INDEX msgs_status_updates_index2 ON msgs_status_updates (uid);
1138
.await?;
1139
}
1140
1141
+ inc_and_check(&mut migration_version, 128)?;
1142
+ if dbversion < migration_version {
1143
+ sql.execute_migration(
1144
+ "ALTER TABLE chats_contacts
1145
+ ADD COLUMN timestamp NOT NULL DEFAULT 0;
1146
+ ALTER TABLE chats_contacts
1147
+ ADD COLUMN is_tombstone NOT NULL DEFAULT FALSE;
1148
+ ",
1149
+ migration_version,
1150
+ )
1151
+ .await?;
1152
+ }
1153
+
1154
let new_version = sql
1155
.get_raw_config_int(VERSION_CFG)
1156
.await?
0 commit comments