Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 806 Bytes
1 | class AddIndexes < ActiveRecord::Migration |
2 | def self.up |
3 | add_index :pages, :class_name, :name => 'pages_class_name' |
4 | add_index :pages, :parent_id, :name => 'pages_parent_id' |
5 | add_index :pages, %w{slug parent_id}, :name => 'pages_child_slug' |
6 | add_index :pages, %w{virtual status_id}, :name => 'pages_published' |
7 | |
8 | add_index :page_parts, %w{page_id name}, :name => 'parts_by_page' |
9 | end |
10 | |
11 | def self.down |
12 | remove_index :page_parts, :name => 'parts_by_page' |
13 | |
14 | remove_index :pages, :name => 'pages_published' |
15 | remove_index :pages, :name => 'pages_child_slug' |
16 | remove_index :pages, :name => 'pages_parent_id' |
17 | remove_index :pages, :name => 'pages_class_name' |
18 | end |
19 | end |