Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 20, 2026

Migration Plan: Replace Project with Organization

  • Create migration to rename projects table to organizations
  • Create migration to rename project_statuses table to organization_statuses
  • Create migration to rename project_obligations table to organization_obligations
  • Create migration to rename project_users table to organization_users
  • Rename Project model to Organization
  • Rename ProjectStatus model to OrganizationStatus
  • Rename ProjectObligation model to OrganizationObligation
  • Rename ProjectUser model to OrganizationUser
  • Rename ProjectsController to OrganizationsController
  • Rename ProjectStatusesController to OrganizationStatusesController
  • Rename ProjectUsersController to OrganizationUsersController
  • Update routes from projects to organizations
  • Update decorators
  • Update model associations (User, Report, CommunityNews, StoryIdea, Story, WorkshopLog)
  • Rename view directories
  • Update all view files (organizations, organization_statuses, shared partials)
  • Update users and facilitators controllers
  • Delete old Project models/controllers/decorators
  • Update factory files
  • Update spec files
  • Update remaining references in other files
  • Run migration and verify database changes
  • Run linters and tests to verify changes
  • Request code review
Original prompt

This section details on the original issue you should resolve

<issue_title>Migrate Projects data to Organizations</issue_title>
<issue_description>- delete Project CRUD

  • migrate Project data into Organization table

(we didn't realize Projects were a form of Organization when we started)</issue_description>

<agent_instructions>please write a PR to fully replace Project with Organization, including renaming the database table</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@maebeale I think at this point we want to instead move our Organization stuff into Project. Then after all prod data is imported, rename Project to Organization. @maebeale @copilot please write a PR to fully replace Project with Organization, including renaming the database table

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 4 commits January 20, 2026 00:51
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate Projects data to Organizations

2 participants