Skip to content
Snippets Groups Projects
Commit 85e63ece authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

fix(dal) Fix wrong schema version

parent b9296d62
No related branches found
No related tags found
No related merge requests found
...@@ -218,7 +218,7 @@ module.exports = { ...@@ -218,7 +218,7 @@ module.exports = {
PEER: CommonConstants.PEER, PEER: CommonConstants.PEER,
CURRENT_DB_VERSION: 27, // Should be set with 'max(keys(MetaDAL.migration)) + 1' CURRENT_DB_VERSION: 28, // Should be set with 'max(keys(MetaDAL.migration)) + 1'
NETWORK: { NETWORK: {
MAX_MEMBERS_TO_FORWARD_TO_FOR_SELF_DOCUMENTS: 10, MAX_MEMBERS_TO_FORWARD_TO_FOR_SELF_DOCUMENTS: 10,
......
...@@ -195,9 +195,9 @@ export class MetaDAL extends AbstractSQLite<DBMeta> { ...@@ -195,9 +195,9 @@ export class MetaDAL extends AbstractSQLite<DBMeta> {
25: async () => {}, 25: async () => {},
// Drop old table 'txs' (replaced by a file 'txs.db') // Drop old table 'txs' (replaced by a file 'txs.db')
26: async () => { 26: "BEGIN;" +
await this.exec("BEGIN;" + "DROP TABLE IF EXISTS txs;" + "COMMIT;"); "DROP TABLE IF EXISTS txs;" +
}, "COMMIT;",
// Add columns 'issuer' and 'recipient' in transaction table - see issue #1442 // Add columns 'issuer' and 'recipient' in transaction table - see issue #1442
27: async () => { 27: async () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment