set IndexType.none as default

This commit is contained in:
Martin Zander 2024-07-08 11:53:45 +02:00
parent 564fc5953c
commit d9e9fe1c38

View file

@ -21,7 +21,7 @@ class MigrationColumn extends Column {
MigrationColumn(ColumnType type, MigrationColumn(ColumnType type,
{bool isNullable = true, {bool isNullable = true,
super.length, super.length,
IndexType indexType = IndexType.standardIndex, IndexType indexType = IndexType.none,
dynamic defaultValue}) dynamic defaultValue})
: super(type: type, isNullable: isNullable, defaultValue: defaultValue) { : super(type: type, isNullable: isNullable, defaultValue: defaultValue) {
_nullable = isNullable; _nullable = isNullable;