diff --git a/angel_orm/lib/src/migration.dart b/angel_orm/lib/src/migration.dart index a96e9572..159537a0 100644 --- a/angel_orm/lib/src/migration.dart +++ b/angel_orm/lib/src/migration.dart @@ -35,9 +35,7 @@ class Column { class PrimaryKey extends Column { const PrimaryKey({ColumnType columnType}) - : super( - type: columnType ?? ColumnType.serial, - indexType: IndexType.primaryKey); + : super(type: columnType, indexType: IndexType.primaryKey); } const Column primaryKey = PrimaryKey();