Add new empty script entry

This commit is contained in:
Joshua Boniface 2020-01-05 16:46:02 -05:00
parent cd7cdf2719
commit 03779056c7
1 changed files with 2 additions and 1 deletions

View File

@ -8,3 +8,4 @@ CREATE TABLE script (id SERIAL PRIMARY KEY, name TEXT NOT NULL UNIQUE, script TE
CREATE TABLE profile (id SERIAL PRIMARY KEY, name TEXT NOT NULL UNIQUE, system_template INT REFERENCES system_template(id), network_template INT REFERENCES network_template(id), storage_template INT REFERENCES storage_template(id), userdata INT REFERENCES userdata(id), script INT REFERENCES script(id), arguments text);
INSERT INTO userdata (name, userdata) VALUES ('empty', '');
INSERT INTO script (name, script) VALUES ('empty', '');