comparison .svn/pristine/8d/8d646867ca13f3417cfc72ec4e7ed07e69398fdb.svn-base @ 1298:4f746d8966dd redmine_2.3_integration

Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author Chris Cannam
date Fri, 14 Jun 2013 09:28:30 +0100
parents 622f24f53b42
children
comparison
equal deleted inserted replaced
1297:0a574315af3e 1298:4f746d8966dd
1 class RemoveIssuesDefaultFkValues < ActiveRecord::Migration
2 def up
3 change_column_default :issues, :tracker_id, nil
4 change_column_default :issues, :project_id, nil
5 change_column_default :issues, :status_id, nil
6 change_column_default :issues, :assigned_to_id, nil
7 change_column_default :issues, :priority_id, nil
8 change_column_default :issues, :author_id, nil
9 end
10
11 def down
12 change_column_default :issues, :tracker_id, 0
13 change_column_default :issues, :project_id, 0
14 change_column_default :issues, :status_id, 0
15 change_column_default :issues, :assigned_to_id, 0
16 change_column_default :issues, :priority_id, 0
17 change_column_default :issues, :author_id, 0
18 end
19 end