This commit is contained in:
a-ill 2023-07-04 14:56:43 +03:00
parent f4ac4accf2
commit 0fee9d91df
3 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,4 @@
#=
using SearchLight
using Genie
@ -15,3 +16,4 @@ end
SearchLight.Configuration.load(context = @__MODULE__)
SearchLight.connect()
=#

View File

@ -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
=#
end

View File

@ -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