Skip to content

Commit

Permalink
Merge pull request #32 from AlgebraicJulia/catlab-v0.14
Browse files Browse the repository at this point in the history
Upgrade to Catlab v0.14
  • Loading branch information
epatters authored Oct 12, 2022
2 parents 2d4dea7 + 722362b commit d93a4ba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ LibPQ = "194296ae-ab2e-5f79-8cd4-7183a0a5a0d1"
[compat]
AlgebraicPetri = "0.6, 0.7"
AutoHashEquals = "0.2.0"
Catlab = "0.13"
DataFrames = "0.21, 0.22, 1.0"
Catlab = "0.14"
DataFrames = "1.0"
LibPQ = "1.4.0"
julia = "1.0"

Expand Down
2 changes: 1 addition & 1 deletion src/DB.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module DB
using Catlab: @present
using Catlab.Present
using Catlab.CategoricalAlgebra.CSets
using Catlab.CSetDataStructures: struct_acset
using Catlab.CSetDataStructures.DenseACSets: struct_acset
export TheorySQL, generate_schema_sql, @present, get_fields, TypeToSQL, typeToSQL, @db_schema, AbstractSQL

TypeToSQL = Dict("String" => "text",
Expand Down
4 changes: 2 additions & 2 deletions src/Queries.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Queries
using Catlab: @present
using Catlab.Programs.RelationalPrograms
using Catlab.Programs.RelationalPrograms: TheoryTypedRelationDiagram, TheoryTypedNamedRelationDiagram, TypedNamedRelationDiagram, parse_relation_diagram
using Catlab.Programs.RelationalPrograms: TypedNamedRelationDiagram, parse_relation_diagram
using Catlab.Graphics
using Catlab.WiringDiagrams
using Catlab.CategoricalAlgebra.CSets
Expand All @@ -17,7 +17,7 @@ module Queries
:(!=) => ("<>", [:first, :second]),
)

@present TheoryQuery <: TheoryTypedNamedRelationDiagram begin
@present TheoryQuery <: SchTypedNamedRelationDiagram begin
Comparison::Ob
comp_port1::Hom(Comparison, Port)
comp_port2::Hom(Comparison, Port)
Expand Down

0 comments on commit d93a4ba

Please sign in to comment.