Skip to content
Snippets Groups Projects
Commit e7ae421b authored by Sebastian Listl's avatar Sebastian Listl :speech_balloon:
Browse files

Knowledgemanagement db indexes added

parent 4fb16aa1
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,11 @@
<column name="KNOWLEDGEROLESID" type="CHAR(36)">
<constraints primaryKey="true" primaryKeyName="PK_KNOWLEDGEROLES_KNOWLEDGEROLESID"/>
</column>
<column name="KNOWLEDGEMANAGEMENT_ID" type="CHAR(36)"></column>
<column name="KNOWLEDGEMANAGEMENT_ID" type="CHAR(36)"/>
<column name="ROLENAME" type="VARCHAR(100)"/>
</createTable>
<createIndex tableName="KNOWLEDGEROLES" indexName="IDX_KNOWLEDGEROLES_KM_ID">
<column name="KNOWLEDGEMANAGEMENT_ID"/>
</createIndex>
</changeSet>
</databaseChangeLog>
......@@ -16,5 +16,8 @@
<column name="DISCUSSIONTEXT" type="LONGTEXT"/>
<column name="PARENTENTRY" type="CHAR(36)"/>
</createTable>
<createIndex tableName="KNOWLEDGEDISCUSSION" indexName="IDX_KNOWLEDGEDISCUSSION_KM_ID">
<column name="KNOWLEDGEMANAGEMENT_ID"/>
</createIndex>
</changeSet>
</databaseChangeLog>
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="e.pollinger" id="1261195c-ffc1-4abb-a31f-0732823ee0cb">
<changeSet author="e.pollinger" id="bee4e42e-9103-4464-849e-59d8b11c542e">
<createTable tableName="KNOWLEDGELINK">
<column name="KNOWLEDGELINKID" type="CHAR(36)">
<constraints primaryKey="true" primaryKeyName="PK_KNOWLEDGELINK_KNOWLEDGELINKID"/>
......@@ -14,5 +14,8 @@
<column name="ROW_ID" type="CHAR(36)"/>
<column name="OBJECT_TYPE" type="NVARCHAR(100)"/>
</createTable>
<createIndex tableName="KNOWLEDGELINK" indexName="IDX_KNOWLEDGELINK_KM_ID">
<column name="KNOWLEDGEMANAGEMENT_ID"/>
</createIndex>
</changeSet>
</databaseChangeLog>
......@@ -13,5 +13,11 @@
<column name="USER_NEW" type="nvarchar(50)"/>
<column name="USER_EDIT" type="nvarchar(50)"/>
</createTable>
<createIndex tableName="KNOWLEDGETAGLINK" indexName="IDX_KNOWLEDGETAGLINK_TAG_ID">
<column name="KNOWLEDGETAG_ID"/>
</createIndex>
<createIndex tableName="KNOWLEDGETAGLINK" indexName="IDX_KNOWLEDGETAGLINK_KM_ID">
<column name="KNOWLEDGEMANAGEMENT_ID"/>
</createIndex>
</changeSet>
</databaseChangeLog>
......@@ -20,5 +20,5 @@
<include relativeToChangelogFile="true" file="basic/2020.2.2/changelog.xml"/>
<!--enable this only when you definetly want to overwrite the existing data with demo records:-->
<!--<include relativeToChangelogFile="true" file="basic/_demoData/changelog.xml" context="example"/>-->
<include relativeToChangelogFile="true" file="basic/_demoData/changelog.xml" context="example"/>
</databaseChangeLog>
\ No newline at end of file
......@@ -15876,7 +15876,7 @@
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<index v="true" />
<documentation></documentation>
<title></title>
<description></description>
......@@ -15994,7 +15994,7 @@
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<index v="true" />
<documentation></documentation>
<title></title>
<description></description>
......@@ -16328,7 +16328,7 @@
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<index v="true" />
<documentation></documentation>
<title></title>
<description></description>
......@@ -16688,7 +16688,7 @@
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<index v="true" />
<documentation></documentation>
<title></title>
<description></description>
......@@ -16730,7 +16730,7 @@
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<index v="true" />
<documentation></documentation>
<title></title>
<description></description>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment