CREATE TABLE IF NOT EXISTS `diary_images` (
`id` int(11) NOT NULL
AUTO_INCREMENT,
`id_diary` int(11) NOT NULL,
`position`
set('up','down') NOT NULL DEFAULT 'up',
`ras` varchar(4) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;