Refactoring event states

This commit is contained in:
Chrisbr 2014-06-06 10:23:01 +02:00
parent a95a03c7e5
commit e5b588df81
12 changed files with 148 additions and 87 deletions

View file

@ -0,0 +1,5 @@
class UpdateEventStates < ActiveRecord::Migration
def change
execute "UPDATE events SET state='new' WHERE state = 'review';"
end
end