Fix SQL error
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bea 2022-10-24 21:28:32 +02:00
parent 56c8e2ee1d
commit ffcaf5e3cf
2 changed files with 5 additions and 5 deletions

View File

@ -60,15 +60,15 @@ public class DatabaseManager
List<String> newTables = new ArrayList<>(); List<String> newTables = new ArrayList<>();
newTables.add("CREATE TABLE IF NOT EXISTS players (" + newTables.add("CREATE TABLE IF NOT EXISTS players (" +
"player text NOT NULL," + "player TEXT NOT NULL," +
"main_pronoun_id INTEGER DEFAULT -1," + "main_pronoun_id INTEGER DEFAULT -1," +
"secondary_pronoun_id INTEGER DEFAULT -1" + "secondary_pronoun_id INTEGER DEFAULT -1" +
");"); ");");
newTables.add("CREATE TABLE IF NOT EXISTS pronouns (" + newTables.add("CREATE TABLE IF NOT EXISTS pronouns (" +
"pronoun text," + "pronoun TEXT," +
"format text," + "format TEXT," +
"\"id integer" + "id INTEGER" +
");"); ");");
for(String sql : newTables) for(String sql : newTables)