Sha256: 41893c7df057f9ac351c98cfb3d652e7ad4b2ac182d37cb72e0939f28d8ecfbb

Contents?: true

Size: 218 Bytes

Versions: 18

Compression:

Stored size: 218 Bytes

Contents

class CreateAlbums < ActiveRecord::Migration
  def self.up
    create_table :albums do |t|
      t.string :title
      t.string :year

      t.timestamps
    end
  end

  def self.down
    drop_table :albums
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
roar-0.11.7 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.11.6 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.11.5 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.11.4 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.11.3 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.11.2 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.11.1 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.11.0 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.10.2 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.10.1 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.10.0 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.9.2 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.9.1 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.9.0 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.8.3 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.8.2 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.8.1 test/dummy/db/migrate/20110514114753_create_albums.rb
roar-0.8.0 test/dummy/db/migrate/20110514114753_create_albums.rb