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:
- 419 Bytes
1 | class FixupDefaultSidebars < ActiveRecord::Migration |
2 | class BareSidebar < ActiveRecord::Base |
3 | include BareMigration |
4 | end |
5 | |
6 | def self.up |
7 | BareSidebar.transaction do |
8 | BareSidebar.find(:all, :conditions => "staged_position IS NULL").each do |sb| |
9 | sb.staged_position = sb.active_position; |
10 | sb.save! |
11 | end |
12 | end |
13 | end |
14 | |
15 | def self.down |
16 | # There's nothing to do in the down step. |
17 | end |
18 | end |