blob: 9ec5510abc0e83de0126ddd34c2c39a4d4c39936 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
<changeSet id="1" author="Kailun Qin">
<createTable tableName="TaskRecord">
<column name="packageID" type="varchar(255)">
<constraints primaryKey="true" nullable="false"/>
</column>
<column name="taskID" type="varchar(255)">
<constraints unique="true" foreignKeyName="CaseRecord.taskID" nullable="false"/>
</column>
<column name="envID" type="varchar(255)">
<constraints nullable="false"/>
</column>
<column name="uploadID" type="varchar(255)">
<constraints nullable="false"/>
</column>
<column name="operID" type="varchar(255)">
<constraints nullable="false"/>
</column>
<column name="funcID" type="varchar(255)">
</column>
<column name="status" type="varchar(255)">
<constraints nullable="false"/>
</column>
<column name="operFinished" type="varchar(255)">
<constraints nullable="false"/>
</column>
<column name="operResult" type="varchar(255)">
<constraints nullable="false"/>
</column>
<column name="OperResultMessage" type="varchar(255)">
</column>
</createTable>
<createTable tableName="CaseRecord">
<column name="taskID" type="varchar(255)">
<constraints primaryKey="true" nullable="false"/>
</column>
<column name="funcID" type="varchar(255)">
</column>
<column name="testID" type="varchar(255)">
</column>
<column name="testResult" type="varchar(255)">
<constraints nullable="false"/>
</column>
<column name="testDescription" type="varchar(255)">
<constraints nullable="false"/>
</column>
</createTable>
</changeSet>
</databaseChangeLog>
|