Add diesel_migrations dependency
This change adds the diesel_migrations dependency, in order to replace
the naive implementation.
@@ -32,6 +32,7 @@ bzip2 = { version = "0.4", optional = true }
cbor-codec = { version = "0.7", optional = true }
chrono = { version = "0.4", optional = true }
cylinder = { version = "0.2", optional = true }
+diesel_migrations = { version = "1.4", optional = true }
glob = { version = "0.3", optional = true }
hex = "0.4"
libc = ">=0.2.35"
@@ -175,7 +176,7 @@ scheduler = ["context", "log", "protocol-batch"]
sqlite = ["diesel/sqlite", "serde", "serde_derive", "serde_json"]
state-merkle = ["cbor-codec", "log", "openssl"]
state-merkle-leaf-reader = []
-state-merkle-sql = ["diesel"]
+state-merkle-sql = ["diesel", "diesel_migrations"]
# This feature must be enabled to run the merkle tests using a redis db. It is
# not enabled by default, due to its requirement of an external redis instance.
state-merkle-redis-db-tests = ["database-redis", "state-merkle"]
