Hi there !
I’m trying to write migrations using percolate:migrations, following the documentation. Perhaps, i’m facing this actually :
In shell :
> Migrations.migrateTo('latest');
>
server side :
I20191029-20:47:22.911(1) (migrations_server.js:80) Migrations: Not migrating, control is locked.
Here the code :
Migrations.add({
version: 1,
up() {
Pipelines.insert({
label: "Test label",
description: "test description",
opportunity_qualification: "Low",
important: true,
crm_steps: "Proposal",
author: "test",
createdAt: new Date()
});
}
});
I do not undestand what’s happening. Any advice ? Thanks a lot for your support
EDIT : My bad, i found this :
$ meteor mongo
db.migrations.update({_id:"control"}, {$set:{"locked":false}});
exit