diff --git a/setup/sql/pgsql_newtables.inc.php b/setup/sql/pgsql_newtables.inc.php index a3d919db2d..9e407075f0 100644 --- a/setup/sql/pgsql_newtables.inc.php +++ b/setup/sql/pgsql_newtables.inc.php @@ -151,7 +151,7 @@ c_tel_msg boolean DEFAULT 'n' NOT NULL, c_tel_fax boolean DEFAULT 'n' NOT NULL, c_tel_prefer boolean DEFAULT 'n' NOT NULL, - d_emailtype text check(status in('INTERNET','CompuServe','AOL','Prodigy','eWorld','AppleLink','AppleTalk','PowerShare','IBMMail','ATTMail','MCIMail','X.400','TLX')) DEFAULT 'INTERNET' NOT NULL, + d_emailtype text check(d_emailtype in('INTERNET','CompuServe','AOL','Prodigy','eWorld','AppleLink','AppleTalk','PowerShare','IBMMail','ATTMail','MCIMail','X.400','TLX')) DEFAULT 'INTERNET' NOT NULL, d_email varchar(64), d_email_work boolean DEFAULT 'n' NOT NULL, d_email_home boolean DEFAULT 'n' NOT NULL, diff --git a/setup/sql/pgsql_upgrade_beta.inc.php b/setup/sql/pgsql_upgrade_beta.inc.php index dd3dfa1e2e..d90bb170ea 100644 --- a/setup/sql/pgsql_upgrade_beta.inc.php +++ b/setup/sql/pgsql_upgrade_beta.inc.php @@ -1182,7 +1182,7 @@ c_tel_msg boolean DEFAULT 'n' NOT NULL, c_tel_fax boolean DEFAULT 'n' NOT NULL, c_tel_prefer boolean DEFAULT 'n' NOT NULL, - d_emailtype text check(status in('INTERNET','CompuServe','AOL','Prodigy','eWorld','AppleLink','AppleTalk','PowerShare','IBMMail','ATTMail','MCIMail','X.400','TLX')) DEFAULT 'INTERNET' NOT NULL, + d_emailtype text check(d_emailtype in('INTERNET','CompuServe','AOL','Prodigy','eWorld','AppleLink','AppleTalk','PowerShare','IBMMail','ATTMail','MCIMail','X.400','TLX')) DEFAULT 'INTERNET' NOT NULL, d_email varchar(64), d_email_work boolean DEFAULT 'n' NOT NULL, d_email_home boolean DEFAULT 'n' NOT NULL,