Mercurial > hg > soundsoftware-site
comparison .svn/pristine/c7/c7478ec9fe0088baa4bd4e0b03aab480956ab36b.svn-base @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
908:c6c2cbd0afee | 909:cbb26bc654de |
---|---|
1 class CreateChanges < ActiveRecord::Migration | |
2 def self.up | |
3 create_table :changes do |t| | |
4 t.column :changeset_id, :integer, :null => false | |
5 t.column :action, :string, :limit => 1, :default => "", :null => false | |
6 t.column :path, :string, :default => "", :null => false | |
7 t.column :from_path, :string | |
8 t.column :from_revision, :integer | |
9 end | |
10 add_index :changes, [:changeset_id], :name => :changesets_changeset_id | |
11 end | |
12 | |
13 def self.down | |
14 drop_table :changes | |
15 end | |
16 end |