aboutsummaryrefslogtreecommitdiff
path: root/scripts/databaseinit.sql
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-19 10:14:53 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-19 10:19:06 +0200
commit11d45f70ceb41f7dfbf0ae337ebd0ed7a3a63090 (patch)
treedfb472cfdd8292b14a5276dbbcabe135a1f49f32 /scripts/databaseinit.sql
parent4c42daf1d4c2551b8d3e41f7bd6b90482900dad4 (diff)
downloadlinux-conf-perf-11d45f70ceb41f7dfbf0ae337ebd0ed7a3a63090.tar.gz
linux-conf-perf-11d45f70ceb41f7dfbf0ae337ebd0ed7a3a63090.tar.bz2
linux-conf-perf-11d45f70ceb41f7dfbf0ae337ebd0ed7a3a63090.zip
Store boot output to database
Because configuration is now stored in database only missing informations to make database fully descriptive is boot output. This makes output of boot command to be saved to database and not to file. Also parse script should read input from stdin and not from file from argument.
Diffstat (limited to 'scripts/databaseinit.sql')
-rw-r--r--scripts/databaseinit.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/databaseinit.sql b/scripts/databaseinit.sql
index d1ab3e2..0ca9b5a 100644
--- a/scripts/databaseinit.sql
+++ b/scripts/databaseinit.sql
@@ -28,7 +28,7 @@ CREATE TABLE measure (
id BIGSERIAL PRIMARY KEY, -- Id
conf BIGINT REFERENCES configurations (id), -- Reference to configuration
measurement TEXT NOT NULL, -- Text identifivator of measuring tool
- mfile TEXT NOT NULL, -- File with measuring output
+ output TEXT NOT NULL, -- Output of boot
value DOUBLE PRECISION DEFAULT null, -- Measured data value
mtime timestamp NOT NULL, -- Time and date of measurement
linuxgit BIGINT REFERENCES linuxgit (id), -- Reference to git version of Linux