Sha256: 7d18e2ec2f71d8cca092c1cc291add9e3f8344ef1687d0428d25ee2d25549270

Contents?: true

Size: 229 Bytes

Versions: 2

Compression:

Stored size: 229 Bytes

Contents

class CreateDucks < ActiveRecord::Migration
  def self.up
    create_table :ducks do |t|
      t.string :name
      t.string :email

      t.timestamps
    end
  end

  def self.down
    drop_table :ducks
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mailboxer-without-notification-0.11.2 spec/dummy/db/migrate/20110306002940_create_ducks.rb
mailboxer-without-notification-0.11.1 spec/dummy/db/migrate/20110306002940_create_ducks.rb