-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Migration to postgresql is broken on table users, column shadow_banned #8384
Comments
Also good to know would be why the Edit: Perhaps because the database it uses needs updating. |
OK, looking at the logs it looks like the bit whether a user is shadow banned is stored as a
This translates to an This certainly isn't the only column of type
or
So why is it a problem with this field? |
I'm guessing it needs to be added here: synapse/scripts/synapse_port_db Lines 69 to 92 in 2ffd678
|
This is because the database is empty, I think. |
yeah the fix is relatively easy. The fact that it got missed in the regression tests is the bigger problem here imho |
The simple fix is up at #8386. |
Description
Migrating from sqlite to postgresql is broken, most probably since version v1.20.0, which introduced shadowbanning
Steps to reproduce
Version information
Homeserver: v1.20.0
Install method: Docker
Platform: Debian 10
Traceback
The text was updated successfully, but these errors were encountered: