<?xml version="1.0"?>

<data>
	<tables-sql><![CDATA[create table DLFileVersionPreview (
	mvccVersion LONG default 0 not null,
	ctCollectionId LONG default 0 not null,
	dlFileVersionPreviewId LONG not null,
	groupId LONG,
	companyId LONG,
	fileEntryId LONG,
	fileVersionId LONG,
	previewStatus INTEGER,
	primary key (dlFileVersionPreviewId, ctCollectionId)
);

create table DLStorageQuota (
	mvccVersion LONG default 0 not null,
	dlStorageQuotaId LONG not null primary key,
	companyId LONG,
	storageSize LONG
);]]></tables-sql>
	<sequences-sql><![CDATA[]]></sequences-sql>
	<indexes-sql><![CDATA[create unique index IX_DA3FFE on DLFileVersionPreview (fileEntryId, fileVersionId, ctCollectionId);
create index IX_E43957CD on DLFileVersionPreview (fileVersionId);

create unique index IX_1214035D on DLStorageQuota (companyId);]]></indexes-sql>
</data>