Permalink
Browse files

Renamed delete-migration to delete-migrations.

  • Loading branch information...
1 parent a3fd19c commit 1d3a5769b183a7fd7777dab83a992b4c79573bf6 @budu budu committed Aug 21, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/lobos/migration.clj
View
4 src/lobos/migration.clj
@@ -189,7 +189,7 @@
(compiler/as-identifier db-spec *migrations-table* sname)
(map str names)))))
-(defn delete-migration
+(defn delete-migrations
[db-spec sname & names]
(when-not (empty? names)
(conn/with-connection db-spec
@@ -229,7 +229,7 @@
(insert-migrations db-spec sname name))
(do
(down migration)
- (delete-migration db-spec sname name))))))))
+ (delete-migrations db-spec sname name))))))))
(defn dump* [db-spec sname name msg actions]
(append-to-mfile name msg

0 comments on commit 1d3a576

Please sign in to comment.