Sha256: 04c25310f698e882753ab724f153529177c427120317729b8ece1c000e1b5e7d

Contents?: true

Size: 220 Bytes

Versions: 2

Compression:

Stored size: 220 Bytes

Contents

class CreateUsers < ActiveRecord::Migration[4.2]
  def self.up
    create_table :users do |t|
      t.string :name
      t.string :email

      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mailboxer-0.15.1 spec/dummy/db/migrate/20110228120600_create_users.rb
mailboxer-0.15.0 spec/dummy/db/migrate/20110228120600_create_users.rb