Closed dcolley closed 1 year ago
Running migrations we see:
% node migrate.js DataStore() { pruning: { age: 7776000, interval: 3600 } } Running migrations... { event: 'migrating', name: '20230628090200-drop-column-id.js' } Dropping column memberServiceId from table member_service_node /Users/derek/Sites/metaspan/IBP/ibp-monitor-0.1.0-dev/node_modules/umzug/lib/umzug.js:151 throw new MigrationError({ direction: 'up', ...params }, e); ^ MigrationError: Migration 20230628090200-drop-column-id.js (up) failed: Original error: Cannot delete property 'meta' of [object Array] at /Users/derek/Sites/metaspan/IBP/ibp-monitor-0.1.0-dev/node_modules/umzug/lib/umzug.js:151:27 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Umzug.runCommand (/Users/derek/Sites/metaspan/IBP/ibp-monitor-0.1.0-dev/node_modules/umzug/lib/umzug.js:107:20) at async file:///Users/derek/Sites/metaspan/IBP/ibp-monitor-0.1.0-dev/data/migrate.js:105:3 { cause: TypeError: Cannot delete property 'meta' of [object Array] at Query.formatResults (/Users/derek/Sites/metaspan/IBP/ibp-monitor-0.1.0-dev/node_modules/sequelize/lib/dialects/mariadb/query.js:110:7) at Query.run (/Users/derek/Sites/metaspan/IBP/ibp-monitor-0.1.0-dev/node_modules/sequelize/lib/dialects/mariadb/query.js:73:17) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async /Users/derek/Sites/metaspan/IBP/ibp-monitor-0.1.0-dev/node_modules/sequelize/lib/sequelize.js:315:16 at async MySQLQueryInterface.removeColumn (/Users/derek/Sites/metaspan/IBP/ibp-monitor-0.1.0-dev/node_modules/sequelize/lib/dialects/mysql/query-interface.js:27:23)
Downgrade the mariadb package to mariadb@2 https://jira.mariadb.org/projects/CONJS/issues/CONJS-243?filter=allopenissues
Running migrations we see:
Downgrade the mariadb package to mariadb@2 https://jira.mariadb.org/projects/CONJS/issues/CONJS-243?filter=allopenissues