Handle not ready repos
[gitorious.git] / db / migrate / 20131201232200_add_priority_to_issues.issues.rb
blob07ce6c21e57a9f2611e0234fb2ce4a792d51f53b
1 # This migration comes from issues (originally 20131201232028)
3 #--
4 #   Copyright (C) 2012-2013 Gitorious AS
6 #   This program is free software: you can redistribute it and/or modify
7 #   it under the terms of the GNU Affero General Public License as published by
8 #   the Free Software Foundation, either version 3 of the License, or
9 #   (at your option) any later version.
11 #   This program is distributed in the hope that it will be useful,
12 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 #   GNU Affero General Public License for more details.
16 #   You should have received a copy of the GNU Affero General Public License
17 #   along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 #++
20 class AddPriorityToIssues < ActiveRecord::Migration
21   def change
22     add_column :issues_issues, :priority, :integer, :null => false, :default => 0
23   end
24 end