primary.key no default type
This commit is contained in:
parent
68a349c877
commit
010036a89f
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue