RawSqlMigration constructor
RawSqlMigration({})
Create a raw SQL migration
version - Migration version number
description - Human-readable description
upSql - Single SQL statement for up migration
downSql - Single SQL statement for down migration (optional)
upSqlStatements - Multiple SQL statements for up migration (alternative to upSql)
downSqlStatements - Multiple SQL statements for down migration (alternative to downSql)
Implementation
RawSqlMigration({
required int version,
required String description,
this.upSql = '',
this.downSql,
this.upSqlStatements,
this.downSqlStatements,
}) : _version = version,
_description = description;