Skip to content

Commit

Permalink
Add index to signature column
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Salas committed Aug 6, 2018
1 parent 8e30406 commit 56ec288
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ private[slick] class TreeNodeDataDao(val driver: JdbcProfile, val sourceDataDao:
def * = (id, signature, nodeId) <> (MethodSignatureNode.tupled, MethodSignatureNode.unapply)

def node = foreignKey("msnm_node", nodeId, treeNodeData)(_.id, onDelete = ForeignKeyAction.Cascade)
def signatureIndex = index("sig_idx", (signature), unique = false)
}
val methodSignatureNodeMap = TableQuery[MethodSignatureNodeMap]

Expand Down

0 comments on commit 56ec288

Please sign in to comment.