REFACTOR : Change dossier state 'Proposed' To 'Submitted'
This commit is contained in:
parent
0e8919a523
commit
c0733849d5
19 changed files with 54 additions and 49 deletions
|
@ -0,0 +1,5 @@
|
|||
class ChangeStateProposedToSubmitted < ActiveRecord::Migration
|
||||
def change
|
||||
Dossier.where(state: 'proposed').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: 20151027150850) do
|
||||
ActiveRecord::Schema.define(version: 20151102101616) 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