   `description` longtext COLLATE utf8_czech_ci NOT NULL,
   `logo_id` int(11) DEFAULT NULL,
   PRIMARY KEY (`id`),
-  UNIQUE KEY `slug` (`slug`)
+  UNIQUE KEY `slug` (`slug`),
+  KEY `astrology_horoscope_logo_id` (`logo_id`),
+  CONSTRAINT `logo_id_refs_id_1e18a2a7` FOREIGN KEY (`logo_id`) REFERENCES `photos_photo` (`id`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
 /*!40101 SET character_set_client = @saved_cs_client */;
 

  `content` longtext COLLATE utf8_czech_ci NOT NULL,
  `publish_date` date NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `category_id` (`category_id`,`publish_date`),
  CONSTRAINT `category_id_refs_id_7b73e5c3` FOREIGN KEY (`category_id`) REFERENCES `astrology_lunardiarycategory` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

  `nick` varchar(150) COLLATE utf8_czech_ci NOT NULL,
  `created` datetime NOT NULL,
  `slug` varchar(50) COLLATE utf8_czech_ci NOT NULL,
  `timelimit` datetime NOT NULL DEFAULT '2009-06-02 13:54:12',
  PRIMARY KEY (`id`),
  KEY `answers_question_slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
