Sha256: 03259883c347bd860462b133dc136f239368cd99813074991869bf6a40daf404

Contents?: true

Size: 314 Bytes

Versions: 201

Compression:

Stored size: 314 Bytes

Contents

class CreateAccessCodeRequests < ActiveRecord::Migration
  def self.up
    create_table :access_code_requests do |t|
      t.string    :email
      t.datetime  :code_sent_at
      t.timestamps
    end
    add_index :access_code_requests, :email
  end

  def self.down
    drop_table :access_code_requests
  end
end

Version data entries

201 entries across 165 versions & 13 rubygems

Version Path
muck-users-3.1.21 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.19 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.18 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.17 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.16 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.15 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.14 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.13 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.12 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.11 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.10 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.9 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.8 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.7 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.6 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.5 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.4 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.3 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.2 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.1.1 db/migrate/20100123233654_create_access_code_requests.rb