Class: CreateChimpactions
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateChimpactions
- Defined in:
- lib/generators/chimpactions/migration/templates/create_chimpactions.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
13 14 15 |
# File 'lib/generators/chimpactions/migration/templates/create_chimpactions.rb', line 13 def self.down drop_table :chimpactions end |
.up ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/generators/chimpactions/migration/templates/create_chimpactions.rb', line 2 def self.up create_table :chimpactions, :force => true do |t| t.text :action t.text :list t.string :whenn t.string :is t.string :value t. end end |