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