CREATE TABLE Branding ( ProductID TEXT NOT NULL REFERENCES Suites (ProductID),resource_type TEXT NOT NULL,resource_data TEXT NOT NULL,PRIMARY KEY (ProductID, resource_type) )
CREATE TABLE DependencyData( PayloadID TEXT NOT NULL REFERENCES Payloads (PayloadID),PayloadIDb TEXT ,type TEXT NOT NULL ,product_family TEXT, product_name TEXT, version TEXT, PRIMARY KEY (PayloadID,PayloadIDb,type,product_family,product_name,version))
CREATE TABLE EULA_Files( productID TEXT NOT NULL, langCode TEXT NOT NULL,eula TEXT NOT NULL,PRIMARY KEY (productID, langCode) )
CREATE TABLE PayloadData( PayloadID TEXT NOT NULL REFERENCES Payloads (PayloadID),domain TEXT NOT NULL,key TEXT NOT NULL,value TEXT NOT NULL,PRIMARY KEY (PayloadID, domain, key) )
CREATE TABLE Payloads( PayloadID TEXT NOT NULL, payload_family TEXT NOT NULL,payload_name TEXT NOT NULL, payload_version TEXT NOT NULL,payload_type TEXT NOT NULL,PRIMARY KEY (PayloadID) )
CREATE TABLE SuitePayloads( ProductID TEXT NOT NULL REFERENCES Suites (ProductID),PayloadID TEXT NOT NULL REFERENCES Payloads (PayloadID),PRIMARY KEY (ProductID, PayloadID) )
CREATE TABLE Suites( ProductID TEXT NOT NULL, group_name TEXT NOT NULL, group_family TEXT NOT NULL, display_name TEXT NOT NULL, PRIMARY KEY (ProductID) )
CREATE TABLE EULA_Ref( productID TEXT NOT NULL, langCode TEXT NOT NULL, eula_hash TEXT NOT NULL, PRIMARY KEY (productID, langCode) )
CREATE TABLE EULA_Content(eula_hash TEXT NOT NULL, Content TEXT NOT NULL, PRIMARY KEY (eula_hash))
CREATE TABLE IF NOT EXISTS pcd_meta ( key TEXT NOT NULL, value TEXT NOT NULL, PRIMARY KEY (key) )
INSERT OR REPLACE INTO pcd_meta (key, value) VALUES ('schema_version', 2)
INSERT OR REPLACE INTO pcd_meta (key, value) VALUES ('schema_compatibility_version', 1)
INSERT INTO DependencyData VALUES	("{6C98A8B6-8D40-1014-AE3E-EF3F5E8D39AE}", "", "langPack", "InDesign", "Adobe InDesign CS6 Application Base Files", "8.0")
INSERT INTO PayloadData VALUES("{6C98A8B6-8D40-1014-AE3E-EF3F5E8D39AE}", "0" , "ValidationInfo", '<ValidationInfo payloadID="{6C98A8B6-8D40-1014-AE3E-EF3F5E8D39AE}"/>')
INSERT INTO PayloadData VALUES("{6C98A8B6-8D40-1014-AE3E-EF3F5E8D39AE}", "0" , "ValidationSig", "KPsytA4oFPLVHiJSmS4Py5GBPd85KkeXQl83dgGeL81dFXn9yYMpdMkHzUiwSxbUiCxs7lTcgwDN9zp4ehokIH2F84dzyvxMse3PfNCHHuKE9Zv+CPRhaCJYDEBfRkyauxr0tKwgeFnRZ8tTWhqlpTivK8m3HGe7SWhHRRdc+e5Lj2t5csLVMaChvg8DbaoxdzisqubdfMKZl9SusHq5iRHVnYPiElVR4UqYf5nCjbSvvZu0GMEFLM/geub/vStVb65CdkY1saxuO+cgnUc8nlcFX/RJtwPFoFYaBAJPhkyrHIJHNOWpusrx/m4D4DEDeDUZ6izXqYnmUFKoj5Kov7DnPUbjcm2BvFhIDgBgj7KibWt1q+I1NhB144WGk0o/tXGMwsU3JjqU5ZpsZnCTQmYgfaE6sp6ZeQt3vjbh74xadHIOFW2T57sFi+gcSdNytpszblNsr1JLGl6j7ZrDKpvJWyzOVu7j/Gc9kGNrTT8ETBKM0Y+WX/UccFDtkf/Z")
INSERT INTO Payloads VALUES	("{6C98A8B6-8D40-1014-AE3E-EF3F5E8D39AE}", "InDesign", "Adobe InDesign CS6 Common Language Files_AdobeInDesign8CommonLang-en_US", "8.0", "langPack")
INSERT INTO PayloadData VALUES("{6C98A8B6-8D40-1014-AE3E-EF3F5E8D39AE}", "0" , "PayloadInfo", '<PayloadInfo version="6.0.29.0"><BuildInfo>
    <Property name="Created">2012-03-28 22:13:50.233000</Property>
    <Property name="TargetName">AdobeInDesign8CommonLang-en_US</Property>
    <Property name="ProcessorFamily">All</Property>
  </BuildInfo><InstallerProperties>
    <Property name="payloadType">SQLite</Property>
    <Property name="AdobeCode">{6C98A8B6-8D40-1014-AE3E-EF3F5E8D39AE}</Property>
    <Property name="ProductName">Adobe InDesign CS6 Common Language Files (en_US)</Property>
    <Property name="ProductVersion">8.0</Property>
  </InstallerProperties><InstallDir>
    <Platform isFixed="0" name="Default" folderName="">[AdobeCommon]</Platform>
  </InstallDir><Languages>
    <Language>en_US</Language>
    <Language>en_GB</Language>
  </Languages><Satisfies>
    <ProductInfo>
        <Family>InDesign</Family>
        <ProductName>Adobe InDesign CS6 Common Language Files_AdobeInDesign8CommonLang-en_US</ProductName>
    <ProductVersion>8.0</ProductVersion>
    </ProductInfo>
  </Satisfies><Channel enable="1" id="AdobeInDesignCS6CommonLanguageFilesen_US-8.0">
    <DisplayName>Adobe InDesign CS6 Common Language Files (en_US)</DisplayName>
  </Channel><Extends type="langPack">
    <ParentProductInfo minVersion="8.0">
                    <Family>InDesign</Family>
                    <ProductName>Adobe InDesign CS6 Application Base Files</ProductName>
                </ParentProductInfo>
  </Extends><InstallDestinationMetadata relocatableSize="0" sysDriveSize="1366"><Destination>
      <Root>[AdobeCommon]</Root>
      <TotalSize>1366</TotalSize>
      <MaxPathComponent>/HelpCfg/en_US\InDesign.helpcfg</MaxPathComponent>
    </Destination>
    <Assets>
      <Asset flag="0" name="Assets2_1" size="1366"/>
    </Assets>
  </InstallDestinationMetadata><ConflictingProcesses>
	<Win32>
	</Win32>
</ConflictingProcesses><AddRemoveInfo>
    <DisplayVersion>
      <Value lang="en_US">8.0</Value>
      <Value lang="en_GB">8.0</Value>
    </DisplayVersion>
    <DisplayName>
      <Value lang="en_US">Adobe InDesign CS6 Common Language Files (en_US)</Value>
      <Value lang="en_GB">Adobe InDesign CS6 Common Language Files (en_US)</Value>
    </DisplayName>
  </AddRemoveInfo><UserPreferences>0</UserPreferences></PayloadInfo>')
INSERT INTO PayloadData VALUES("{6C98A8B6-8D40-1014-AE3E-EF3F5E8D39AE}", "0" , "WorkflowVersion", "CS6")
INSERT INTO PayloadData VALUES("{6C98A8B6-8D40-1014-AE3E-EF3F5E8D39AE}", "0" , "DEVersion", "6.0")
INSERT INTO PayloadData VALUES("{6C98A8B6-8D40-1014-AE3E-EF3F5E8D39AE}", "0", "ChannelID", "AdobeInDesignCS6CommonLanguageFilesen_US-8.0")
INSERT INTO PayloadData VALUES("{6C98A8B6-8D40-1014-AE3E-EF3F5E8D39AE}", "0", "ChannelInfo", '<Channel enable="1" id="AdobeInDesignCS6CommonLanguageFilesen_US-8.0">
    <DisplayName>Adobe InDesign CS6 Common Language Files (en_US)</DisplayName>
  </Channel>')
