diff --git a/server/extension/expected/10_helper_test.out b/server/extension/expected/10_helper_test.out index 179599f..1314b51 100644 --- a/server/extension/expected/10_helper_test.out +++ b/server/extension/expected/10_helper_test.out @@ -1,5 +1,5 @@ -- Create a conf table -CREATE TABLE conf (key TEXT NOT NULL PRIMARY KEY, values_json TEXT); +CREATE TABLE conf (key TEXT PRIMARY KEY, values_json TEXT NOT NULL); INSERT INTO conf VALUES ('cds', '{"Manolo Escobar": {"El Limonero":"En stock", "Viva el vino":"Sin stock"}}'); -- Test key retrieval SELECT cdb_geocoder_server._get_conf('cds'); diff --git a/server/extension/sql/10_helper_test.sql b/server/extension/sql/10_helper_test.sql index 01c659f..ce333f2 100644 --- a/server/extension/sql/10_helper_test.sql +++ b/server/extension/sql/10_helper_test.sql @@ -1,5 +1,5 @@ -- Create a conf table -CREATE TABLE conf (key TEXT NOT NULL PRIMARY KEY, values_json TEXT); +CREATE TABLE conf (key TEXT PRIMARY KEY, values_json TEXT NOT NULL); INSERT INTO conf VALUES ('cds', '{"Manolo Escobar": {"El Limonero":"En stock", "Viva el vino":"Sin stock"}}'); -- Test key retrieval