ALTER TABLE `dle_photo_alboms` ADD `add` TEXT NOT NULL ,
ADD `icon` TEXT NOT NULL ;

ALTER TABLE `dle_photo_marks` ADD `type` VARCHAR( 4 ) NOT NULL ;

ALTER TABLE `dle_photo_post`
  DROP `url`,
  DROP `property`;

ALTER TABLE `dle_photo_post` ADD `hide` INT( 1 ) NOT NULL ,
ADD `moder` INT( 1 ) NOT NULL ,
ADD `show` INT( 11 ) NOT NULL ,
ADD `downs` INT( 6 ) NOT NULL ,
ADD `water_mark` TINYINT( 1 ) NOT NULL ,
ADD `icon` INT( 5 ) NOT NULL ,
ADD `user_id` INT( 6 ) NOT NULL ;

UPDATE `dle_photo_post` SET `water_mark` = 1;

-- --------------------------------------------------------
--      
--  ,   
--    
--   ,  
--  ""
-- --------------------------------------------------------

UPDATE dle_photo_marks SET `type` = 'mark';

