From 65b7e276b1d2417f6c7c743ee44b7122de16eadc Mon Sep 17 00:00:00 2001 From: Jonathan Gazeley <jonathan.gazeley@bristol.ac.uk> Date: Fri, 16 Oct 2015 09:44:30 +0100 Subject: [PATCH] Update sql template to support custom query file --- templates/sql.conf.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/sql.conf.erb b/templates/sql.conf.erb index 1bf644b..4d7aa03 100644 --- a/templates/sql.conf.erb +++ b/templates/sql.conf.erb @@ -86,5 +86,6 @@ sql <%= @name %> { nas_table = <%= @nas_table %> # Read driver-specific configuration - $INCLUDE <%= @query_file %> + $INCLUDE <%if @custom_query_file %><%= @custom_query_file %><% else %><%= @query_file %><% end %> + } -- GitLab