Skip to content

Commit

Permalink
Fix BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
evalor committed Jul 12, 2019
1 parent 747da02 commit 35c17da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DDLBuilder/Blueprints/TableBlueprint.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ function colChar(string $name, ?int $limit = null): ColumnBlueprint
*/
function colVarChar(string $name, ?int $limit = null): ColumnBlueprint
{
$this->columns[$name] = new ColumnBlueprint($name, DataType::CHAR);
$this->columns[$name] = new ColumnBlueprint($name, DataType::VARCHAR);
$this->columns[$name]->setColumnLimit($limit);
return $this->columns[$name];
}
Expand Down

0 comments on commit 35c17da

Please sign in to comment.