Modified default field charfield size
This commit is contained in:
parent
877b33b265
commit
8a8588d70c
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue