Method: MigrationMaker.make_column
- Defined in:
- lib/umu/generators/migration_maker.rb
.make_column ⇒ Object
57 58 59 60 61 62 63 |
# File 'lib/umu/generators/migration_maker.rb', line 57 def make_column column_name = Umu::Inputter.input(I18n.t('migration.make_column_name')) cover(1) type = Umu::Selector.radio(COLUMN_TYPE, I18n.t('migration.choose_column_type')) cover(2) "#{column_name}:#{type}" end |