Skip to content

Commit

Permalink
Merge pull request #3681 from cocosolos/migration-module-fix
Browse files Browse the repository at this point in the history
Replace mysql python module with mariadb
  • Loading branch information
claywar authored Mar 18, 2023
2 parents 9bc6b5f + 48508fb commit 913f34a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/migrations/035_escha_portals_unlock.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import array
import mysql.connector
import mariadb

def migration_name():
return "Adding eschan_portals column to char_unlocks table"
Expand All @@ -23,5 +23,5 @@ def migrate(cur, db):
ADD COLUMN `eschan_portals` BLOB DEFAULT NULL AFTER `waypoints`;"
)
db.commit()
except mysql.connector.Error as err:
except mariadb.Error as err:
print("Something went wrong: {}".format(err))

0 comments on commit 913f34a

Please sign in to comment.