Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 7
- Log:
Initial import of RForum 0.2 sources from a downloaded Tarball.
RForum is a Ruby On Rails based forum and mail gateway service.
- Author:
- adh
- Date:
- Sat Jul 22 18:43:13 +0100 2006
- Size:
- 292 Bytes
1 | class AddPostCounter < ActiveRecord::Migration |
2 | def self.up |
3 | add_column :topics, :post_counter, :integer, :default => 1 |
4 | Topic.find(:all).each do |topic| |
5 | topic.update_post_counter |
6 | topic.save |
7 | end |
8 | end |
9 | |
10 | def self.down |
11 | remove_column :topics, :post_counter |
12 | end |
13 | end |