new prod env #3
@@ -1,8 +1,12 @@
|
|||||||
/// <reference path="../pb_data/types.d.ts" />
|
/// <reference path="../pb_data/types.d.ts" />
|
||||||
migrate((app) => {
|
migrate((app) => {
|
||||||
|
try {
|
||||||
const collection = app.findCollectionByNameOrId("pbc_4251874343");
|
const collection = app.findCollectionByNameOrId("pbc_4251874343");
|
||||||
|
|
||||||
return app.delete(collection);
|
return app.delete(collection);
|
||||||
|
} catch (e) {
|
||||||
|
console.log("Collection pbc_4251874343 not found, skipping deletion");
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}, (app) => {
|
}, (app) => {
|
||||||
const collection = new Collection({
|
const collection = new Collection({
|
||||||
"createRule": null,
|
"createRule": null,
|
||||||
|
|||||||
Reference in New Issue
Block a user