Class: CreateFeatures
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateFeatures
- Defined in:
- lib/generators/feature_flags/templates/feature_flag_migrate.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/generators/feature_flags/templates/feature_flag_migrate.rb', line 3 def change #creating feature_flags table create_table(:features) do |t| t.string :name t.boolean :status t. end end |