Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2020-01-20 14:11:08 +0300
committerVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2020-01-20 14:11:28 +0300
commite2d3a1c13d0d172249caabba6c903a1e0da98758 (patch)
tree0bdcd544092f4524bb1a15dc75e3973cfad31647 /database
parentb307ccdc3960a6fd210a2bc23b58b69668841314 (diff)
....I..PS. [ZBXNEXT-1736] added database changes for new installations
Diffstat (limited to 'database')
-rw-r--r--database/mysql/Makefile.am4
-rw-r--r--database/postgresql/Makefile.am4
2 files changed, 4 insertions, 4 deletions
diff --git a/database/mysql/Makefile.am b/database/mysql/Makefile.am
index be61f80defd..35c7be33e85 100644
--- a/database/mysql/Makefile.am
+++ b/database/mysql/Makefile.am
@@ -1,10 +1,10 @@
if DBSCHEMA
DATABASE = mysql
-data.sql: $(top_srcdir)/create/src/data.tmpl $(top_srcdir)/create/src/templates.tmpl $(top_srcdir)/create/src/dashboards.tmpl
+data.sql: $(top_srcdir)/create/src/data.tmpl $(top_srcdir)/create/src/templates.tmpl $(top_srcdir)/create/src/dashboards.tmpl $(top_srcdir)/create/bin/gen_data.pl
$(top_srcdir)/create/bin/gen_data.pl $(DATABASE) > data.sql
-schema.sql: $(top_srcdir)/create/src/schema.tmpl
+schema.sql: $(top_srcdir)/create/src/schema.tmpl $(top_srcdir)/create/bin/gen_schema.pl
$(top_srcdir)/create/bin/gen_schema.pl $(DATABASE) > schema.sql
endif
diff --git a/database/postgresql/Makefile.am b/database/postgresql/Makefile.am
index 336b1539e74..dc2a2e1e63c 100644
--- a/database/postgresql/Makefile.am
+++ b/database/postgresql/Makefile.am
@@ -2,10 +2,10 @@ if DBSCHEMA
DATABASE = postgresql
DB_EXTENSION = timescaledb
-data.sql: $(top_srcdir)/create/src/data.tmpl $(top_srcdir)/create/src/templates.tmpl $(top_srcdir)/create/src/dashboards.tmpl
+data.sql: $(top_srcdir)/create/src/data.tmpl $(top_srcdir)/create/src/templates.tmpl $(top_srcdir)/create/src/dashboards.tmpl $(top_srcdir)/create/bin/gen_data.pl
$(top_srcdir)/create/bin/gen_data.pl $(DATABASE) > data.sql
-schema.sql: $(top_srcdir)/create/src/schema.tmpl
+schema.sql: $(top_srcdir)/create/src/schema.tmpl $(top_srcdir)/create/bin/gen_schema.pl
$(top_srcdir)/create/bin/gen_schema.pl $(DATABASE) > schema.sql
$(DB_EXTENSION).sql: