Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 17 lines (15 sloc) 0.345 kb
ca9c3e8e » jrwest
2010-02-27 authr generator
1 class CreateAccountsTable < ActiveRecord::Migration
2 def self.up
3 create_table :accounts do |t|
f34c42ef » jrwest
2010-03-03 added remember and forget me to account model
4 t.string :uname
5 t.string :hashed_password
6 t.string :remember_token
7 t.datetime :remember_expiry
ca9c3e8e » jrwest
2010-02-27 authr generator
8 #Any additional fields here
9
10 t.timestamps
11 end
12 end
13
14 def self.down
15 drop_table :accounts
16 end
17 end
Something went wrong with that request. Please try again.