name
- The name of the clinic.address
- The first line of the address.town
- The town of the clinic.country
- The county of the clinic.postcode
- The postcode of the clinic.ods_code
- The ODS code of the clinic.team_ods_code
- The ODS code of the team.
If none of the arguments are provided (rake clinics:create
), the user will be prompted for responses.
This creates a new clinic location and attaches it to a team.
ods_code
- The ODS code of the team.urn
- The URN of the school to add, can be added multiple times.
This adds a school or schools to the list of schools that a particular team manages.
email
- The email address of the team.name
- The unique name of the team.phone
- The phone number of the team.ods_code
- The unique ODS code for the team.privacy_policy_url
- The URL of the team’s privacy policy (optional).reply_to_id
- The team’s GOV.UK Notify reply to UUID (optional).
If none of the arguments are provided (rake teams:create_hpv
), the user will be prompted for responses.
This creates a new team with an HPV programme.
email
- The email address of the new user.password
- The password of the new user.given_name
- The first name of the new user.family_name
- The last name of the new user.team_ods_code
- The ODS code for the team they belong to.registration
- The nurse registration number.
If none of the arguments are provided (rake users:create
), the user will be prompted for responses.
This creates a new user and adds them to a team.
email
- The email address of the new user.given_name
- The first name of the new user.family_name
- The last name of the new user.team_ods_code
- The ODS code for the team they belong to.registration
- The nurse registration number.
If none of the arguments are provided (rake users:create
), the user will be prompted for responses.
This creates a new user and adds them to a team, and sends their password via email.
type
- The type of vaccine, eitherflu
orhpv
. (optional)
This creates the default set of vaccine records, or if they already exist, updates any existing vaccine records to match the default set.
This is useful for setting up a new production environment, but also gets automatically run by db:seed
.