Sha256: 4c00d65782bfeb6998ebcef6b19c332a12dfb77160466b28231c947647ff9492

Contents?: true

Size: 219 Bytes

Versions: 14

Compression:

Stored size: 219 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
    end
  end
end

Version data entries

14 entries across 7 versions & 1 rubygems

Version Path
curupira-0.1.7 spec/tmp/db/migrate/20170509173923_create_features.rb
curupira-0.1.7 lib/generators/curupira/templates/db/migrate/create_features.rb
curupira-0.1.6 spec/tmp/db/migrate/20170509170652_create_features.rb
curupira-0.1.6 lib/generators/curupira/templates/db/migrate/create_features.rb
curupira-0.1.4 lib/generators/curupira/templates/db/migrate/create_features.rb
curupira-0.1.4 spec/tmp/db/migrate/20160930024816_create_features.rb
curupira-0.1.3 spec/tmp/db/migrate/20150323194121_create_features.rb
curupira-0.1.3 lib/generators/curupira/templates/db/migrate/create_features.rb
curupira-0.1.2 spec/tmp/db/migrate/20150320032241_create_features.rb
curupira-0.1.2 lib/generators/curupira/templates/db/migrate/create_features.rb
curupira-0.1.1 spec/tmp/db/migrate/20150319143757_create_features.rb
curupira-0.1.1 lib/generators/curupira/templates/db/migrate/create_features.rb
curupira-0.1.0 lib/generators/curupira/templates/db/migrate/create_features.rb
curupira-0.1.0 spec/tmp/db/migrate/20150318190314_create_features.rb