Skip to content

Commit a3f0701

Browse files
remove CITEXT column while mocking
CIText is a extension and is not installed by default by postgres. We will skip the citext datatype when creating mock tables features, since if the citext extension is not installed it will fail for the users.
1 parent bda2c74 commit a3f0701

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

datatypes.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ func SupportedDataTypes() []string {
1818
"char(10),",
1919
"varchar(10),",
2020
"text,",
21-
"citext,",
2221
"inet,",
2322
"macaddr,",
2423
"cidr,",
@@ -66,7 +65,6 @@ func SupportedDataTypes() []string {
6665
"timestamp with time zone[],",
6766
"timestamp without time zone[],",
6867
"text[],",
69-
"citext[],",
7068
"bool[],",
7169
"inet[],",
7270
"macaddr[],",
@@ -120,7 +118,6 @@ CREATE TABLE supported_datatypes (
120118
col_character char(10),
121119
col_character_varying varchar(10),
122120
col_text text,
123-
col_citext citext,
124121
125122
-- Network Address Type
126123
col_inet inet,
@@ -190,7 +187,6 @@ CREATE TABLE supported_datatypes (
190187
col_timestamp_array timestamp with time zone[],
191188
col_timestamp_tz_array timestamp without time zone[],
192189
col_text_array text[],
193-
col_citext_array citext[],
194190
col_bool_array bool[],
195191
col_inet_array inet[],
196192
col_macaddr_array macaddr[],

0 commit comments

Comments
 (0)