alphagov/publisher — pull request #321 by vinayvinay (2014-12-02 12:42:58+00:00)
Title: Add need to know fields

www.agileplannerapp.com/boards/173808/cards/8707

`need_to_know` is a newly introduced `String` field on `PlaceEdition`, `TransactionEdition` and `LocalTransactionEdition` which stores '[What you need to know](https://private-frontend.preview.alphagov.co.uk/report-stray-dog/bromley)' text, replacing `expectation_ids`.

this change is done:
- to reduce complexity,
- to accommodate work going on on redesigning 'start' pages and
- because prescribed expectations don't meet content design needs.

includes a migration to move expectations to `need_to_know` field, replaces expectations check box group with a freeform text field in edition forms, and removes `Expectation` [index and create interface in Publisher](https://publisher.preview.alphagov.co.uk/expectations).

once we're happy with this running in Production, we can clean-up expectation related data from mongodb.

**note**: branch build failures are unrelated.

cc: @fofr