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:
- 927 Bytes
1 | class Bare4Sidebar < ActiveRecord::Base |
2 | include BareMigration |
3 | |
4 | # there's technically no need for these serialize declaration because in |
5 | # this script active_config and staged_config will always be NULL anyway. |
6 | serialize :active_config |
7 | serialize :staged_config |
8 | end |
9 | |
10 | class AddSidebars < ActiveRecord::Migration |
11 | def self.up |
12 | STDERR.puts "Creating sidebars" |
13 | Bare4Sidebar.transaction do |
14 | create_table :sidebars do |t| |
15 | t.column :controller, :string |
16 | t.column :active_position, :integer |
17 | t.column :active_config, :text |
18 | t.column :staged_position, :integer |
19 | t.column :staged_config, :text |
20 | end |
21 | |
22 | Bare4Sidebar.create(:active_position=>0, :controller=>'category') |
23 | Bare4Sidebar.create(:active_position=>1, :controller=>'static') |
24 | Bare4Sidebar.create(:active_position=>2, :controller=>'xml') |
25 | end |
26 | end |
27 | |
28 | def self.down |
29 | drop_table :sidebars |
30 | end |
31 | end |