Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

lein-ragtime-gen

  • one of leiningen plugins
  • generating ragtime migration files

Usage

[kwakbab/lein-ragtime-gen "0.0.1"]

You need ...

  • [ragtime "0.5.0"] or later

You need to make a migration path.

e.g.

mkdir project-root/resources/migrations

project.clj

(defproject project "1.0.0"
  :dependencies [[ragtime "0.5.0"]]
  ...
  :plugins [[kwakbab/lein-ragtime-gen "0.0.1"]]
  ...
  :migration-path "resources/migrations")

lein ragtime-gen 'migration-name'

e.g.

$ lein ragtime-gen create-users
$ lein ragtime-gen alter-users-add-name

License

Copyright © 2015 kwakbab

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages