20080218update.sql 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. ALTER TABLE characters
  2. CHANGE `account_name` `account_name` VARCHAR(45) DEFAULT NULL,
  3. CHANGE `obj_Id` `obj_Id` INT UNSIGNED NOT NULL DEFAULT 0,
  4. CHANGE `char_name` `char_name` VARCHAR(35) NOT NULL,
  5. CHANGE `level` `level` TINYINT UNSIGNED DEFAULT NULL,
  6. CHANGE `maxHp` `maxHp` MEDIUMINT UNSIGNED DEFAULT NULL,
  7. CHANGE `curHp` `curHp` MEDIUMINT UNSIGNED DEFAULT NULL,
  8. CHANGE `maxCp` `maxCp` MEDIUMINT UNSIGNED DEFAULT NULL,
  9. CHANGE `curCp` `curCp` MEDIUMINT UNSIGNED DEFAULT NULL,
  10. CHANGE `maxMp` `maxMp` MEDIUMINT UNSIGNED DEFAULT NULL,
  11. CHANGE `curMp` `curMp` MEDIUMINT UNSIGNED DEFAULT NULL,
  12. CHANGE `face` `face` TINYINT UNSIGNED DEFAULT NULL,
  13. CHANGE `hairStyle` `hairStyle` TINYINT UNSIGNED DEFAULT NULL,
  14. CHANGE `hairColor` `hairColor` TINYINT UNSIGNED DEFAULT NULL,
  15. CHANGE `sex` `sex` TINYINT UNSIGNED DEFAULT NULL,
  16. CHANGE `heading` `heading` MEDIUMINT DEFAULT NULL,
  17. CHANGE `x` `x` MEDIUMINT DEFAULT NULL,
  18. CHANGE `y` `y` MEDIUMINT DEFAULT NULL,
  19. CHANGE `z` `z` MEDIUMINT DEFAULT NULL,
  20. CHANGE `exp` `exp` BIGINT UNSIGNED DEFAULT 0,
  21. CHANGE `expBeforeDeath` `expBeforeDeath` BIGINT UNSIGNED DEFAULT 0,
  22. CHANGE `sp` `sp` INT UNSIGNED NOT NULL DEFAULT 0,
  23. CHANGE `karma` `karma` INT UNSIGNED DEFAULT NULL,
  24. CHANGE `pvpkills` `pvpkills` SMALLINT UNSIGNED DEFAULT NULL,
  25. CHANGE `pkkills` `pkkills` SMALLINT UNSIGNED DEFAULT NULL,
  26. CHANGE `clanid` `clanid` INT UNSIGNED DEFAULT NULL,
  27. CHANGE `race` `race` TINYINT UNSIGNED DEFAULT NULL,
  28. CHANGE `classid` `classid` TINYINT UNSIGNED DEFAULT NULL,
  29. CHANGE `base_class` `base_class` TINYINT UNSIGNED NOT NULL DEFAULT 0,
  30. CHANGE `transform_id` `transform_id` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
  31. CHANGE `deletetime` `deletetime` BIGINT DEFAULT NULL,
  32. CHANGE `cancraft` `cancraft` TINYINT UNSIGNED DEFAULT NULL,
  33. CHANGE `title` `title` VARCHAR(16) DEFAULT NULL,
  34. CHANGE `rec_have` `rec_have` TINYINT UNSIGNED NOT NULL DEFAULT 0,
  35. CHANGE `rec_left` `rec_left` TINYINT UNSIGNED NOT NULL DEFAULT 0,
  36. CHANGE `accesslevel` `accesslevel` MEDIUMINT DEFAULT 0,
  37. CHANGE `online` `online` TINYINT UNSIGNED DEFAULT NULL,
  38. CHANGE `onlinetime` `onlinetime` INT DEFAULT NULL,
  39. CHANGE `char_slot` `char_slot` TINYINT UNSIGNED DEFAULT NULL,
  40. CHANGE `newbie` `newbie` MEDIUMINT UNSIGNED DEFAULT 1,
  41. CHANGE `lastAccess` `lastAccess` BIGINT UNSIGNED DEFAULT NULL,
  42. CHANGE `clan_privs` `clan_privs` MEDIUMINT UNSIGNED DEFAULT 0,
  43. CHANGE `wantspeace` `wantspeace` TINYINT UNSIGNED DEFAULT 0,
  44. CHANGE `isin7sdungeon` `isin7sdungeon` TINYINT UNSIGNED NOT NULL default 0,
  45. CHANGE `in_jail` `in_jail` TINYINT UNSIGNED DEFAULT 0,
  46. CHANGE `jail_timer` `jail_timer` INT UNSIGNED DEFAULT 0,
  47. CHANGE `power_grade` `power_grade` TINYINT UNSIGNED DEFAULT NULL,
  48. CHANGE `nobless` `nobless` TINYINT UNSIGNED NOT NULL DEFAULT 0,
  49. CHANGE `subpledge` `subpledge` SMALLINT NOT NULL DEFAULT 0,
  50. CHANGE `last_recom_date` `last_recom_date` BIGINT UNSIGNED NOT NULL DEFAULT 0,
  51. CHANGE `lvl_joined_academy` `lvl_joined_academy` TINYINT UNSIGNED NOT NULL DEFAULT 0,
  52. CHANGE `apprentice` `apprentice` INT UNSIGNED NOT NULL DEFAULT 0,
  53. CHANGE `sponsor` `sponsor` INT UNSIGNED NOT NULL DEFAULT 0,
  54. CHANGE `varka_ketra_ally` `varka_ketra_ally` TINYINT NOT NULL DEFAULT 0,
  55. CHANGE `clan_join_expiry_time` `clan_join_expiry_time` BIGINT UNSIGNED NOT NULL DEFAULT 0,
  56. CHANGE `clan_create_expiry_time` `clan_create_expiry_time` BIGINT UNSIGNED NOT NULL DEFAULT 0,
  57. CHANGE `death_penalty_level` `death_penalty_level` SMALLINT UNSIGNED NOT NULL DEFAULT 0 ;