Database Installer.
This commit is contained in:
15
trunk/dist/db_installer/sql/game/pets.sql
vendored
Normal file
15
trunk/dist/db_installer/sql/game/pets.sql
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
DROP TABLE IF EXISTS `pets`;
|
||||
CREATE TABLE IF NOT EXISTS `pets` (
|
||||
`item_obj_id` int(10) unsigned NOT NULL,
|
||||
`name` varchar(16),
|
||||
`level` smallint(2) unsigned NOT NULL,
|
||||
`curHp` int(9) unsigned DEFAULT '0',
|
||||
`curMp` int(9) unsigned DEFAULT '0',
|
||||
`exp` bigint(20) unsigned DEFAULT '0',
|
||||
`sp` bigint(10) unsigned DEFAULT '0',
|
||||
`fed` int(10) unsigned DEFAULT '0',
|
||||
`ownerId` int(10) NOT NULL DEFAULT '0',
|
||||
`restore` enum('true','false') NOT NULL DEFAULT 'false',
|
||||
PRIMARY KEY (`item_obj_id`),
|
||||
KEY `ownerId` (`ownerId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
Reference in New Issue
Block a user