[WEB-4723] fix: disable project features on project create (#7625)

* fix: disbale project features on project create

* Implement migration 0105 to alter project cycle view fields to Boolean with default values

* Add project view settings in workspace seed task

* Add is_current_version_deprecated field to Instance model

Index user_id field in Session model

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
This commit is contained in:
sriram veeraghanta 2025-09-12 13:01:03 +05:30 committed by GitHub
parent 9ffc30f7b1
commit c3e7cfd16b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 61 additions and 5 deletions

View file

@ -92,6 +92,10 @@ def create_project_and_member(workspace: Workspace) -> Dict[int, uuid.UUID]:
name=workspace.name, # Use workspace name
identifier=project_identifier,
created_by_id=workspace.created_by_id,
# Enable all views in seed data
cycle_view=True,
module_view=True,
issue_views_view=True,
)
# Create project members