Sha256: b3e64ec7d73e34c774963ff55e58e640d31093ce3daaec98fe13943d9845a4a5

Contents?: true

Size: 215 Bytes

Versions: 7

Compression:

Stored size: 215 Bytes

Contents

class CreateHomes < ActiveRecord::Migration
  def self.up
    create_table :homes do |t|
      t.string :name
      t.string :value

      t.timestamps
    end
  end

  def self.down
    drop_table :homes
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
asf-rest-adapter-0.4.6 test/asf-rest-adapter-rails-app/db/migrate/20110217042403_create_homes.rb
asf-rest-adapter-0.4.5 test/asf-rest-adapter-rails-app/db/migrate/20110217042403_create_homes.rb
asf-rest-adapter-0.4.4 test/asf-rest-adapter-rails-app/db/migrate/20110217042403_create_homes.rb
asf-rest-adapter-0.4.3 test/asf-rest-adapter-rails-app/db/migrate/20110217042403_create_homes.rb
asf-rest-adapter-0.4.2 test/asf-rest-adapter-rails-app/db/migrate/20110217042403_create_homes.rb
asf-rest-adapter-0.3.3 test/asf-rest-adapter-rails-app/db/migrate/20110217042403_create_homes.rb
asf-rest-adapter-0.3.2 test/asf-rest-adapter-rails-app/db/migrate/20110217042403_create_homes.rb