forked from liquibase/liquibase
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- remove non-root elements not allowing other root element than `databaseChangeLog` - added documentation for some elements - Fix: addNotNullConstraint@schemaName + @catalogName was missing - Non-reusable attributeGroups merged into the single elements they are used - New attributeGroups for common attributes: schemaNameAttribute - integerExp made based on xsd:long and non-negative - property@name restricted according to the documentation site - required string parameters made `nonEmptyString` to avoid SQL error for definitions like -`rowCount@expectedRows`, `setTableRemarks@remarks` made mandatory Code changes: - simple clear error message if the root element is other than `databaseChangeLog`: databaseChangeLog expected as root element - 'uniqueConstraint' was misspelled
- Loading branch information
Showing
11 changed files
with
1,155 additions
and
1,061 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2,063 changes: 1,014 additions & 1,049 deletions
2,063
...e-standard/src/main/resources/www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
liquibase-standard/src/test/resources/liquibase/parser/core/xml/comments.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?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 | ||
www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd"> | ||
<changeSet id="1" author=""> | ||
<validCheckSum>1:any | ||
<comment>validCheckSum comment</comment> | ||
</validCheckSum> | ||
<validCheckSum>2:aaafdfadsf</validCheckSum> | ||
<comment>changeSet comment 1</comment> | ||
<sql><comment>sql comment</comment> | ||
SELECT COUNT(*) FROM DATABASECHANGELOG</sql> | ||
<comment>changeSet comment 2</comment> | ||
<sql>SELECT COUNT(*) FROM DATABASECHANGELOGLOCK</sql> | ||
<createProcedure> | ||
<comment>createProcedure comment</comment> | ||
SELECT 1 FROM DATABASECHANGELOG | ||
</createProcedure> | ||
</changeSet> | ||
</databaseChangeLog> |