Instance Method
primaryKey(_:named:)
Add a
PRIMARY KEY constraint to the table.@discardableResult func primaryKey(_ columns: String..., named constraintName: String? = nil) -> Self
Parameters
columnsOne or more columns to include in the primary key.
constraintNameAn optional name to give the constraint.