mirror of
https://github.com/BreizhHardware/sansdomainefixe.xyz.git
synced 2026-01-18 21:47:21 +01:00
23 lines
591 B
JavaScript
23 lines
591 B
JavaScript
/// <reference path="../pb_data/types.d.ts" />
|
|
migrate((db) => {
|
|
const dao = new Dao(db)
|
|
const collection = dao.findCollectionByNameOrId("69ugenu27jv7al7")
|
|
|
|
collection.listRule = ""
|
|
collection.createRule = ""
|
|
collection.updateRule = ""
|
|
collection.deleteRule = ""
|
|
|
|
return dao.saveCollection(collection)
|
|
}, (db) => {
|
|
const dao = new Dao(db)
|
|
const collection = dao.findCollectionByNameOrId("69ugenu27jv7al7")
|
|
|
|
collection.listRule = null
|
|
collection.createRule = null
|
|
collection.updateRule = null
|
|
collection.deleteRule = null
|
|
|
|
return dao.saveCollection(collection)
|
|
})
|