Class: CreateNewLows
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateNewLows
- Defined in:
- lib/generators/barchart_data/install/templates/newlow_migration.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/generators/barchart_data/install/templates/newlow_migration.rb', line 2 def change create_table :new_lows, :force => true do |t| t.string :symbol t.datetime :saved_on t. null: false end end |