SAAS-1058: Podcast table schema

Remove not null constraint on podcast_episodes file_id column
This commit is contained in:
drigato 2015-09-21 14:51:32 -04:00
parent 3db20bd3b5
commit 3198d822bf
6 changed files with 8 additions and 8 deletions

View file

@ -579,7 +579,7 @@
<table name="podcast_episodes" phpName="PodcastEpisodes">
<column name="id" phpName="DbId" primaryKey="true" type="INTEGER" autoIncrement="true" required="true" />
<column name="file_id" phpName="DbFileId" type="INTEGER" required="true" />
<column name="file_id" phpName="DbFileId" type="INTEGER" />
<column name="podcast_id" phpName="DbPodcastId" type="INTEGER" required="true" />
<column name="publication_date" phpName="DbPublicationDate" type="TIMESTAMP" required="true" />
<column name="download_url" phpName="DbDownloadUrl" type="varchar" size="4096" required="true" />

View file

@ -735,7 +735,7 @@ DROP TABLE IF EXISTS "podcast_episodes" CASCADE;
CREATE TABLE "podcast_episodes"
(
"id" serial NOT NULL,
"file_id" INTEGER NOT NULL,
"file_id" INTEGER,
"podcast_id" INTEGER NOT NULL,
"publication_date" TIMESTAMP NOT NULL,
"download_url" VARCHAR(4096) NOT NULL,