diff --git a/db/gen/create_tables.sql b/db/gen/create_tables.sql index 0b08ec8..581fbae 100644 --- a/db/gen/create_tables.sql +++ b/db/gen/create_tables.sql @@ -97,6 +97,9 @@ CREATE TABLE Applicationservice ( ApplicationserviceName VARCHAR(255) NOT NULL, ApplicationserviceDescription VARCHAR(255) NOT NULL, ApplicationserviceReleaseId INTEGER NOT NULL, + ApplicationserviceLVIS VARCHAR(255) NOT NULL, + ApplicationserviceLVIP VARCHAR(255) NOT NULL, + ApplicationserviceLVMP VARCHAR(255) NOT NULL, OS JSON, UNIQUE (ApplicationserviceName, ApplicationserviceReleaseId) ); diff --git a/tmpl/risotto.yml b/tmpl/risotto.yml index 051a540..fa3fdbf 100644 --- a/tmpl/risotto.yml +++ b/tmpl/risotto.yml @@ -11,7 +11,7 @@ dbhost: %%getVar('risotto_db_address') dbport: 5432 dbtype: postgres dbname: %%dbname -template: 'postgres' +template: 'template0' sqlscripts: ['/usr/share/eole/db/eole-risotto/gen/create_tables.sql'] pwd_files: - {'file': '/etc/risotto/risotto.conf', 'pattern': 'RISOTTO_DB_PASSWORD='} diff --git a/tmpl/tiramisu.yml b/tmpl/tiramisu.yml index 062d9d1..de6668f 100644 --- a/tmpl/tiramisu.yml +++ b/tmpl/tiramisu.yml @@ -11,7 +11,7 @@ dbhost: %%getVar('risotto_db_address') dbport: 5432 dbtype: postgres dbname: %%getVar('risotto_tiramisu_dbname') -template: 'postgres' +template: 'template0' pwd_files: - {'file': '/etc/risotto/risotto.conf', 'pattern': 'TIRAMISU_DB_PASSWORD='}