mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 08:13:09 -06:00
Fix migrations
This commit is contained in:
parent
d2177536fa
commit
94fd5f291b
|
|
@ -32,7 +32,7 @@ func LoadRemoveRoomsTable(m *sqlutil.Migrations) {
|
||||||
|
|
||||||
func UpRemoveRoomsTable(tx *sql.Tx) error {
|
func UpRemoveRoomsTable(tx *sql.Tx) error {
|
||||||
_, err := tx.Exec(`
|
_, err := tx.Exec(`
|
||||||
DROP TABLE IF EXIST federationsender_rooms;
|
DROP TABLE IF EXISTS federationsender_rooms;
|
||||||
`)
|
`)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("failed to execute upgrade: %w", err)
|
return fmt.Errorf("failed to execute upgrade: %w", err)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue