1 CREATE TABLE `publisher` (
2 `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
3 `user_id` integer NOT NULL,
4 `podcast_id` integer NOT NULL
7 ALTER TABLE `publisher` ADD CONSTRAINT `podcast_id_refs_id_39ce950d` FOREIGN KEY (`podcast_id`) REFERENCES `podcast` (`id`);
8 ALTER TABLE `publisher` ADD CONSTRAINT `user_id_refs_id_22692cb3` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`);
11 alter table episode modify timestamp timestamp null;
12 update episode set timestamp = null where title = '';