Contao\CoreBundle\Test\Doctrine\Schema\DcaSchemaProviderTest::createSchemaProvider PHP Method

createSchemaProvider() public method

Provides the data for the schema test.
public createSchemaProvider ( ) : array
return array
    public function createSchemaProvider()
    {
        return [[['tl_member' => ['TABLE_FIELDS' => ['id' => "`id` int(10) NOT NULL default '0'", 'pid' => '`pid` int(10) NULL', 'title' => "`title` varchar(128) NOT NULL default ''", 'teaser' => '`teaser` tinytext NULL', 'description' => '`description` text NULL', 'content' => '`content` mediumtext NULL', 'price' => "`price` decimal(6,2) NOT NULL default '0.00'", 'thumb' => '`thumb` tinyblob NULL', 'image' => '`image` blob NULL', 'attachment' => '`attachment` mediumblob NULL', 'published' => "`published` char(1) NOT NULL default ''"]]]], [['tl_member' => ['SCHEMA_FIELDS' => [['name' => 'id', 'type' => 'integer'], ['name' => 'pid', 'type' => 'integer', 'notnull' => false], ['name' => 'title', 'type' => 'string', 'length' => 128], ['name' => 'teaser', 'type' => 'text', 'notnull' => false, 'length' => MySqlPlatform::LENGTH_LIMIT_TINYTEXT], ['name' => 'description', 'type' => 'text', 'notnull' => false, 'length' => MySqlPlatform::LENGTH_LIMIT_TEXT], ['name' => 'content', 'type' => 'text', 'notnull' => false, 'length' => MySqlPlatform::LENGTH_LIMIT_MEDIUMTEXT], ['name' => 'price', 'type' => 'decimal', 'precision' => 6, 'scale' => 2, 'default' => '0.00'], ['name' => 'thumb', 'type' => 'blob', 'notnull' => false, 'length' => MySqlPlatform::LENGTH_LIMIT_TINYBLOB], ['name' => 'image', 'type' => 'blob', 'notnull' => false, 'length' => MySqlPlatform::LENGTH_LIMIT_BLOB], ['name' => 'attachment', 'type' => 'blob', 'notnull' => false, 'length' => MySqlPlatform::LENGTH_LIMIT_MEDIUMBLOB], ['name' => 'published', 'type' => 'string', 'fixed' => true, 'length' => 1]]]]], [[], ['tl_member' => ['TABLE_FIELDS' => ['id' => "`id` int(10) NOT NULL default '0'", 'pid' => '`pid` int(10) NULL', 'title' => "`title` varchar(128) NOT NULL default ''", 'teaser' => '`teaser` tinytext NULL', 'description' => '`description` text NULL', 'content' => '`content` mediumtext NULL', 'price' => "`price` decimal(6,2) NOT NULL default '0.00'", 'thumb' => '`thumb` tinyblob NULL', 'image' => '`image` blob NULL', 'attachment' => '`attachment` mediumblob NULL', 'published' => "`published` char(1) NOT NULL default ''"]]]]];
    }