private Connection getConnection(Constructor<?> constructor, Path file) {
            try {
                return (Connection) constructor.newInstance("jdbc:h2:" + file.toString(), new Properties());
            } catch (ReflectiveOperationException e) {
                throw new RuntimeException(e);
            }
        }
Migrates the old (version 1) H2 database to version 2.

See <a href="http://www.h2database.com/html/migration-to-v2.html">here</a> for more info.
common/src/main/java/me/lucko/luckperms/common/storage/implementation/sql/connection/file/H2ConnectionFactory.java