1
0
Fork 0
mirror of https://github.com/airsonic/airsonic.git synced 2025-10-03 09:49:17 +02:00

In HSQLDB 2, 'all VARCHAR column type declaration require a size' by default. To change the behavior, append 'sql.enforce_size=false' to the default JDBC URL. http://hsqldb.org/doc/guide/dbproperties-chapt.html#N1580D

Signed-off-by: Iwao AVE! <harawata@gmail.com>
This commit is contained in:
Iwao AVE! 2019-05-02 20:31:22 +09:00 committed by François-Xavier Thomas
parent ea467ff557
commit 0de8e6face

View file

@ -287,7 +287,7 @@ public class SettingsService {
}
public static String getDefaultJDBCUrl() {
return "jdbc:hsqldb:file:" + getAirsonicHome().getPath() + "/db/" + getFileSystemAppName();
return "jdbc:hsqldb:file:" + getAirsonicHome().getPath() + "/db/" + getFileSystemAppName() + ";sql.enforce_size=false";
}
public static int getDefaultUPnPPort() {