Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 15
- Log:
Attempt to update Typo to a Typo SVN HEAD release from around the
time the prototype installation was set up on the RISC OS Open Limited
web site. Timestamps place this at 04-Jul so a revision from 05-Jul or
earlier was pulled and copied over the 2.6.0 tarball stable code.
- Author:
- adh
- Date:
- Sat Jul 22 23:27:35 +0100 2006
- Size:
- 404 Bytes
1 | class AddUserEmail < ActiveRecord::Migration |
2 | class BareUser < ActiveRecord::Base |
3 | include BareMigration |
4 | end |
5 | |
6 | def self.up |
7 | modify_tables_and_update([:add_column, BareUser, :email, :text], |
8 | [:add_column, BareUser, :name, :text]) do |u| |
9 | u.name = u.login |
10 | end |
11 | end |
12 | |
13 | def self.down |
14 | remove_column :users, :email |
15 | remove_column :users, :name |
16 | end |
17 | end |