From 798da7f0a729c4c2d790b276e46b816bd53c8d47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <cynerd@email.cz>
Date: Tue, 28 Jul 2015 21:56:56 +0200
Subject: Add generator identifier to configuration in database

This identifier is for recognition what generator generated specified configuration as first.
---
 scripts/databaseinit.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'scripts/databaseinit.sql')

diff --git a/scripts/databaseinit.sql b/scripts/databaseinit.sql
index fb765ca..1e34c75 100644
--- a/scripts/databaseinit.sql
+++ b/scripts/databaseinit.sql
@@ -16,6 +16,7 @@ CREATE TABLE linuxgit (
 CREATE TABLE configurations (
 	id BIGSERIAL PRIMARY KEY, -- Id
 	hash char(32) NOT NULL, -- Hash of configuration
+	generator TEXT NOT NULL, -- Text identificator of configure generation method
 	cfile TEXT NOT NULL, -- File path with configuration
 	gtime timestamp NOT NULL, -- Time and date of generation
 	linuxgit BIGINT REFERENCES linuxgit (id), -- Reference to git version of Linux
-- 
cgit v1.2.3

