Sha256: 324cffd08e29df70c5332dc6f731bfacada038eb2a0e258f1385b3d93a466b75

Contents?: true

Size: 230 Bytes

Versions: 13

Compression:

Stored size: 230 Bytes

Contents

class CreateFeatures < ActiveRecord::Migration
  def self.up
    create_table :features do |t|
      t.string :name
      t.integer :product_id

      t.timestamps
    end
  end

  def self.down
    drop_table :features
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rails3-jquery-autocomplete-0.9.0 integration/db/migrate/20110209020136_create_features.rb
rails3-jquery-autocomplete-0.8.0 integration/db/migrate/20110209020136_create_features.rb
rails3-jquery-autocomplete-0.7.5 integration/db/migrate/20110209020136_create_features.rb
rails3-jquery-autocomplete-0.7.4 integration/db/migrate/20110209020136_create_features.rb
rails3-jquery-autocomplete-0.7.3 integration/db/migrate/20110209020136_create_features.rb
rails3-jquery-autocomplete-0.7.2 integration/db/migrate/20110209020136_create_features.rb
rails3-jquery-autocomplete-0.7.1 integration/db/migrate/20110209020136_create_features.rb
rails3-jquery-autocomplete-0.7.0 integration/db/migrate/20110209020136_create_features.rb
rails3-jquery-autocomplete-0.6.6 integration/db/migrate/20110209020136_create_features.rb
rails3-jquery-autocomplete-0.6.5 integration/db/migrate/20110209020136_create_features.rb
rails3-jquery-autocomplete-0.6.4 integration/db/migrate/20110209020136_create_features.rb
rails3-jquery-autocomplete-0.6.3 integration/db/migrate/20110209020136_create_features.rb
rails3-jquery-autocomplete-0.6.2 integration/db/migrate/20110209020136_create_features.rb