Skip to content

Commit cb9d00f

Browse files
committed
CItext
1 parent 8425925 commit cb9d00f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

__tests__/p-schema.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ create table p.range_array_types (
135135
create domain p.char4_domain as char(4) check (lower(value) = 'test');
136136
create domain p.date_domain as date check (value >= '1990-01-01'::date);
137137
create domain p.int4_domain as int4 check (value > 0);
138-
create domain p.email_domain as text check (value ~ '^[^@]+@[^@]+$');
138+
create domain p.email_domain as citext check (value ~ '^[^@]+@[^@]+$');
139139

140140
create table p.domain_types (
141141
id serial primary key,

0 commit comments

Comments
 (0)