REFACTOR : Change dossier state 'Deposited' To 'SubmitValidated'
This commit is contained in:
parent
da8c166331
commit
76d87c7f79
14 changed files with 40 additions and 35 deletions
|
@ -0,0 +1,5 @@
|
|||
class ChangeStateDepositedToSubmitValidate < ActiveRecord::Migration
|
||||
def change
|
||||
Dossier.where(state: 'deposited').update_all(state: 'submit_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: 20151102104309) do
|
||||
ActiveRecord::Schema.define(version: 20151102105011) 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