Fix migrations of Functions

This commit is contained in:
2020-05-11 01:39:36 +02:00
parent 377459f430
commit 55b547db75
6 changed files with 24 additions and 18 deletions

View File

@@ -20,10 +20,10 @@ interface Resource {
fun build(resource: String, path: Path): Resource =
try {
Function(resource, path)
Migration(resource, path)
} catch (e: ParseException) {
try {
Migration(resource, path)
Function(resource, path)
} catch (e: ParseException) {
try {
Query(resource, path)