sanitizing settings and updating for Django 1.2
[mygpo.git] / install / update-32.sql
blob135faa20e378900ee740715734fb6f81c81daaa4
1 CREATE TABLE `advertisements` (
2     `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
3     `podcast_id` integer NOT NULL,
4     `title` varchar(100) NOT NULL,
5     `text` longtext NOT NULL,
6     `start` datetime NOT NULL,
7     `end` datetime NOT NULL
10 ALTER TABLE `advertisements` ADD CONSTRAINT `podcast_id_refs_id_534966` FOREIGN KEY (`podcast_id`) REFERENCES `podcast` (`id`);