REFACTOR: Change dossier state 'Reply' To 'Replied'

This commit is contained in:
Xavier J 2015-11-02 11:33:00 +01:00
parent c0733849d5
commit 4a05af89fc
11 changed files with 32 additions and 27 deletions

View file

@ -0,0 +1,5 @@
class ChangeStatereplyToReplied < ActiveRecord::Migration
def change
Dossier.where(state: 'reply').update_all(state: 'replied')
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20151102101616) do
ActiveRecord::Schema.define(version: 20151102102747) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"