/*[Gabor]*/
ALTER TABLE `app` ADD `is_active` TINYINT(1) NOT NULL DEFAULT '1' AFTER `category_id`, ADD `sortable` INT(11) NOT NULL AFTER `is_active`;

ALTER TABLE `app_category` ADD `is_active` TINYINT(1) NOT NULL DEFAULT '1' AFTER `place`, ADD `sortable` INT(11) NOT NULL AFTER `is_active`;