summaryrefslogtreecommitdiff
path: root/sql/Pg-database.sql
diff options
context:
space:
mode:
authoraurynn_cmd <aurynn_cmd@4979c152-3d1c-0410-bac9-87ea11338e46>2008-06-30 20:56:17 +0000
committeraurynn_cmd <aurynn_cmd@4979c152-3d1c-0410-bac9-87ea11338e46>2008-06-30 20:56:17 +0000
commit49174fdc16c696dcc0f8d4124cb0749f91b6bb4d (patch)
treeb107f877241a59616a231fe3d3e27351a456de2d /sql/Pg-database.sql
parent96f9480b7c2d8a62e34133d6dfd16f1dee23a330 (diff)
Adding the reconciliation SQL stuff. Testing my SVN interface.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2177 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql/Pg-database.sql')
-rw-r--r--sql/Pg-database.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/Pg-database.sql b/sql/Pg-database.sql
index c9f2bea3..ca907d50 100644
--- a/sql/Pg-database.sql
+++ b/sql/Pg-database.sql
@@ -270,8 +270,8 @@ CREATE TABLE company_to_contact (
company_id integer not null references company(id) ON DELETE CASCADE,
contact_class_id integer references contact_class(id) not null,
contact text check(contact ~ '[[:alnum:]_]') not null,
- description text not null,
- PRIMARY KEY (company_id,contact_class_id,contact));
+ description text,
+ PRIMARY KEY (company_id, contact_class_id, contact));
COMMENT ON TABLE company_to_contact IS $$ To keep track of the relationship between multiple contact methods and a single company $$;