app/Db/Drivers/Mysql/Schema.php
Reference to undeclared property \App\Db\Drivers\Mysql\Schema->db
Open
Open
return new ColumnSchemaBuilder($type, $length, $this->db);
- Exclude checks
Class extends undeclared class \yii\db\mysql\Schema
(Did you mean class \App\Db\Drivers\Mysql\Schema or class \App\Db\Drivers\Pgsql\Schema) Open
Open
class Schema extends \yii\db\mysql\Schema
- Exclude checks
Call with 3 arg(s) to \App\Db\Drivers\Mysql\ColumnSchemaBuilder::__construct()
which only takes 0 arg(s) defined at /code/app/Db/Drivers/Mysql/ColumnSchemaBuilder.php:18
Open
Open
return new ColumnSchemaBuilder($type, $length, $this->db);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @since 2.0.6
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param string $type type of the column. See [[ColumnSchemaBuilder::$type]].
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
use \App\Db\Drivers\SchemaTrait;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Create a column schema builder instance giving the type and value precision.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return new ColumnSchemaBuilder($type, $length, $this->db);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @param array|int|string $length length or precision of the column. See [[ColumnSchemaBuilder::$length]].
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* This method may be overridden by child classes to create a DBMS-specific column schema builder.
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
{
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function createColumnSchemaBuilder($type, $length = null)
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @return ColumnSchemaBuilder column schema builder instance
- Exclude checks