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:
- 517 Bytes
1 | require 'fileutils' |
2 | |
3 | class AddCacheTable < ActiveRecord::Migration |
4 | def self.up |
5 | FileUtils.rm_rf("public/articles") |
6 | FileUtils.rm_rf("public/xml") |
7 | FileUtils.rm_rf("public/index.html") |
8 | create_table :page_caches do |t| |
9 | t.column :name, :string |
10 | end |
11 | add_index :page_caches, :name |
12 | end |
13 | |
14 | def self.down |
15 | # TODO: how can this script sweep the page cache? |
16 | # Like PageCache.sweep('/') but without calling a model? |
17 | remove_index :page_caches, :name |
18 | drop_table :page_caches |
19 | end |
20 | end |