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:
- 740 Bytes
1 | # The PostgreSQL schema for 2.0.6 differs from the MySQL schema-- |
2 | # pgsql had articles_categories.primary_item, while mysql had |
3 | # articles_categories.is_primary. More modenen schemas all have is_primary. |
4 | # This will break Postgres upgrades from 2.0.6, and apparently it bit #375. |
5 | |
6 | class FixIsPrimaryPostgres < ActiveRecord::Migration |
7 | def self.up |
8 | config = ActiveRecord::Base.configurations |
9 | if not $schema_generator and config[RAILS_ENV]['adapter'] == 'postgres' |
10 | execute "alter table articles_categories rename primary_item to is_primary" rescue nil |
11 | end |
12 | end |
13 | |
14 | def self.down |
15 | # don't do anything |
16 | # this is a one-way migration, but it's not "irreversable" |
17 | # because it doesn't change any code logic |
18 | end |
19 | end |