mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
fix: conform with linter
This commit is contained in:
parent
62725a5db3
commit
2c9ba8bc45
@ -533,7 +533,7 @@ class MySQLSchemaManager extends DBSchemaManager
|
||||
//$parts=Array('datatype'=>'int', 'precision'=>11, 'null'=>'not null', 'default'=>(int)$this->default);
|
||||
//DB::requireField($this->tableName, $this->name, "int(11) not null default '{$this->defaultVal}'");
|
||||
$width = $this->shouldUseIntegerWidth() ? '(11)' : '';
|
||||
return "int$width not null" . $this->defaultClause($values);
|
||||
return 'int' . $width . ' not null' . $this->defaultClause($values);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user