Commit 71b6dd23 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

fixed #9542 sqlite3 exception in db:migrate on AddChangesetCommitDate

git-svn-id: http://redmine.rubyforge.org/svn/trunk@383 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 1f7863e3
class AddChangesetCommitDate < ActiveRecord::Migration
def self.up
add_column :changesets, :commit_date, :date, :null => false
add_column :changesets, :commit_date, :date
Changeset.update_all "commit_date = committed_on"
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment