Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 206
- Log:
Initial import of Gullery, an open source photo gallery:
http://nubyonrails.com/pages/gullery
- Author:
- rool
- Date:
- Sun May 20 19:05:59 +0100 2007
- Size:
- 945 Bytes
1 | class AddAuthenticatedTable < ActiveRecord::Migration |
2 | # modify the table name for now, until I can figure out how to set it w/ the generator |
3 | def self.up |
4 | create_table "users", :force => true do |t| |
5 | t.column "name", :string, :limit => 100 |
6 | t.column "company", :string, :limit => 100 |
7 | t.column "website", :string |
8 | t.column "login", :string, :limit => 40 |
9 | t.column "email", :string, :limit => 100 |
10 | t.column "crypted_password", :string, :limit => 40 |
11 | t.column "salt", :string, :limit => 40 |
12 | #t.column "activation_code", :string, :limit => 40 # only if you want |
13 | #t.column "activated_at", :datetime # user activation |
14 | t.column "created_at", :datetime |
15 | t.column "updated_at", :datetime |
16 | t.column "description", :text |
17 | end |
18 | end |
19 | |
20 | def self.down |
21 | drop_table "users" |
22 | end |
23 | end |