diff options
author | Karel Kočí <cynerd@email.cz> | 2015-08-19 10:14:53 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-08-19 10:19:06 +0200 |
commit | 11d45f70ceb41f7dfbf0ae337ebd0ed7a3a63090 (patch) | |
tree | dfb472cfdd8292b14a5276dbbcabe135a1f49f32 /scripts/databaseinit.sql | |
parent | 4c42daf1d4c2551b8d3e41f7bd6b90482900dad4 (diff) | |
download | linux-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.sql | 2 |
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 |