ALTER TABLE `cards`
CHANGE COLUMN `bundle` `Bundle`  int(4) NULL DEFAULT NULL AFTER `csn`,
CHANGE COLUMN `member_id` `uid`  varchar(100) NULL DEFAULT NULL AFTER `BodyCode`,
CHANGE COLUMN `status` `Status`  int(2) NOT NULL DEFAULT 1 AFTER `uid`,
CHANGE COLUMN `expiration_date` `Expiration`  date NULL DEFAULT NULL AFTER `Status`,
CHANGE COLUMN `modified` `Modified`  timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP AFTER `Expiration`,
ENGINE=MyISAM,
DEFAULT CHARACTER SET=utf8 COLLATE=utf8_unicode_ci;

RENAME TABLE `cards` TO `aegeemembershipcards`;

ALTER TABLE `card_status`
CHANGE COLUMN `status` `Status`  varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL AFTER `id`,
ENGINE=MyISAM,
DEFAULT CHARACTER SET=utf8 COLLATE=utf8_unicode_ci;

RENAME TABLE `card_status` TO `aegeemembershipcardstatus`;