REFACTOR: Change dossier state 'Confirmed' To 'Validated'
This commit is contained in:
parent
4a05af89fc
commit
da8c166331
14 changed files with 50 additions and 44 deletions
|
@ -0,0 +1,6 @@
|
|||
class ChangeStateConfirmedToValidated < ActiveRecord::Migration
|
||||
def change
|
||||
Dossier.where(state: 'confirmed').update_all(state: 'validated')
|
||||
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20151102102747) do
|
||||
ActiveRecord::Schema.define(version: 20151102104309) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue