Browse Source

fixed #9542 sqlite3 exception in db:migrate on AddChangesetCommitDate

git-svn-id: http://redmine.rubyforge.org/svn/trunk@383 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/0.5.0
Jean-Philippe Lang 17 years ago
parent
commit
71b6dd232e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      db/migrate/036_add_changeset_commit_date.rb

+ 1
- 1
db/migrate/036_add_changeset_commit_date.rb View File

@@ -1,6 +1,6 @@
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


Loading…
Cancel
Save