public inbox for [email protected]
help / color / mirror / Atom feedFrom: Alexey Borzov <[email protected]>
To: Dave Page <[email protected]>
Cc: [email protected]
Subject: Re: Some more questions on DB schema
Date: Wed, 28 Apr 2004 16:39:06 +0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
Hi!
Dave Page wrote:
>>1) What is the table 'dellog' for?
>
> It's a leftover from the old search engine iirc. I assume there's noting
> interesting in it? If not, it can go.
Yep, the table is empty.
>>2) Why 'comments' table does not have a foreign key on 'docs'?
>
> Oversight I guess. Feel free to add one.
There are some problems with this... Run the following query
SELECT id, version, file
FROM comments c
WHERE NOT EXISTS (
SELECT id
FROM docs d
WHERE d.version = c.version AND
d.file = c.file
);
and observe the comments that are linked to non-existant pages of
documentation. Someone'll have to fix these before adding a foreign key
will be possible.
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Some more questions on DB schema
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox