Browse files

Renamed do-migrations* function to do-migrations.

  • Loading branch information...
1 parent f17b5d3 commit ae6f9481331dcd38c6fe4580ab11684c53f4ee16 @budu budu committed Aug 21, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/lobos/core.clj
  2. +1 −1 src/lobos/migration.clj
View
4 src/lobos/core.clj
@@ -193,7 +193,7 @@
(let [names (if (empty? names)
(mig/pending-migrations db-spec sname)
names)]
- (mig/do-migrations* db-spec sname :up names)))
+ (mig/do-migrations db-spec sname :up names)))
(defcommand rollback [& args]
(let [names (cond
@@ -208,7 +208,7 @@
(= arg :all) migs
:else args))
:else args)]
- (mig/do-migrations* db-spec sname :down names)))
+ (mig/do-migrations db-spec sname :down names)))
(defcommand generate-migration [name & [msg]]
(let [name (symbol (if (string? name)
View
2 src/lobos/migration.clj
@@ -217,7 +217,7 @@
sname)
(list-migrations-names)))
-(defn do-migrations* [db-spec sname with names]
+(defn do-migrations [db-spec sname with names]
(let [migrations (->> names
(map str)
(only (list-migrations-names))

0 comments on commit ae6f948

Please sign in to comment.