forked from Qortal/qortal
Fix status
This commit is contained in:
parent
050886a496
commit
e885a69688
@ -1019,7 +1019,7 @@ public class HSQLDBDatabaseUpdates {
|
||||
|
||||
stmt.execute("CREATE TABLE ArbitraryResourcesCache (service SMALLINT NOT NULL, "
|
||||
+ "name RegisteredName NOT NULL, identifier VARCHAR(64), size INT NOT NULL, "
|
||||
+ "status INTEGER, created_when EpochMillis NOT NULL, updated_when EpochMillis, "
|
||||
+ "status INTEGER DEFAULT 1, created_when EpochMillis NOT NULL, updated_when EpochMillis, "
|
||||
+ "PRIMARY KEY (service, name, identifier))");
|
||||
// For finding resources by service.
|
||||
stmt.execute("CREATE INDEX ArbitraryResourcesServiceIndex ON ArbitraryResourcesCache (service)");
|
||||
@ -1057,4 +1057,4 @@ public class HSQLDBDatabaseUpdates {
|
||||
LOGGER.info(() -> String.format("HSQLDB repository updated to version %d", databaseVersion + 1));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user