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-engine-3.5.0 test/db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.2.25 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.2.24 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.2.23 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.2.22 db/migrate/20100123233654_create_access_code_requests.rb
muck-activities-3.2.2 test/db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.2.21 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.2.20 db/migrate/20100123233654_create_access_code_requests.rb
muck-engine-3.4.0 test/db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.2.19 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.2.18 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.2.17 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.2.16 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.2.15 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.2.14 db/migrate/20100123233654_create_access_code_requests.rb
muck-users-3.2.13 db/migrate/20100123233654_create_access_code_requests.rb
muck-engine-3.3.18 test/db/migrate/20100123233654_create_access_code_requests.rb
muck-activities-3.2.1 test/db/migrate/20100123233654_create_access_code_requests.rb
muck-engine-3.3.17 test/db/migrate/20100123233654_create_access_code_requests.rb
muck-engine-3.3.16 test/db/migrate/20100123233654_create_access_code_requests.rb