From 71b6dd232e0a85aa7bc8dd0f78689d7dca47085a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 26 Mar 2007 16:41:54 +0000 Subject: [PATCH] fixed #9542 sqlite3 exception in db:migrate on AddChangesetCommitDate git-svn-id: http://redmine.rubyforge.org/svn/trunk@383 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- db/migrate/036_add_changeset_commit_date.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/036_add_changeset_commit_date.rb b/db/migrate/036_add_changeset_commit_date.rb index 50ab8ef4..b9cc49b8 100644 --- a/db/migrate/036_add_changeset_commit_date.rb +++ b/db/migrate/036_add_changeset_commit_date.rb @@ -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