Changes conf table config
This commit is contained in:
parent
aabc873eac
commit
389b0a2b31
@ -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');
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user