Sha256: 8393b04d0637e13fbd47c47ed6bb3c4f6b5436efe944522e5531e7580f410cf5

Contents?: true

Size: 308 Bytes

Versions: 1

Compression:

Stored size: 308 Bytes

Contents

class CreateTables < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :username

      t.database_authenticatable :null => false
      t.confirmable
      t.recoverable
      t.timestamps
      t.certifiable
    end
  end
  
  def self.down
    drop_table :users
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise_certifiable-0.1.0 test/rails_app/db/migrate/20100401102949_create_tables.rb