diff options
Diffstat (limited to 'sql')
-rw-r--r-- | sql/Pg-database.sql | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/Pg-database.sql b/sql/Pg-database.sql index 2e5252c4..d4f98b54 100644 --- a/sql/Pg-database.sql +++ b/sql/Pg-database.sql @@ -134,7 +134,8 @@ CREATE TABLE location ( line_one text check (line_one ~ '[[:alnum:]_]') NOT NULL, line_two text, line_three text, - city_province text check (city_province ~ '[[:alnum:]_]') NOT NULL, + city text check (city '[[:alnum:]_]') NOT NULL, + province text check(province '[[:alnum:]_]' NOT NULL), country_id integer not null REFERENCES country(id), mail_code text not null check (mail_code ~ '[[:alnum:]_]'), created date not null, |