From 0fee9d91df0308da2c1da7727cfbe55fb89f3d88 Mon Sep 17 00:00:00 2001 From: a-ill Date: Tue, 4 Jul 2023 14:56:43 +0300 Subject: [PATCH] Update --- Server/config/initializers/searchlight.jl | 2 ++ Server/lib/DatabaseSupport.jl | 7 ++++--- Server/lib/TemplateEditor.jl | 1 - 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Server/config/initializers/searchlight.jl b/Server/config/initializers/searchlight.jl index 15e5e0f..909eef0 100644 --- a/Server/config/initializers/searchlight.jl +++ b/Server/config/initializers/searchlight.jl @@ -1,3 +1,4 @@ +#= using SearchLight using Genie @@ -15,3 +16,4 @@ end SearchLight.Configuration.load(context = @__MODULE__) SearchLight.connect() +=# \ No newline at end of file diff --git a/Server/lib/DatabaseSupport.jl b/Server/lib/DatabaseSupport.jl index 0c313bb..43fda0d 100644 --- a/Server/lib/DatabaseSupport.jl +++ b/Server/lib/DatabaseSupport.jl @@ -1,5 +1,6 @@ -module DatabaseSupport +module DatabaseSupport +#= using SearchLight, SearchLightPostgreSQL, LibPQ using DataFrames @@ -132,5 +133,5 @@ function add_foreign_key(table,name,table2,name2) ADD CONSTRAINT fk_$(table)_$(table2)_$(name) FOREIGN KEY ($name) REFERENCES $table2 ($name2);""" SearchLight.query(query) end - -end \ No newline at end of file +=# +end diff --git a/Server/lib/TemplateEditor.jl b/Server/lib/TemplateEditor.jl index 38acc2f..9d1d195 100644 --- a/Server/lib/TemplateEditor.jl +++ b/Server/lib/TemplateEditor.jl @@ -21,7 +21,6 @@ function register_components() n = filename[1:end-3] push!(components_names,n) Genie.Renderer.Html.register_normal_element(replace(n,"-" => "__")) - @info n end end return