Add Character.type property.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 13 Jan 2009 16:57:08 +0000 (17:57 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 13 Jan 2009 17:06:56 +0000 (18:06 +0100)
commit3ebe90d3cef8c2136c17a1b3426e7989f2379427
tree678a3b87f2303afe550abcb6e35162594b22a154
parentd55284fdb62ff1b4d8dec653bf13cf44b4b01022
Add Character.type property.

Also set the type of exising Characters to Player.

SQL: ALTER TABLE `influences_character` ADD `type` VARCHAR( 2 ) NOT NULL AFTER `player_id`;
SQL: UPDATE `influences_character` SET `type` = 'P';
influences/models.py