New rewrite with svelte and pocketbase
This commit is contained in:
parent
72bfc2ed89
commit
160617af60
95 changed files with 4402 additions and 0 deletions
20
backend/pb_migrations/1744119600_updated_set.js
Normal file
20
backend/pb_migrations/1744119600_updated_set.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
/// <reference path="../pb_data/types.d.ts" />
|
||||
migrate((app) => {
|
||||
const collection = app.findCollectionByNameOrId("pbc_3912384429")
|
||||
|
||||
// update collection data
|
||||
unmarshal({
|
||||
"name": "mtg_set"
|
||||
}, collection)
|
||||
|
||||
return app.save(collection)
|
||||
}, (app) => {
|
||||
const collection = app.findCollectionByNameOrId("pbc_3912384429")
|
||||
|
||||
// update collection data
|
||||
unmarshal({
|
||||
"name": "set"
|
||||
}, collection)
|
||||
|
||||
return app.save(collection)
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue