schema_version column version not nullable on Sybase ASE #1387
What version of Flyway are you using?
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
What database are you using (type & version)?
Sybase ASE 15.0.3
What operating system are you using?
What did you do?
(Please include the content causing the issue, any relevant configuration settings, and the command you ran)
What did you expect to see?
schema_version contains a record for the repeatable migration with null values for version
What did you see instead?
java.sql.SQLException: Attempt to insert NULL value into column 'version', table '.....dbo.schema_version'; column does not allow nulls. Update fails.
looked at org.flywaydb.core.internal.dbsupport.sybaseASE.createMetaDataTable.sql and found below
Sybase' default is NOT NULL so the column should be defined as nullable.
The text was updated successfully, but these errors were encountered:
Same for Sybase 15.7.