remove useless Migration.status()

This commit is contained in:
2021-07-14 23:45:10 +02:00
parent 682fd5caba
commit b70230fd4c
4 changed files with 12 additions and 23 deletions

View File

@@ -44,17 +44,7 @@ data class MigrationScript(
it.sendQuery("ROLLBACK")
}.join()
return Migration.Status.OK // TODO
}
override fun status(): Migration.Status {
connection.inTransaction {
up()
down()
it.sendQuery("ROLLBACK")
}.join()
return Migration.Status.OK // TODO
return Migration.Status.OK
}
fun copy(): MigrationScript {