updated changelog
This commit is contained in:
parent
0a60cdfde6
commit
fcb645ed77
|
@ -13,13 +13,13 @@
|
||||||
|
|
||||||
- Added more user friendly view collection truncate error message.
|
- Added more user friendly view collection truncate error message.
|
||||||
|
|
||||||
- Added `FieldsList.AddMarshaledJSON([]byte)` helper method to load a serialized json array of objects or a single json object into an existing collection fields list.
|
|
||||||
|
|
||||||
- Added an extra suffix character to the name of autogenerated template migration file for `*test` suffixed collections to prevent acidentally resulting in `_test.go` migration files.
|
- Added an extra suffix character to the name of autogenerated template migration file for `*test` suffixed collections to prevent acidentally resulting in `_test.go` migration files.
|
||||||
|
|
||||||
|
- Added `FieldsList.AddMarshaledJSON([]byte)` helper method to load a serialized json array of objects or a single json object into an existing collection fields list.
|
||||||
|
|
||||||
- Fixed the autogenerated Go migration template when updating a collection ([#5631](https://github.com/pocketbase/pocketbase/discussions/5631)).
|
- Fixed the autogenerated Go migration template when updating a collection ([#5631](https://github.com/pocketbase/pocketbase/discussions/5631)).
|
||||||
|
|
||||||
⚠️ If you have already used a previous prerelease and have autogenerated Go migration files, please check the migration files **`{timestamp}_updated_{collection}.go`** and change manually:
|
⚠️ If you have already used a previous prerelease and have autogenerated Go migration files, please check the migration files named **`{timestamp}_updated_{collection}.go`** and manually change:
|
||||||
|
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
To test that your Go migration files works correctly you can try to start PocketBase with a new temp pb_data, e.g.:
|
To test that your Go migration files work correctly you can try to start PocketBase with a new temp pb_data, e.g.:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
go run . serve --dir="pb_data_temp"
|
go run . serve --dir="pb_data_temp"
|
||||||
|
|
Loading…
Reference in New Issue