* Web.csproj: folders to be installed

* instdbws.sql: a better name for the contraint on blfiles ids
main
Paul Schneider 11 years ago
parent 93c18633b9
commit 7796467236
2 changed files with 5 additions and 2 deletions

@ -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" />

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

Loading…