Skip to content

Commit 24e7e96

Browse files
committed
db: add config tool schema for postgres
1 parent 4f4142f commit 24e7e96

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: config/db_schema.pgsql

+8
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,11 @@ CREATE TABLE ocp_db_config (
149149
db_pass text default NULL,
150150
db_name text NOT NULL default ''
151151
);
152+
153+
CREATE SEQUENCE config_id_seq;
154+
CREATE TABLE config (
155+
id integer Primary KEY DEFAULT nextval('config_id_seq'),
156+
name text NOT NULL,
157+
value text DEFAULT NULL,
158+
description text NOT NULL DEFAULT ''
159+
);

0 commit comments

Comments
 (0)