|
@@ -95,6 +95,7 @@ class PostgresqlTest extends Tests
|
95
|
95
|
if (!($capabilities & self::GIS)) {
|
96
|
96
|
$contents = preg_replace('/(geometry) NOT NULL/i', 'text NOT NULL', $contents);
|
97
|
97
|
$contents = preg_replace('/ST_GeomFromText/i', 'concat', $contents);
|
|
98
|
+ $contents = preg_replace('/CREATE EXTENSION IF NOT EXISTS postgis;/i', '', $contents);
|
98
|
99
|
}
|
99
|
100
|
if (!($capabilities & self::JSON)) {
|
100
|
101
|
$contents = preg_replace('/JSONB? NOT NULL/i', 'text NOT NULL', $contents);
|