This commit is contained in:
parent
56c8e2ee1d
commit
ffcaf5e3cf
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user