Новые изменения компонентов
This commit is contained in:
parent
2d3d768d3b
commit
5bb4525f63
5 changed files with 399 additions and 286 deletions
20
backend/pb_migrations/1776793202_updated_review_votes.js
Normal file
20
backend/pb_migrations/1776793202_updated_review_votes.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/// <reference path="../pb_data/types.d.ts" />
|
||||
migrate((app) => {
|
||||
const collection = app.findCollectionByNameOrId("pbc_362615506")
|
||||
|
||||
// update collection data
|
||||
unmarshal({
|
||||
"listRule": ""
|
||||
}, collection)
|
||||
|
||||
return app.save(collection)
|
||||
}, (app) => {
|
||||
const collection = app.findCollectionByNameOrId("pbc_362615506")
|
||||
|
||||
// update collection data
|
||||
unmarshal({
|
||||
"listRule": "@request.auth.id != \"\""
|
||||
}, collection)
|
||||
|
||||
return app.save(collection)
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue