summaryrefslogtreecommitdiffstats
path: root/db/migrate/054_add_changesets_scmid.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-06-12 20:12:05 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-06-12 20:12:05 +0000
commit438161ad1fd37aadbfa3f5a875540730fd6d70c3 (patch)
treeb396b2379835a6f768023cdc0f7042259f560875 /db/migrate/054_add_changesets_scmid.rb
parent4dddb606a6d24c7f95e52f08e689464ab6f8b5b8 (diff)
downloadredmine-438161ad1fd37aadbfa3f5a875540730fd6d70c3.tar.gz
redmine-438161ad1fd37aadbfa3f5a875540730fd6d70c3.zip
Added basic support for CVS and Mercurial SCMs.
Browsing, changesets fetching and diff viewing are implemented. Only tested with local repositories. Thanks to Ralph Vater for CVS specific code. git-svn-id: http://redmine.rubyforge.org/svn/trunk@559 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/054_add_changesets_scmid.rb')
-rw-r--r--db/migrate/054_add_changesets_scmid.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/054_add_changesets_scmid.rb b/db/migrate/054_add_changesets_scmid.rb
new file mode 100644
index 000000000..188fa6ef6
--- /dev/null
+++ b/db/migrate/054_add_changesets_scmid.rb
@@ -0,0 +1,9 @@
+class AddChangesetsScmid < ActiveRecord::Migration
+ def self.up
+ add_column :changesets, :scmid, :string
+ end
+
+ def self.down
+ remove_column :changesets, :scmid
+ end
+end