Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try (Connection connection = Main.getPlugin().getHikariDataManager().getDatasource().getConnection();
- PreparedStatement statement = connection.prepareStatement("create table if not exists players " +
- "(id text primary key, coins int not null, days int not null," +
- " hours int not null, minutes int not null")) {
- statement.execute();
- } catch (SQLException exception) {
- exception.printStackTrace();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement