3
0
Fork 0

Update DatabaseLoader.java

Seats already generated by the panel
This commit is contained in:
Thomas 2021-06-27 22:39:06 +02:00 committed by GitHub
parent cc8e3f5b79
commit 89f4dc4f57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,12 +18,6 @@ public class DatabaseLoader implements IDataLoader {
null
);
service.execute(
"remote",
"CREATE TABLE IF NOT EXISTS seats(id BIGINT(20) NOT NULL AUTO_INCREMENT, show_id VARCHAR(256) NOT NULL, vault_price VARCHAR(256) NOT NULL, date TIMESTAMP NOT NULL, seat INT(11) NOT NULL, uuid VARCHAR(256) NOT NULL, loaded TINYINT(1) DEFAULT 0, paid TINYINT(1) DEFAULT 0, UNIQUE(show_id, date, uuid), UNIQUE(show_id, seat, date), PRIMARY KEY(id))",
null
);
if(ThemeParkConnector.getInstance().getAPI().getConfigurationManager().getBoolean(StorageKey.ACTIONFOTO)) {
service.execute(
"remote",