From 8a8588d70cf1a6bd4c9f84842339b953c1749250 Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Tue, 26 Apr 2016 03:30:03 +0200 Subject: [PATCH] Modified default field charfield size --- src/CoreFields/CharField.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CoreFields/CharField.php b/src/CoreFields/CharField.php index 5534f0a..f01479c 100644 --- a/src/CoreFields/CharField.php +++ b/src/CoreFields/CharField.php @@ -16,7 +16,7 @@ class CharField extends PhangoField { /** * Size of field in database */ - public $size=20; + public $size=255; public $form='PhangoApp\PhaModels\Forms\BaseForm'; /** @@ -27,7 +27,7 @@ class CharField extends PhangoField { * */ - function __construct($size=20) + function __construct($size=255) { $this->size=$size; @@ -70,4 +70,4 @@ class CharField extends PhangoField { } -?> \ No newline at end of file +?>