Class: CreateAbrahamHistories
- Inherits:
-
Object
- Object
- CreateAbrahamHistories
- Defined in:
- lib/generators/abraham/templates/migration.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/generators/abraham/templates/migration.rb', line 4 def change create_table :abraham_histories do |t| t.string :controller_name t.string :action_name t.string :tour_name t.references :creator, null: false, index: true t. index: true end end |