feat: add some shit
This commit is contained in:
16
pb_migrations/1699807218_updated_invites.js
Normal file
16
pb_migrations/1699807218_updated_invites.js
Normal file
@ -0,0 +1,16 @@
|
||||
/// <reference path="../pb_data/types.d.ts" />
|
||||
migrate((db) => {
|
||||
const dao = new Dao(db)
|
||||
const collection = dao.findCollectionByNameOrId("zfbbb4gbdk9dh6k")
|
||||
|
||||
collection.listRule = ""
|
||||
|
||||
return dao.saveCollection(collection)
|
||||
}, (db) => {
|
||||
const dao = new Dao(db)
|
||||
const collection = dao.findCollectionByNameOrId("zfbbb4gbdk9dh6k")
|
||||
|
||||
collection.listRule = null
|
||||
|
||||
return dao.saveCollection(collection)
|
||||
})
|
Reference in New Issue
Block a user