media_migration-8.x-1.x-dev/tests/fixtures/drupal7_media/watchdog.php
tests/fixtures/drupal7_media/watchdog.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('watchdog', array(
'fields' => array(
'wid' => array(
'type' => 'serial',
'not null' => TRUE,
'size' => 'normal',
),
'uid' => array(
'type' => 'int',
'not null' => TRUE,
'size' => 'normal',
'default' => '0',
),
'type' => array(
'type' => 'varchar',
'not null' => TRUE,
'length' => '64',
'default' => '',
),
'message' => array(
'type' => 'text',
'not null' => TRUE,
'size' => 'big',
),
'variables' => array(
'type' => 'blob',
'not null' => TRUE,
'size' => 'big',
),
'severity' => array(
'type' => 'int',
'not null' => TRUE,
'size' => 'tiny',
'default' => '0',
'unsigned' => TRUE,
),
'link' => array(
'type' => 'varchar',
'not null' => FALSE,
'length' => '255',
'default' => '',
),
'location' => array(
'type' => 'text',
'not null' => TRUE,
'size' => 'normal',
),
'referer' => array(
'type' => 'text',
'not null' => FALSE,
'size' => 'normal',
),
'hostname' => array(
'type' => 'varchar',
'not null' => TRUE,
'length' => '128',
'default' => '',
),
'timestamp' => array(
'type' => 'int',
'not null' => TRUE,
'size' => 'normal',
'default' => '0',
),
),
'primary key' => array(
'wid',
),
'indexes' => array(
'type' => array(
'type',
),
'uid' => array(
'uid',
),
'severity' => array(
'severity',
),
),
'mysql_character_set' => 'utf8',
));
