Skip to content
This repository was archived by the owner on Dec 5, 2021. It is now read-only.

Commit 383a06f

Browse files
replace with single quote
Former-commit-id: eee9563
1 parent d151237 commit 383a06f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/maxgamer/quickshop/database/DatabaseHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ private void checkColumns() {
114114
// Reremake - DataStorage @TODO needs testing
115115
if (plugin.getDatabase().getCore() instanceof MySQLCore) {
116116
ps = db.getConnection().prepareStatement("ALTER TABLE " + plugin
117-
.getDbPrefix() + "shops ADD extra LONGTEXT NOT NULL DEFAULT `{}`");
117+
.getDbPrefix() + "shops ADD extra LONGTEXT NOT NULL DEFAULT '{}'");
118118
} else {
119119
ps = db.getConnection().prepareStatement("ALTER TABLE " + plugin
120-
.getDbPrefix() + "shops ADD COLUMN extra TEXT NOT NULL DEFAULT `{}`");
120+
.getDbPrefix() + "shops ADD COLUMN extra TEXT NOT NULL DEFAULT '{}'");
121121
}
122122
Util.debugLog("Setting up the column EXTRA...");
123123
ps.execute();

0 commit comments

Comments
 (0)