small schema fix.

This commit is contained in:
Jordan Petridis 2017-09-16 07:30:15 +03:00
parent dbe606f5d5
commit 1542309478
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6
2 changed files with 6 additions and 6 deletions

View File

@ -2,10 +2,10 @@ CREATE TABLE `episode` (
`id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
`title` TEXT NOT NULL,
`uri` TEXT NOT NULL,
`description` TEXT,
`local_uri` TEXT,
`thumbnail` TEXT,
`lenght` INTEGER,
`description` TEXT,
`epoch` INTEGER NOT NULL DEFAULT 0,
`length` INTEGER NOT NULL DEFAULT 0,
`guid` TEXT,
`podcast_id` INTEGER NOT NULL
);

View File

@ -3,10 +3,10 @@ table! {
id -> Integer,
title -> Text,
uri -> Text,
description -> Nullable<Text>,
local_uri -> Nullable<Text>,
thumbnail -> Nullable<Text>,
lenght -> Nullable<Integer>,
description -> Nullable<Text>,
epoch -> Integer,
length -> Integer,
guid -> Nullable<Text>,
podcast_id -> Integer,
}