From 7f6b195e924e3c13409a3ad3465c3788bcd52311 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Mon, 15 Oct 2007 20:08:36 +0000 Subject: Fixing db building issue. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1760 4979c152-3d1c-0410-bac9-87ea11338e46 --- sql/Pg-database.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/Pg-database.sql b/sql/Pg-database.sql index d5a3aae9..cc4b77dd 100644 --- a/sql/Pg-database.sql +++ b/sql/Pg-database.sql @@ -53,7 +53,7 @@ COMMENT ON TABLE entity_class_to_entity IS $$ Relation builder for classes to en CREATE TABLE users ( id serial UNIQUE, username varchar(30) primary key, - entity_id int not null references entity(id) on delete cascade, + entity_id int not null references entity(id) on delete cascade ); COMMENT ON TABLE users IS $$username is the actual primary key here because we do not want duplicate users$$; -- cgit v1.2.3