Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 86
- Log:
Initial import of I2, an Instiki clone.
- Author:
- adh
- Date:
- Mon Oct 16 10:40:36 +0100 2006
- Size:
- 387 Bytes
1 | class AddAuthors < ActiveRecord::Migration |
2 | def self.up |
3 | create_table :authors do |t| |
4 | t.column :name, :string |
5 | t.column :ip, :string |
6 | end |
7 | |
8 | master_chief = Author.create(:name => "Master Chief", :ip => "127.0.0.1") |
9 | |
10 | Version.find(:all).each { |version| version.author = master_chief; version.save } |
11 | end |
12 | |
13 | def self.down |
14 | drop_table :authors |
15 | end |
16 | end |