diff --git a/database/schema/blueprint.go b/database/schema/blueprint.go index 551f1425c..430cd2b35 100644 --- a/database/schema/blueprint.go +++ b/database/schema/blueprint.go @@ -107,8 +107,8 @@ func (r *Blueprint) Integer(column string) schema.ColumnDefinition { return columnImpl } -func (r *Blueprint) Primary(column ...string) { - r.indexCommand(constants.CommandPrimary, column) +func (r *Blueprint) Primary(columns ...string) { + r.indexCommand(constants.CommandPrimary, columns) } func (r *Blueprint) SetTable(name string) { diff --git a/support/docker/docker.go b/support/docker/docker.go index 796015e45..7d106b122 100644 --- a/support/docker/docker.go +++ b/support/docker/docker.go @@ -15,7 +15,7 @@ const ( TestModelNormal // Switch this value to control the test model. - TestModel = TestModelMinimum + TestModel = TestModelNormal ) type ContainerType string