diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-25 17:11:46 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-25 17:11:46 +0000 |
commit | 0ef114e00641a3cdb8771675a30cae31177b2d61 (patch) | |
tree | c07f0919f4b010a9262ba04b52ecb32f5a8c7dd1 /db | |
parent | 887f11435b4d18ccb5d6e0e39893935f93c903c9 (diff) | |
download | redmine-0ef114e00641a3cdb8771675a30cae31177b2d61.tar.gz redmine-0ef114e00641a3cdb8771675a30cae31177b2d61.zip |
added simple svn statistics graphs, rendered using SVG::Graph
git-svn-id: http://redmine.rubyforge.org/svn/trunk@380 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/036_add_changeset_commit_date.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/036_add_changeset_commit_date.rb b/db/migrate/036_add_changeset_commit_date.rb new file mode 100644 index 000000000..50ab8ef4f --- /dev/null +++ b/db/migrate/036_add_changeset_commit_date.rb @@ -0,0 +1,10 @@ +class AddChangesetCommitDate < ActiveRecord::Migration + def self.up + add_column :changesets, :commit_date, :date, :null => false + Changeset.update_all "commit_date = committed_on" + end + + def self.down + remove_column :changesets, :commit_date + end +end |