Skip to content

Instantly share code, notes, and snippets.

@jvanhoesen
Created April 13, 2021 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jvanhoesen/1ce49027a4bd62e8127982254bf1b14d to your computer and use it in GitHub Desktop.
Save jvanhoesen/1ce49027a4bd62e8127982254bf1b14d to your computer and use it in GitHub Desktop.
Defines installation process and references
<?xml version="1.0" encoding="utf-8"?>
<Root>
<DataTypes>
<Data name="System" path="Data\System" execute="Always" hidden="true" />
<Data name="Demo" path="Data\Demo" execute="Install" hidden="false" />
<Data name="Template" path="Data\Template" execute="Install" hidden="false" />
</DataTypes>
<Schema>
<File path="database_procs_mysql.sql" execute="Always" scriptType="NativeSql" serverType="MySql" Weight="10" description="Setting up DB functions and procedures" />
<File path="database_procs_mssql.sql" execute="Always" scriptType="NativeSql" serverType="MSSqlServer" Weight="10" description="Setting up DB functions and procedures" />
<File path="database_schema.xml" execute="Always" scriptType="SchemaFirst" description="Creating new tables and columns" />
//Line below added for example
<File path="database_schema_custom.xml" execute="Always" scriptType="SchemaFirst" description="Creating new custom tables and columns" />
<File path="database_update.sql" execute="Always" scriptType="VirtualSql" description="Running upgrade scripts" />
<File path="database_schema.xml" execute="Always" scriptType="SchemaLast" description="Adjusting tables and their relations" />
<File path="database_afterschema.sql" execute="Always" scriptType="VirtualSql" description="Running scripts after schema" />
<File path="" execute="Always" scriptType="GenerateDateInfo" description="Generate table DateInfo required by BI" />
<File path="" execute="Always" scriptType="InitializeDistributedCache" description="Initialize DistributedCache table required by Microsoft.Extensions.Caching.Distributed.IDistributedCache" />
</Schema>
<DefaultConfiguration>
<NewDatabase>
<Company id="1" name="System" data="System" />
<Company id="2" name="Company" data="" parent="1" />
</NewDatabase>
<NewCompany name="Company" data="" parent="1" />
</DefaultConfiguration>
<ComponentVersions>
<Version type="Primary" name="Application" value="21.100.0127" />
</ComponentVersions>
<KnownVersions>
<Version>19.121.0006</Version>
<Version>19.216.0003</Version>
<Version>20.114.0020</Version>
<Version>20.208.0031</Version>
</KnownVersions>
</Root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment