aboutsummaryrefslogtreecommitdiff
path: root/schema/changelog-5.6.xml
diff options
context:
space:
mode:
Diffstat (limited to 'schema/changelog-5.6.xml')
-rw-r--r--schema/changelog-5.6.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/schema/changelog-5.6.xml b/schema/changelog-5.6.xml
index d7768f8e2..38b206902 100644
--- a/schema/changelog-5.6.xml
+++ b/schema/changelog-5.6.xml
@@ -22,6 +22,9 @@
<column name="description" type="VARCHAR(128)">
<constraints nullable="false" />
</column>
+ <column name="calendarid" type="INT">
+ <constraints nullable="false" />
+ </column>
<column name="from" type="TIMESTAMP">
<constraints nullable="false" />
</column>
@@ -33,6 +36,8 @@
</column>
</createTable>
+ <addForeignKeyConstraint baseTableName="tc_reports" baseColumnNames="calendarid" constraintName="fk_reports_calendarid" referencedTableName="tc_calendars" referencedColumnNames="id" onDelete="CASCADE" />
+
<createTable tableName="tc_user_report">
<column name="userid" type="INT">
<constraints nullable="false" />