Fixed small typo to set all table names as lowercase

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2020-10-27 16:23:22 +01:00
parent 7d358c5cef
commit 66de95c0df

View File

@ -1,4 +1,4 @@
DROP TABLE IF EXISTS application, film, language, subtitle_line, Subtitle; DROP TABLE IF EXISTS application, film, language, subtitle_line, subtitle;
/** /**
Store some information on the application. Store some information on the application.
@ -42,7 +42,7 @@ CREATE TABLE IF NOT EXISTS language
/** /**
Subtitles Subtitles
*/ */
CREATE TABLE IF NOT EXISTS Subtitle CREATE TABLE IF NOT EXISTS subtitle
( (
id int GENERATED ALWAYS AS IDENTITY, id int GENERATED ALWAYS AS IDENTITY,
film_id int NOT NULL, film_id int NOT NULL,
@ -52,9 +52,9 @@ CREATE TABLE IF NOT EXISTS Subtitle
UNIQUE (film_id, language_id), UNIQUE (film_id, language_id),
PRIMARY KEY (id), PRIMARY KEY (id),
FOREIGN KEY (film_id) FOREIGN KEY (film_id)
REFERENCES Film (id), REFERENCES film (id),
FOREIGN KEY (language_id) FOREIGN KEY (language_id)
REFERENCES Language (id) REFERENCES language (id)
); );
/** /**