Compare commits

..

No commits in common. "main" and "0.3.1" have entirely different histories.
main ... 0.3.1

2 changed files with 5 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# Package # Package
bin = @["db_migrate"] bin = @["db_migrate"]
version = "0.3.2" version = "0.3.1"
author = "Jonathan Bernard" author = "Jonathan Bernard"
description = "Simple tool to handle database migrations." description = "Simple tool to handle database migrations."
license = "BSD" license = "BSD"
@ -9,4 +9,4 @@ srcDir = "src/main/nim"
# Dependencies # Dependencies
requires: @["nim >= 2.0.0", "docopt >= 0.1.0", "db_connector"] requires: @["nim >= 1.4.0", "docopt >= 0.1.0"]

View File

@ -3,10 +3,8 @@
## ##
## Simple tool to manage database migrations. ## Simple tool to manage database migrations.
import std/[algorithm, json, logging, os, sequtils, sets, strutils, tables, import algorithm, db_postgres, docopt, json, logging, os, sequtils, sets,
times] strutils, tables, times
import db_connector/db_postgres
import docopt
type type
DbMigrateConfig* = object DbMigrateConfig* = object
@ -249,7 +247,7 @@ Options:
""" """
# Parse arguments # Parse arguments
let args = docopt(doc, version = "db-migrate (Nim) 0.3.2\nhttps://git.jdb-software.com/jdb/db-migrate") let args = docopt(doc, version = "db-migrate (Nim) 0.3.0\nhttps://git.jdb-software.com/jdb/db-migrate")
let exitErr = proc(msg: string): void = let exitErr = proc(msg: string): void =
fatal("db_migrate: " & msg) fatal("db_migrate: " & msg)