summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-09 19:35:33 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-09 19:35:33 +0000
commitb104daca7daad975d45dbdc5b7dfd76a64b3deed (patch)
tree38a9505cafae0f6b487ae417ec6c80bd03191a01 /sql
parentd949a3c44acb6f4ce7700fbf94b0a3a9eeaaf208 (diff)
Fixing db schema field names to match stored procedures (since those names are clearer anyway)
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1861 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql')
-rw-r--r--sql/Pg-database.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/Pg-database.sql b/sql/Pg-database.sql
index d4f98b54..851995b2 100644
--- a/sql/Pg-database.sql
+++ b/sql/Pg-database.sql
@@ -135,7 +135,7 @@ CREATE TABLE location (
line_two text,
line_three text,
city text check (city '[[:alnum:]_]') NOT NULL,
- province text check(province '[[:alnum:]_]' NOT NULL),
+ state text check(state '[[:alnum:]_]' NOT NULL),
country_id integer not null REFERENCES country(id),
mail_code text not null check (mail_code ~ '[[:alnum:]_]'),
created date not null,