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:
- 498 Bytes
1 | class Bare11Resource < ActiveRecord::Base |
2 | include BareMigration |
3 | end |
4 | |
5 | class AddArticleId < ActiveRecord::Migration |
6 | def self.up |
7 | Dir.mkdir("#{RAILS_ROOT}/public/files") unless File.directory?("#{RAILS_ROOT}/public/files") |
8 | add_column :resources, :article_id, :integer |
9 | Bare11Resource.reset_column_information |
10 | # TODO: resources probably don't get migrated properly. |
11 | # Resource.find(:all) { |r| r.update } |
12 | end |
13 | |
14 | def self.down |
15 | remove_column :resources, :article_id |
16 | end |
17 | end |