Sha256: 299c72c60e7cb370a95023e3f048b2d599e1b4c178c10a4c9ca486dba829f5b4

Contents?: true

Size: 231 Bytes

Versions: 22

Compression:

Stored size: 231 Bytes

Contents

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

      t.timestamps
    end
  end

  def self.down
    drop_table :authors
  end
end

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
netzke-basepack-0.6.2 test/rails_app/db/migrate/20101026185816_create_authors.rb
netzke-basepack-0.6.1 test/rails_app/db/migrate/20101026185816_create_authors.rb