Sha256: 23bed7d40a5041e5cac2c88119222f23665079a07e80493adc3568036d52f9c8

Contents?: true

Size: 237 Bytes

Versions: 7

Compression:

Stored size: 237 Bytes

Contents

class CreateFeatures < ActiveRecord::Migration
  def change
    create_table :features do |t|
      t.string :name
      t.string :controller
      t.boolean :active, default: true
      
      t.timestamps null: false
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
curupira-0.1.7 spec/dummy/db/migrate/20150312181747_create_features.rb
curupira-0.1.6 spec/dummy/db/migrate/20150312181747_create_features.rb
curupira-0.1.4 spec/dummy/db/migrate/20150312181747_create_features.rb
curupira-0.1.3 spec/dummy/db/migrate/20150312181747_create_features.rb
curupira-0.1.2 spec/dummy/db/migrate/20150312181747_create_features.rb
curupira-0.1.1 spec/dummy/db/migrate/20150312181747_create_features.rb
curupira-0.1.0 spec/dummy/db/migrate/20150312181747_create_features.rb