Sha256: 50ad14218006b22e8d7affcf3856ce5464df79f0c8b1ff0851be110b6452c351

Contents?: true

Size: 199 Bytes

Versions: 2

Compression:

Stored size: 199 Bytes

Contents

class CreateAuthors < ActiveRecord::Migration
  def self.up
    create_table :authors do |t|
      t.string :name

      t.timestamps
    end
  end

  def self.down
    drop_table :authors
  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
rails-services-0.1.5 test/rails_app_v2/db/migrate/20110128215001_create_authors.rb
rails-services-0.1.5 test/rails_app_v3/db/migrate/20110128215713_create_authors.rb