Panel | ||
---|---|---|
| ||
This section describes how custom database changes can be made, defining those changes in XML files rather that writing SQL directly against the database.
What does this section cover?
|
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<databaseChangeLog> ... <changeSet author="custom_developer" id="custom-db-change-2"> <addColumn tableName="CUSTOMTABLE"> <column name="RENTALID" remarks="The rental related with the custom entity - FK to TRN_RENTALS" type="VARCHAR(32)"/> </addColumn> </changeSet> ... </databaseChangeLog> |
...
Add a Foreign Key Constraint
...