-- --------------------------------------------------------
-- Host:                         localhost
-- Versión del servidor:         10.1.37-MariaDB - mariadb.org binary distribution
-- SO del servidor:              Win64
-- HeidiSQL Versión:             12.6.0.6765
-- --------------------------------------------------------

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;


-- Volcando estructura de base de datos para discord_bot
DROP DATABASE IF EXISTS `discord_bot`;
CREATE DATABASE IF NOT EXISTS `discord_bot` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `discord_bot`;

-- Volcando estructura para tabla discord_bot.autorole
DROP TABLE IF EXISTS `autorole`;
CREATE TABLE IF NOT EXISTS `autorole` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guildId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `roleId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `requirement` int(11) DEFAULT NULL,
  `isActive` tinyint(1) NOT NULL DEFAULT '1',
  `createdAt` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  `updatedAt` datetime(3) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `AutoRole_guildId_type_idx` (`guildId`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.autorole: ~0 rows (aproximadamente)
INSERT INTO `autorole` (`id`, `guildId`, `roleId`, `type`, `requirement`, `isActive`, `createdAt`, `updatedAt`) VALUES
	('cmf8bi9kr0000ccw14rj0tw91', '1361710144538411169', '1411348146386370632', 'welcome', NULL, 1, '2025-09-06 13:46:42.555', '2025-09-06 13:46:42.555');

-- Volcando estructura para tabla discord_bot.guild
DROP TABLE IF EXISTS `guild`;
CREATE TABLE IF NOT EXISTS `guild` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `discordId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `createdAt` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  PRIMARY KEY (`id`),
  UNIQUE KEY `Guild_discordId_key` (`discordId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.guild: ~0 rows (aproximadamente)

-- Volcando estructura para tabla discord_bot.guildgrowth
DROP TABLE IF EXISTS `guildgrowth`;
CREATE TABLE IF NOT EXISTS `guildgrowth` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `guildId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `date` datetime(3) NOT NULL,
  `memberCount` int(11) NOT NULL,
  `botCount` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.guildgrowth: ~0 rows (aproximadamente)
INSERT INTO `guildgrowth` (`id`, `guildId`, `date`, `memberCount`, `botCount`) VALUES
	(1, '1361710144538411169', '2025-09-08 21:50:00.131', 7, 1);

-- Volcando estructura para tabla discord_bot.guildmodule
DROP TABLE IF EXISTS `guildmodule`;
CREATE TABLE IF NOT EXISTS `guildmodule` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guildId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `enabled` tinyint(1) NOT NULL DEFAULT '1',
  `config` text COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `GuildModule_guildId_fkey` (`guildId`),
  CONSTRAINT `GuildModule_guildId_fkey` FOREIGN KEY (`guildId`) REFERENCES `guild` (`id`) ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.guildmodule: ~0 rows (aproximadamente)

-- Volcando estructura para tabla discord_bot.guilduser
DROP TABLE IF EXISTS `guilduser`;
CREATE TABLE IF NOT EXISTS `guilduser` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guildId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `userId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `joinedAt` datetime(3) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `GuildUser_guildId_fkey` (`guildId`),
  KEY `GuildUser_userId_fkey` (`userId`),
  CONSTRAINT `GuildUser_guildId_fkey` FOREIGN KEY (`guildId`) REFERENCES `guild` (`id`) ON UPDATE CASCADE,
  CONSTRAINT `GuildUser_userId_fkey` FOREIGN KEY (`userId`) REFERENCES `user` (`id`) ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.guilduser: ~0 rows (aproximadamente)

-- Volcando estructura para tabla discord_bot.guilduserrole
DROP TABLE IF EXISTS `guilduserrole`;
CREATE TABLE IF NOT EXISTS `guilduserrole` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guildUserId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `roleId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `GuildUserRole_guildUserId_fkey` (`guildUserId`),
  KEY `GuildUserRole_roleId_fkey` (`roleId`),
  CONSTRAINT `GuildUserRole_guildUserId_fkey` FOREIGN KEY (`guildUserId`) REFERENCES `guilduser` (`id`) ON UPDATE CASCADE,
  CONSTRAINT `GuildUserRole_roleId_fkey` FOREIGN KEY (`roleId`) REFERENCES `role` (`id`) ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.guilduserrole: ~0 rows (aproximadamente)

-- Volcando estructura para tabla discord_bot.moderationlog
DROP TABLE IF EXISTS `moderationlog`;
CREATE TABLE IF NOT EXISTS `moderationlog` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `action` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `userId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guildId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `moderatorId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `reason` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `createdAt` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.moderationlog: ~0 rows (aproximadamente)

-- Volcando estructura para tabla discord_bot.musicqueue
DROP TABLE IF EXISTS `musicqueue`;
CREATE TABLE IF NOT EXISTS `musicqueue` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guildId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `currentIndex` int(11) NOT NULL DEFAULT '0',
  `isPlaying` tinyint(1) NOT NULL DEFAULT '0',
  `isPaused` tinyint(1) NOT NULL DEFAULT '0',
  `repeatMode` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'none',
  `shuffle` tinyint(1) NOT NULL DEFAULT '0',
  `volume` int(11) NOT NULL DEFAULT '100',
  `createdAt` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  `updatedAt` datetime(3) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `MusicQueue_guildId_key` (`guildId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.musicqueue: ~0 rows (aproximadamente)
INSERT INTO `musicqueue` (`id`, `guildId`, `currentIndex`, `isPlaying`, `isPaused`, `repeatMode`, `shuffle`, `volume`, `createdAt`, `updatedAt`) VALUES
	('cmf8674o00000hdwq4cdj7vup', '1361710144538411169', 0, 1, 0, 'none', 0, 100, '2025-09-06 11:18:04.897', '2025-09-06 13:01:30.667');

-- Volcando estructura para tabla discord_bot.musicsong
DROP TABLE IF EXISTS `musicsong`;
CREATE TABLE IF NOT EXISTS `musicsong` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `queueId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `position` int(11) NOT NULL,
  `videoId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `url` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `duration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `thumbnail` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `requestedBy` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `addedAt` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  PRIMARY KEY (`id`),
  KEY `MusicSong_queueId_position_idx` (`queueId`,`position`),
  CONSTRAINT `MusicSong_queueId_fkey` FOREIGN KEY (`queueId`) REFERENCES `musicqueue` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.musicsong: ~0 rows (aproximadamente)
INSERT INTO `musicsong` (`id`, `queueId`, `position`, `videoId`, `title`, `url`, `duration`, `thumbnail`, `requestedBy`, `addedAt`) VALUES
	('cmf89w530002dykrn2l81uehj', 'cmf8674o00000hdwq4cdj7vup', 0, 'URubX4Kg7k4', 'Rosas Color Marfil', 'https://www.youtube.com/watch?v=URubX4Kg7k4&list=RDURubX4Kg7k4&start_radio=1&pp=ygUGZGVibGVyoAcB', '4:33', 'https://i.ytimg.com/vi/URubX4Kg7k4/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLCbu9mr-0VjoSiVFVh0czMdGwxFGQ', 'noobatadas', '2025-09-06 13:01:29.300');

-- Volcando estructura para tabla discord_bot.reactionrole
DROP TABLE IF EXISTS `reactionrole`;
CREATE TABLE IF NOT EXISTS `reactionrole` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guildId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `messageId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `channelId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `emoji` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `roleId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `isActive` tinyint(1) NOT NULL DEFAULT '1',
  `createdAt` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  `updatedAt` datetime(3) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ReactionRole_messageId_emoji_key` (`messageId`,`emoji`),
  KEY `ReactionRole_guildId_idx` (`guildId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.reactionrole: ~0 rows (aproximadamente)
INSERT INTO `reactionrole` (`id`, `guildId`, `messageId`, `channelId`, `emoji`, `roleId`, `isActive`, `createdAt`, `updatedAt`) VALUES
	('cmfbg5xzq0000ksvo0o1othdm', '1361710144538411169', '1414676709227102410', '1410720936025526332', '✅', '1411347790923038833', 1, '2025-09-08 18:20:23.957', '2025-09-08 18:20:23.957');

-- Volcando estructura para tabla discord_bot.role
DROP TABLE IF EXISTS `role`;
CREATE TABLE IF NOT EXISTS `role` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `discordId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `Role_discordId_key` (`discordId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.role: ~0 rows (aproximadamente)

-- Volcando estructura para tabla discord_bot.rolelog
DROP TABLE IF EXISTS `rolelog`;
CREATE TABLE IF NOT EXISTS `rolelog` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guildId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `userId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `roleId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `action` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `timestamp` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  PRIMARY KEY (`id`),
  KEY `RoleLog_guildId_userId_idx` (`guildId`,`userId`),
  KEY `RoleLog_timestamp_idx` (`timestamp`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.rolelog: ~2 rows (aproximadamente)
INSERT INTO `rolelog` (`id`, `guildId`, `userId`, `roleId`, `action`, `timestamp`) VALUES
	('cmfbg7ih80001ksvouutk1xs0', '1361710144538411169', '1409271625190211654', '1411347790923038833', 'reaction_add', '2025-09-08 18:21:37.482'),
	('cmfbg7lgu0002ksvo2nlhlku8', '1361710144538411169', '1409271625190211654', '1411347790923038833', 'reaction_remove', '2025-09-08 18:21:41.357'),
	('cmfbhzpg80000m7dv809fepr2', '1361710144538411169', '1409271625190211654', '1411348146386370632', 'welcome', '2025-09-08 19:11:32.500');

-- Volcando estructura para tabla discord_bot.rolepanel
DROP TABLE IF EXISTS `rolepanel`;
CREATE TABLE IF NOT EXISTS `rolepanel` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guildId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `channelId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `messageId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `category` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `maxRoles` int(11) DEFAULT NULL,
  `isActive` tinyint(1) NOT NULL DEFAULT '1',
  `createdAt` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  `updatedAt` datetime(3) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `RolePanel_guildId_idx` (`guildId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.rolepanel: ~0 rows (aproximadamente)

-- Volcando estructura para tabla discord_bot.rolepanelrole
DROP TABLE IF EXISTS `rolepanelrole`;
CREATE TABLE IF NOT EXISTS `rolepanelrole` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `panelId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `roleId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `position` int(11) NOT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `emoji` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `RolePanelRole_panelId_roleId_key` (`panelId`,`roleId`),
  CONSTRAINT `RolePanelRole_panelId_fkey` FOREIGN KEY (`panelId`) REFERENCES `rolepanel` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.rolepanelrole: ~0 rows (aproximadamente)

-- Volcando estructura para tabla discord_bot.user
DROP TABLE IF EXISTS `user`;
CREATE TABLE IF NOT EXISTS `user` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `discordId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `username` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `createdAt` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  PRIMARY KEY (`id`),
  UNIQUE KEY `User_discordId_key` (`discordId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.user: ~0 rows (aproximadamente)

-- Volcando estructura para tabla discord_bot.warning
DROP TABLE IF EXISTS `warning`;
CREATE TABLE IF NOT EXISTS `warning` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `userId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guildId` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `reason` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `createdAt` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot.warning: ~0 rows (aproximadamente)

-- Volcando estructura para tabla discord_bot._prisma_migrations
DROP TABLE IF EXISTS `_prisma_migrations`;
CREATE TABLE IF NOT EXISTS `_prisma_migrations` (
  `id` varchar(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `checksum` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
  `finished_at` datetime(3) DEFAULT NULL,
  `migration_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `logs` text COLLATE utf8mb4_unicode_ci,
  `rolled_back_at` datetime(3) DEFAULT NULL,
  `started_at` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  `applied_steps_count` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Volcando datos para la tabla discord_bot._prisma_migrations: ~3 rows (aproximadamente)
INSERT INTO `_prisma_migrations` (`id`, `checksum`, `finished_at`, `migration_name`, `logs`, `rolled_back_at`, `started_at`, `applied_steps_count`) VALUES
	('19ca513e-8022-4e3e-9a75-73f99e0061f7', 'a2266c50a7f34b5415a86bbaef5146560a24380e24b4e96d239f5cdd7090005e', '2025-09-06 13:05:56.891', '20250906130556_add_autoroles_tables', NULL, NULL, '2025-09-06 13:05:56.638', 1),
	('5d064a84-995d-4f33-9a4b-1d221988a565', '4d8343026955be09b622a0efa8698a6bf4a71935b1be8f9e911a0fa41e6a1e1f', '2025-09-05 18:45:35.950', '20250905184535_init_with_music', NULL, NULL, '2025-09-05 18:45:35.222', 1),
	('75790725-aec6-4d59-ab86-00f85c60ef99', '77e5236f626fedcb74c149990bb73e3bea7e4734d2e351d7d764f45bf0cc7b1a', '2025-09-08 18:31:03.671', '20250908183103_add_role_panel_emoji_description', NULL, NULL, '2025-09-08 18:31:03.626', 1);

/*!40103 SET TIME_ZONE=IFNULL(@OLD_TIME_ZONE, 'system') */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40111 SET SQL_NOTES=IFNULL(@OLD_SQL_NOTES, 1) */;
