Migrate projects data to organizations and rename table#730
Open
Migrate projects data to organizations and rename table#730
Conversation
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>
bb1d686 to
cacbfeb
Compare
Collaborator
|
@copilot can you find any more examples in the code that still refer to Project, ProjectStatus, ProjectObligation (ignoring old migrations) ? |
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Contributor
Author
Found and updated the remaining references in commit 52c7584: Files updated:
Ignored references:
All active code now uses Organization, OrganizationStatus, OrganizationObligation, and OrganizationUser. |
Copilot
AI
changed the title
[WIP] Migrate projects data to organizations and rename table
Migrate projects data to organizations and rename table
Feb 4, 2026
2 tasks
jmilljr24
approved these changes
Feb 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the goal of this PR and why is this important?
This PR completely replaces the Project model and related components with Organization naming throughout the codebase. This change was needed because Projects were actually a form of Organization, but this wasn't realized initially when the system was designed.
How did you approach the change?
The migration involved a comprehensive rename across the entire application:
Database Layer:
projects→organizations,project_statuses→organization_statuses,project_obligations→organization_obligations,project_users→organization_usersApplication Layer:
Project→Organization,ProjectStatus→OrganizationStatus,ProjectObligation→OrganizationObligation,ProjectUser→OrganizationUserProjectsController→OrganizationsController,ProjectStatusesController→OrganizationStatusesController,ProjectUsersController→OrganizationUsersControllerViews and UI:
Testing and Data:
lib/tasks/dev.rake(renamedimport_projectstoimport_organizations) andlib/tasks/story_data.rakedb/seeds/dummy_dev_seeds.rbto use Organization referencesFiles Deleted:
Anything else to add?
db/archived/directory were intentionally left unchanged as they are historical recordsOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.