Skip to content

Commit 7b8d12a

Browse files
committed
doc: add SQL ALTER fro extra to JSONB type to NEWS
1 parent 98f71c4 commit 7b8d12a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

NEWS.md

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ Please refer to the change log for a full list of changes.
2424
### Libraries
2525

2626
### Postgres databases
27+
To switch to the more efficient data type `jsonb` instead of `json`, use the following SQL statement. Data is preserved. JSONB also has more query and data manipulation features than plain JSON.
28+
```sql
29+
ALTER TABLE events
30+
ALTER COLUMN "extra" SET DATA TYPE jsonb;
31+
```
2732

2833

2934
3.4.0 Feature release (2025-03-14)

0 commit comments

Comments
 (0)