My fork of airsonic with experimental fixes and improvements. See branch "custom"
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package org.airsonic.player.spring;
|
|
|
|
|
|
|
|
import liquibase.exception.DatabaseException;
|
|
|
|
|
|
|
|
public class HsqlDatabase extends liquibase.database.core.HsqlDatabase {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean supportsSchemas() {
|
|
|
|
try {
|
|
|
|
if (getDatabaseMajorVersion() < 2) {
|
|
|
|
return false;
|
|
|
|
} else {
|
|
|
|
return super.supportsSchemas();
|
|
|
|
}
|
|
|
|
} catch (DatabaseException e) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|