<?php
// phpcs:ignoreFile
/**
 * @file
 * A database agnostic dump for testing purposes.
 *
 * This file was generated by the Drupal 9.2.6 db-tools.php script.
 */

use Drupal\Core\Database\Database;

$connection = Database::getConnection();

$connection->schema()->createTable('password_policy_role', array(
  'fields' => array(
    'pid' => array(
      'type' => 'int',
      'not null' => TRUE,
      'size' => 'normal',
      'default' => '0',
    ),
    'rid' => array(
      'type' => 'int',
      'not null' => TRUE,
      'size' => 'normal',
      'default' => '0',
    ),
  ),
  'primary key' => array(
    'rid',
    'pid',
  ),
  'mysql_character_set' => 'utf8mb3',
));

$connection->insert('password_policy_role')
->fields(array(
  'pid',
  'rid',
))
->values(array(
  'pid' => '1',
  'rid' => '2',
))
->values(array(
  'pid' => '1',
  'rid' => '3',
))
->values(array(
  'pid' => '1',
  'rid' => '4',
))
->values(array(
  'pid' => '2',
  'rid' => '3',
))
->execute();
