SnapshotCommand creates bad snapshots for unique constarints cases.
Description
Use createDB.sql to create test schema Case: 1. Run create snapshot command on test schema. 2. You should get something like attached snapshot1.json. 3. Save snapshot1.json as snapshot2.json 4. Compare snapshots using diff command. 5. Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to liquibase.structure.core.Column will be thrown.
Use createDB.sql to create test schema
Case:
1. Run create snapshot command on test schema.
2. You should get something like attached snapshot1.json.
3. Save snapshot1.json as snapshot2.json
4. Compare snapshots using diff command.
5. Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to liquibase.structure.core.Column will be thrown.