Sha256: 697ca25ad3682e3f4043c310bd2152a8de380eca43e7a2a850cdd99e19c9050e

Contents?: true

Size: 220 Bytes

Versions: 2

Compression:

Stored size: 220 Bytes

Contents

class CreateDucks < ActiveRecord::Migration[4.2]
  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-0.15.1 spec/dummy/db/migrate/20110306002940_create_ducks.rb
mailboxer-0.15.0 spec/dummy/db/migrate/20110306002940_create_ducks.rb