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