From 010036a89ffc391fa4a2c999d2ec119aff122597 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Thu, 4 Jul 2019 17:30:42 -0400 Subject: [PATCH] primary.key no default type --- angel_orm/lib/src/migration.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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();