Better column names
type="${id.type}">
<constraints nullable="false"/>
</column>
- <column name="text"
+ <column name="question_text"
type="${longvarchar.type}">
<constraints nullable="false"/>
</column>
- <column name="type"
+ <column name="field_type"
type="${enum.type}">
<constraints nullable="false"/>
</column>
type="${name.type}">
<constraints nullable="true"/>
</column>
- <column name="order"
+ <column name="position"
type="${int.type}">
<constraints nullable="false"/>
</column>
type="boolean">
<constraints nullable="false"/>
</column>
- <column name="enable_comment"
+ <column name="allow_comment"
type="boolean">
<constraints nullable="false"/>
</column>
<changeSet author="rovats"
id="20170202-1467-2">
- <createTable tableName="survey_response">
+ <createTable tableName="survey_question_response">
<column name="id"
autoIncrement="true"
type="${id.type}">
<constraints nullable="false"
primaryKey="true"
- primaryKeyName="survey_response_pkey"/>
+ primaryKeyName="survey_question_response_pkey"/>
</column>
<column name="survey_instance_id"
type="${id.type}">
