@Override
	public int getMinimumVersion() throws IOException {
		// The database object may be null during initial database creation,
		// although such an instance is private to the static create method.
		if (isVersioned) {
			if (versionedDb == null) {
				throw new IllegalStateException();
			}
			return versionedDb.getMinimumVersion();
		}
		if (privateDb == null) {
			throw new IllegalStateException();
		}
		return privateDb.getCurrentVersion();
	}
Create a new LocalDatabaseItem and an empty updateable BufferFile which may be used
to create the initial database content.
 @param fileSystem file system
@param propertyFile database property file
@param bufferSize buffer size to be used for new database
@param contentType user content type
@param fileID unique file ID or null
@param user if versioned, user used for permission check and history data
@param projectPath path of project in versioned database checkout is done (may be null for non-versioned database)
@return open updateable empty BufferFile for initial content writing
@throws IOException if error occurs
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/LocalDatabaseItem.java