##// END OF EJS Templates
Tagging 1.0.2...
Tagging 1.0.2 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/tags/1.0.2@4213 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r374:16f9f50f50db
r4099:b5cfe790446f 1.0.2
Show More
035_create_changes.rb
16 lines | 503 B | text/x-ruby | RubyLexer
/ db / migrate / 035_create_changes.rb
Jean-Philippe Lang
SVN commits are now stored in the database, and added to the activity view and the search engine....
r374 class CreateChanges < ActiveRecord::Migration
def self.up
create_table :changes do |t|
t.column :changeset_id, :integer, :null => false
t.column :action, :string, :limit => 1, :default => "", :null => false
t.column :path, :string, :default => "", :null => false
t.column :from_path, :string
t.column :from_revision, :integer
end
add_index :changes, [:changeset_id], :name => :changesets_changeset_id
end
def self.down
drop_table :changes
end
end