repo.or.cz
/
gitorious.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Handle not ready repos
[gitorious.git]
/
db
/
migrate
/
20090226141804_migrating_status_of_merge_requests.rb
blob
c8c6651dc4197b24ee914df481d886c5c18bd98d
1
class MigratingStatusOfMergeRequests < ActiveRecord::Migration
2
def self.up
3
MergeRequest.update_all("status=status+1")
4
end
5
6
def self.down
7
say "Will NOT change the statuses down, your MergeRequests will have invalid statuses"
8
end
9
end