server/sql/updates/0.5/1511_object_questrelation.sql
freghar 95840fd2c3 Removed trailing whitespaces and CRLFs
With /contrib/ and /dep/ excluded.

Signed-off-by: freghar <compmancz@gmail.com>
2008-10-22 11:52:03 +02:00

7 lines
323 B
SQL

ALTER TABLE `object_questrelation`
RENAME TO `gameobject_questrelation`,
DROP PRIMARY KEY,
DROP `Id`,
CHANGE `objectId` `id` int(11) unsigned NOT NULL default '0',
CHANGE `questId` `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier' AFTER `id`,
ADD PRIMARY KEY (`id`,`quest`);