Skip to content

Commit dc8708c

Browse files
committed
fix manual SQL upgrade to 26.03 with pgsql
1 parent 676de24 commit dc8708c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

content/archive/26.03/upgrade.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ If using MySQL, PosgreSQL or SQLite, you can enable the option [`update_sql_sche
1515
If you are using other database, or prefer to update manually the SQL schema:
1616

1717
``` sql
18-
ALTER TABLE rosterusers ADD COLUMN approved boolean NOT NULL AFTER subscription;
18+
ALTER TABLE rosterusers ADD COLUMN approved boolean NOT NULL DEFAULT false;
19+
ALTER TABLE rosterusers ADD COLUMN approved DROP DEFAULT;
1920
```
2021

2122
## <a name="sasl"></a> SASL channel binding changes

0 commit comments

Comments
 (0)