Class: CreateProducts
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateProducts
- Defined in:
- lib/generators/initializer/templates/file.rb,
lib/generators/initializer/templates/migration_file.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/generators/initializer/templates/file.rb', line 2 def change create_table :back_scripts do |t| t.string :command_name t.string :command t.string :type t.string :active t.string :description t. end end |