Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. try (Connection connection = Main.getPlugin().getHikariDataManager().getDatasource().getConnection();
  2. PreparedStatement statement = connection.prepareStatement("create table if not exists players " +
  3. "(id text primary key, coins int not null, days int not null," +
  4. " hours int not null, minutes int not null")) {
  5. statement.execute();
  6. } catch (SQLException exception) {
  7. exception.printStackTrace();
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement