Skip to content
Permalink
Browse files

Fix test data (add SRID)

  • Loading branch information
elpaso committed Sep 15, 2020
1 parent 194305b commit 235864fbc357ad105e69817fe54eecc488acafa3
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/testdata/provider/testdata_pg.sql
@@ -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.
You can’t perform that action at this time.