Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save floehopper/93d519f75192c356e1b9a0b6151c951c to your computer and use it in GitHub Desktop.
Save floehopper/93d519f75192c356e1b9a0b6151c951c to your computer and use it in GitHub Desktop.
Testing Manuals Publisher RemoveSpecialistDocumentEditionsWithNonManualDocumentType migration
vagrant@development:/var/govuk/manuals-publisher$ bin/document_types_report
## SpecialistDocumentEditions
* With non-manual document type: 23018
* With manual document type: 3688
## ManualRecord::Editions
* With mixed (manual vs non-manual) document types: []
* With only non-manual document types: []
## ManualRecords
* With mixed (manual vs non-manual) document types: []
* With only non-manual document types: []
vagrant@development:/var/govuk/manuals-publisher$ bundle exec rake db:migrate
== RemoveSpecialistDocumentEditionsWithNonManualDocumentType: migrating ======
== RemoveSpecialistDocumentEditionsWithNonManualDocumentType: migrated (0.7403s)
vagrant@development:/var/govuk/manuals-publisher$ bin/document_types_report
## SpecialistDocumentEditions
* With non-manual document type: 0
* With manual document type: 3688
## ManualRecord::Editions
* With mixed (manual vs non-manual) document types: []
* With only non-manual document types: []
## ManualRecords
* With mixed (manual vs non-manual) document types: []
* With only non-manual document types: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment