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/mssql.initial.sql | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 db_config/SQL/mssql.initial.sql

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

diff --git a/db_config/SQL/mssql.initial.sql b/db_config/SQL/mssql.initial.sql
new file mode 100644
index 0000000..1e806b0
--- /dev/null
+++ b/db_config/SQL/mssql.initial.sql
@@ -0,0 +1,12 @@
+IF NOT EXISTS (SELECT * FROM sysobjects WHERE id = object_id(N'[dbo].[db_config]') AND OBJECTPROPERTY(id, N'IsUserTable') = 1)
+CREATE TABLE [db_config] (
+  [id] int NOT NULL IDENTITY(1,1),
+  [env] nvarchar(255) NOT NULL,
+  [conf] nvarchar(MAX) NOT NULL,
+  [admin] nvarchar(128) NOT NULL,
+  PRIMARY KEY ([id])
+)
+GO
+
+INSERT INTO [system] (name, value) VALUES ('myrc_db_config', 'initial')
+GO
-- 
cgit v1.2.3

