Class: CreateDolarCotizations
- Inherits:
-
Object
- Object
- CreateDolarCotizations
- Defined in:
- lib/generators/dolar/bna/install/templates/create_dolar_cotizations.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/generators/dolar/bna/install/templates/create_dolar_cotizations.rb', line 2 def change create_table :dolar_cotizations do |t| t.date :date t.string :dolar_type t.float :dolar_buy t.float :dolar_sell t. end end |