From 779646723635d8d2055b2b2593715a0bbd3c92b6 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Tue, 27 Jan 2015 15:21:35 +0100 Subject: [PATCH] * Web.csproj: folders to be installed * instdbws.sql: a better name for the contraint on blfiles ids --- web/Web.csproj | 3 +++ web/instdbws.sql | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/web/Web.csproj b/web/Web.csproj index 0e9228c0..69f08d02 100644 --- a/web/Web.csproj +++ b/web/Web.csproj @@ -121,6 +121,9 @@ + + + diff --git a/web/instdbws.sql b/web/instdbws.sql index 3184f66e..c1c424c9 100644 --- a/web/instdbws.sql +++ b/web/instdbws.sql @@ -184,8 +184,8 @@ CREATE TABLE blfiles _id bigserial NOT NULL, -- Identifier name character varying(2048), -- File Name, relative to the user home directory, must not begin with a slash. blid bigint, -- Blog entry identifier (foreign key) - CONSTRAINT bltags_pkey PRIMARY KEY (_id), - CONSTRAINT bltags_blid_fkey FOREIGN KEY (blid) + CONSTRAINT blfiles_pkey PRIMARY KEY (_id), + CONSTRAINT blfiles_blid_fkey FOREIGN KEY (blid) REFERENCES blog (_id) MATCH SIMPLE ON UPDATE CASCADE ON DELETE CASCADE )