Re: tricky database design
Date: Tue, 07 Jan 2003 03:18:00 GMT
Message-ID: <IFrS9.142576$pe.5804997_at_news2.east.cox.net>
Daniel Talsky wrote:
> CREATE TABLE "pages" (
> page_id serial,
> page_name varchar(30),
> template_path varchar(100),
> publish_path varchar(100),
> PRIMARY KEY ("page_id")
> );
> CREATE TABLE "headings" (
> heading_id serial,
> heading_text varchar(200),
> PRIMARY KEY ("heading_id")
> );
> CREATE TABLE "copy" (
> copy_id serial,
> copy_text text,
> PRIMARY KEY ("copy_id")
> );
> CREATE TABLE "ordering" (
> table_name varchar(30),
> id_ref int4,
> page_ref int4,
> sequence_order int2
> );
>
> So is there someone with a little bit more experience that knows a
> better way to do this?
by sort_order
\g
Hope this helps.
Alan Gutierrez Received on Tue Jan 07 2003 - 04:18:00 CET