Sha256: 94c5dd448ec4b4805548d3ae2ab4889abb364767531d0356bbf10c5300f3c383
Contents?: true
Size: 715 Bytes
Versions: 34
Compression:
Stored size: 715 Bytes
Contents
class RemoveIssuesDefaultFkValues < ActiveRecord::Migration def up change_column_default :issues, :tracker_id, nil change_column_default :issues, :project_id, nil change_column_default :issues, :status_id, nil change_column_default :issues, :assigned_to_id, nil change_column_default :issues, :priority_id, nil change_column_default :issues, :author_id, nil end def down change_column_default :issues, :tracker_id, 0 change_column_default :issues, :project_id, 0 change_column_default :issues, :status_id, 0 change_column_default :issues, :assigned_to_id, 0 change_column_default :issues, :priority_id, 0 change_column_default :issues, :author_id, 0 end end
Version data entries
34 entries across 34 versions & 1 rubygems