When generating a model/migration from cli added ability to specify whether particular property should also have an index #2555

wants to merge 5 commits into
Commits on Aug 17, 2011
  1. @german

    added ability to specify from cli when generating a model/migration w…

    german committed Aug 17, 2011
    …hether particular property should be an index like this 'rails g model person name:string:index profile:string'
  2. @german

    added condition to check whether user omitted type of the attribute b…

    german committed Aug 17, 2011
    …ut specified it should have index while generating model/migration from the cli, so 'rails g model person name:index age:integer' should work
Commits on Sep 2, 2011
  1. @german

    added ability to specify :limit and :precision/:scale column options …

    german committed Sep 2, 2011
    …in migration from cli
Commits on Nov 28, 2011
  1. Merge branch 'master' of git://github.com/rails/rails

    Dmitrii Samoilov committed Nov 28, 2011
Commits on Dec 23, 2011
  1. @german

    changed square brackets to curly ones in column type definition, also…

    german committed Dec 23, 2011
    … added ability to specify (uniq|unique) in index definition, so now it's possible to write 'discount:decimal{5,2}:uniq' or 'user_uuid:uniq' while generating new model/migration