Page MenuHomePhabricator

Changing cohorts into campaigns: change attributes
Closed, DuplicatePublic

Description

To turn cohorts into campaigns:

  • Campaigns will have several new attributes: description, template_course_id (explained below), and will also have organizers that belong to a campaign (as a separate CampaignsUsers model, similar to CoursesUsers)
  • When a user creates a campaign, a campaigns_users record is created, associating them with that campaign
  • An active attribute (true or false) will be also added, along with start and end times. These will control what shows up under "Active Campaigns" on the explore page, and when programs can be created and assigned to a campaign