Update
This commit is contained in:
parent
f4ac4accf2
commit
0fee9d91df
|
@ -1,3 +1,4 @@
|
|||
#=
|
||||
using SearchLight
|
||||
using Genie
|
||||
|
||||
|
@ -15,3 +16,4 @@ end
|
|||
|
||||
SearchLight.Configuration.load(context = @__MODULE__)
|
||||
SearchLight.connect()
|
||||
=#
|
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue