7 lines
172 B
Ruby
7 lines
172 B
Ruby
# frozen_string_literal: true
|
|
|
|
class UpdateEventStates < ActiveRecord::Migration
|
|
def change
|
|
execute "UPDATE events SET state='new' WHERE state = 'review';"
|
|
end
|
|
end
|