Fix snapshot sequence name

This commit is contained in:
Neil Alexander 2021-04-21 14:01:14 +01:00
parent 42b3dc5abe
commit efec056a8f
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -199,7 +199,7 @@ func UpStateBlocksRefactor(tx *sql.Tx) error {
if _, err = tx.Exec(`
DROP TABLE _roomserver_state_snapshots;
DROP SEQUENCE roomserver_state_snapshots_nid_seq;
DROP SEQUENCE roomserver_state_snapshot_nid_seq;
`); err != nil {
return fmt.Errorf("tx.Exec (delete old snapshot table): %w", err)
}