Modified default field charfield size

This commit is contained in:
Antonio de la Rosa 2016-04-26 03:30:03 +02:00
parent 877b33b265
commit 8a8588d70c

View file

@ -16,7 +16,7 @@ class CharField extends PhangoField {
/** /**
* Size of field in database * Size of field in database
*/ */
public $size=20; public $size=255;
public $form='PhangoApp\PhaModels\Forms\BaseForm'; 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; $this->size=$size;