From 99f904adcc37d93c90defcd8ce898598e25be212 Mon Sep 17 00:00:00 2001
From: Hugues Hiegel <root@paranoid>
Date: Wed, 11 Mar 2015 16:55:04 +0100
Subject: Lot of plugins

---
 db_config/SQL/pgsql.initial.sql | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 db_config/SQL/pgsql.initial.sql

(limited to 'db_config/SQL/pgsql.initial.sql')

diff --git a/db_config/SQL/pgsql.initial.sql b/db_config/SQL/pgsql.initial.sql
new file mode 100644
index 0000000..e6f53fa
--- /dev/null
+++ b/db_config/SQL/pgsql.initial.sql
@@ -0,0 +1,13 @@
+CREATE TABLE IF NOT EXISTS db_config (
+  id serial PRIMARY KEY,
+  env varchar(255) DEFAULT NULL,
+  conf text,
+  admin varchar(128) NOT NULL
+);
+
+CREATE TABLE IF NOT EXISTS "system" (
+  name varchar(64) NOT NULL PRIMARY KEY,
+  value text
+);
+
+INSERT INTO "system" (name, value) VALUES ('myrc_db_config', 'initial');
\ No newline at end of file
-- 
cgit v1.2.3

