mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Refactoring event states
This commit is contained in:
parent
a95a03c7e5
commit
e5b588df81
12 changed files with 148 additions and 87 deletions
5
db/migrate/20140605125153_update_event_states.rb
Normal file
5
db/migrate/20140605125153_update_event_states.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class UpdateEventStates < ActiveRecord::Migration
|
||||
def change
|
||||
execute "UPDATE events SET state='new' WHERE state = 'review';"
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue