summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-12 17:29:18 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-12 17:29:18 +0000
commit30aecd5e253863a5be330a9536dd6e1a19cfc9aa (patch)
tree53b2fbc54f0c41d709f7b818dbec73adc6b2f728 /db
parent3e2a67be4feacd70d1fa7fae96d8c2b0d9f85102 (diff)
downloadredmine-30aecd5e253863a5be330a9536dd6e1a19cfc9aa.tar.gz
redmine-30aecd5e253863a5be330a9536dd6e1a19cfc9aa.zip
scm: add "extra_info" column to repositories table and set serialize (#7146, #7047).
This column is for specific SCM. Git 7 days problem (#7146) can not resolve unless storing branches info in database. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5762 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20110511000000_add_repositories_extra_info.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20110511000000_add_repositories_extra_info.rb b/db/migrate/20110511000000_add_repositories_extra_info.rb
new file mode 100644
index 000000000..a5280dc57
--- /dev/null
+++ b/db/migrate/20110511000000_add_repositories_extra_info.rb
@@ -0,0 +1,9 @@
+class AddRepositoriesExtraInfo < ActiveRecord::Migration
+ def self.up
+ add_column :repositories, :extra_info, :text
+ end
+
+ def self.down
+ remove_column :repositories, :extra_info
+ end
+end