* Web.csproj: folders to be installed

* instdbws.sql: a better name for the contraint on blfiles ids
This commit is contained in:
Paul Schneider 2015-01-27 15:21:35 +01:00
commit 7796467236
2 changed files with 5 additions and 2 deletions

View file

@ -121,6 +121,9 @@
<Folder Include="Settings\" />
<Folder Include="Views\BackOffice\" />
<Folder Include="Helpers\Google\" />
<Folder Include="htmldoc\" />
<Folder Include="users\" />
<Folder Include="xmldoc\" />
</ItemGroup>
<ItemGroup>
<Compile Include="Controllers\HomeController.cs" />

View file

@ -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
)