DB-Schema/Characters: Store game_event_save.next_start as unix timestamp and remove runtime typecasts for this field.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-09-04 18:01:03 +02:00
parent a9ca3d5ed1
commit e3957bd6de
3 changed files with 9 additions and 5 deletions

View File

@@ -1213,7 +1213,7 @@ DROP TABLE IF EXISTS `game_event_save`;
CREATE TABLE `game_event_save` (
`event_id` mediumint(8) unsigned NOT NULL,
`state` tinyint(3) unsigned NOT NULL default '1',
`next_start` timestamp NOT NULL default '0000-00-00 00:00:00',
`next_start` BIGINT(11) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (`event_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;