media_migration-8.x-1.x-dev/tests/fixtures/drupal7_media/date_format_type.php
tests/fixtures/drupal7_media/date_format_type.php
<?php
// phpcs:ignoreFile
/**
* @file
* A database agnostic dump for testing purposes.
*
* This file was generated by the Drupal 9.2.10 db-tools.php script.
*/
use Drupal\Core\Database\Database;
$connection = Database::getConnection();
$connection->schema()->createTable('date_format_type', array(
'fields' => array(
'type' => array(
'type' => 'varchar',
'not null' => TRUE,
'length' => '64',
),
'title' => array(
'type' => 'varchar',
'not null' => TRUE,
'length' => '255',
),
'locked' => array(
'type' => 'int',
'not null' => TRUE,
'size' => 'tiny',
'default' => '0',
),
),
'primary key' => array(
'type',
),
'indexes' => array(
'title' => array(
array(
'title',
'191',
),
),
),
'mysql_character_set' => 'utf8',
));
$connection->insert('date_format_type')
->fields(array(
'type',
'title',
'locked',
))
->values(array(
'type' => 'long',
'title' => 'Long',
'locked' => '1',
))
->values(array(
'type' => 'medium',
'title' => 'Medium',
'locked' => '1',
))
->values(array(
'type' => 'short',
'title' => 'Short',
'locked' => '1',
))
->execute();
