Skip to content

Commit

Permalink
Fix test data (add SRID)
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Sep 15, 2020
1 parent 194305b commit 235864f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testdata/provider/testdata_pg.sql
Expand Up @@ -714,10 +714,10 @@ CREATE TABLE test_table_default_values (

CREATE TABLE IF NOT EXISTS "test_check_constraint" (
"id" SERIAL PRIMARY KEY,
"geom" geometry(POINT),
"geom" geometry(POINT, 4326),
"i_will_fail_on_no_name" TEXT CHECK ("i_will_fail_on_no_name" != 'no name')
);

INSERT INTO test_check_constraint (geom, i_will_fail_on_no_name)
VALUES ('POINT(9 45)'::geometry, 'I have a name'), ('POINT(10 46)'::geometry, 'I have a name too');
VALUES ('SRID=4326;POINT(9 45)'::geometry, 'I have a name'), ('SRID=4326;POINT(10 46)'::geometry, 'I have a name too');

0 comments on commit 235864f

Please sign in to comment.