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

Commit 177415f

Browse files
Remove NOT NULL
Former-commit-id: df00bff
1 parent 2c9e42c commit 177415f

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");
117+
.getDbPrefix() + "shops ADD extra LONGTEXT");
118118
} else {
119119
ps = db.getConnection().prepareStatement("ALTER TABLE " + plugin
120-
.getDbPrefix() + "shops ADD COLUMN extra TEXT NOT NULL");
120+
.getDbPrefix() + "shops ADD COLUMN extra TEXT");
121121
}
122122
Util.debugLog("Setting up the column EXTRA...");
123123
ps.execute();

0 commit comments

Comments
 (0)