9cacea871f
* Redesign of waypoint system. * More fixes. * Fix table name in startup error. * Add point Id to move command. * Fix startup error.
111 lines
18 KiB
SQL
111 lines
18 KiB
SQL
DROP PROCEDURE IF EXISTS add_migration;
|
|
delimiter ??
|
|
CREATE PROCEDURE `add_migration`()
|
|
BEGIN
|
|
DECLARE v INT DEFAULT 1;
|
|
SET v = (SELECT COUNT(*) FROM `migrations` WHERE `id`='20180505221750');
|
|
IF v=0 THEN
|
|
INSERT INTO `migrations` VALUES ('20180505221750');
|
|
-- Add your query below.
|
|
|
|
|
|
-- Update waypoint command texts.
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (220, 'Cannot find waypoint id %u for %s (in path %i, loaded from %s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (221, 'Last Waypoint not found for %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (222, '%s has no path or path empty, path-id %i (loaded from %s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (223, 'Creature (GUID: %u) No waypoints found - This is a MaNGOS db problem (single float).', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (224, 'Cannot access %s on map, maybe you are too far away from its spawn location', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (225, 'Creature (GUID: %u) not found', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (226, 'You must select a visual waypoint.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (227, 'No visual waypoints found', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (228, 'Could not create visual waypoint with creatureID: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (229, 'All visual waypoints removed', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (230, 'Could not add waypoint %u to %s (pathId %i stored by %s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (231, 'No GUID provided.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (232, 'No waypoint number provided.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (233, 'Argument required for \'%s\'.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (234, 'Added Waypoint %u to %s (PathId %i, path stored by %s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (235, 'UNUSED', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (236, 'Waypoint changed.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (237, 'Waypoint %s modified.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (238, 'WP export successfull.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (239, 'No waypoints found inside the database.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (240, 'File imported.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (241, 'Waypoint removed.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (242, 'UNUSED', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (243, 'UNUSED', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (244, 'UNUSED', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (245, 'UNUSED', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (246, 'Waypoint %u for %s (from pathId %i, stored by %s)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (247, ' Waittime: %d', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (248, ' Orientation: %f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (249, ' ScriptId: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (250, 'ScriptID set to non-existing id %u, add it to DBScriptsEngine and reload the table.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (251, 'UNUSED', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
REPLACE INTO `mangos_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (252, 'AIScriptName: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
|
|
-- This column is unused.
|
|
ALTER TABLE `creature_movement`
|
|
DROP COLUMN `wpguid`;
|
|
ALTER TABLE `creature_movement_template`
|
|
DROP COLUMN `wpguid`;
|
|
|
|
-- Add new table for special waypoints.
|
|
CREATE TABLE IF NOT EXISTS `creature_movement_special` (
|
|
`id` int(10) unsigned NOT NULL,
|
|
`point` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
`position_x` float NOT NULL DEFAULT '0',
|
|
`position_y` float NOT NULL DEFAULT '0',
|
|
`position_z` float NOT NULL DEFAULT '0',
|
|
`waittime` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`script_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
`textid1` int(11) NOT NULL DEFAULT '0',
|
|
`textid2` int(11) NOT NULL DEFAULT '0',
|
|
`textid3` int(11) NOT NULL DEFAULT '0',
|
|
`textid4` int(11) NOT NULL DEFAULT '0',
|
|
`textid5` int(11) NOT NULL DEFAULT '0',
|
|
`emote` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
`spell` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
`orientation` float NOT NULL DEFAULT '0',
|
|
`model1` mediumint(9) NOT NULL DEFAULT '0',
|
|
`model2` mediumint(9) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`,`point`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature System';
|
|
|
|
-- Fix current waypoint for some npcs.
|
|
UPDATE `creature` SET `currentwaypoint`=0 WHERE `currentwaypoint`=1;
|
|
UPDATE `creature` SET `currentwaypoint`=24 WHERE `guid`=32905;
|
|
UPDATE `creature` SET `currentwaypoint`=2 WHERE `guid`=88303;
|
|
|
|
-- Fix errors in script for mobs in naxxramas.
|
|
UPDATE `creature_movement` SET `script_id`=8844402 WHERE `id`=88444 && `point`=2;
|
|
DELETE FROM `creature_movement_scripts` WHERE `id`=8844402;
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 0, 1, 19, 0, 0, 0, 16157, 10, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Doom Touched warrior chicken');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 1, 1, 36, 0, 0, 0, 16145, 10, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathknight captain attacks');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 2, 1, 43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathknight parries');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 5, 1, 1, 0, 0, 0, 16145, 10, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathknight captain talks');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 7, 1, 36, 0, 0, 0, 16145, 10, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathknight captain attacks');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 8, 1, 43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathknight parries');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 10, 1, 15, 0, 0, 0, 16158, 10, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Dark Touched warrior roar');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 14, 1, 60, 0, 0, 0, 16145, 10, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathknight captain kicks');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 15, 1, 43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathknight parries');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 17, 1, 36, 0, 0, 0, 16145, 10, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathknight captain attacks');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 18, 1, 43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathknight parries');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 20, 1, 5, 0, 0, 0, 16145, 10, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathknight captain shouts');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 22, 1, 36, 0, 0, 0, 16145, 10, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathknight captain attacks');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 23, 1, 21, 0, 0, 0, 16157, 10, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Doom Touched warrior applaude');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 23, 1, 43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathknight parries');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 26, 1, 60, 0, 0, 0, 16145, 10, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathknight captain kicks');
|
|
INSERT INTO `creature_movement_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES (8844402, 27, 1, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathknight attacks');
|
|
|
|
-- This guy should have waypoint movement.
|
|
UPDATE `creature` SET `MovementType`=2 WHERE `guid`=1816;
|
|
|
|
|
|
-- End of migration.
|
|
END IF;
|
|
END??
|
|
delimiter ;
|
|
CALL add_migration();
|
|
DROP PROCEDURE IF EXISTS add_migration;
|