REFACTOR: Change dossier state 'SubmitValidated' To 'Submitted'
This commit is contained in:
parent
285cee939a
commit
c454ea28ed
14 changed files with 40 additions and 35 deletions
|
@ -0,0 +1,5 @@
|
|||
class ChangeStateSubmitValidatedToSubmitted < ActiveRecord::Migration
|
||||
def change
|
||||
Dossier.where(state: 'submit_validated').update_all(state: 'submitted')
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20151102142940) do
|
||||
ActiveRecord::Schema.define(version: 20151102143908) 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