[DB] adding a new field in player table.
Posted: 31 March 2013, 00:28
Hello,
I test a creation of a new field: movechoice , by player.
Here is the code in my dbmodel.sql,
ALTER TABLE `player` ADD `movechoice` TINYINT(1) NOT NULL DEFAULT 0; -- 0: no choice, 1-7 :value of move
when I launch the game, new tables 'rockarea' and 'plain' exists , but player is not altered. I don't see why...
could you hlep me?
I test a creation of a new field: movechoice , by player.
Here is the code in my dbmodel.sql,
ALTER TABLE `player` ADD `movechoice` TINYINT(1) NOT NULL DEFAULT 0; -- 0: no choice, 1-7 :value of move
when I launch the game, new tables 'rockarea' and 'plain' exists , but player is not altered. I don't see why...
could you hlep me?