Skip to content

chore: remove days_test view created in v0.13.0 for legacy compatibility #980

Open

Description

@marcuscastelo

Issue Description

Remove the days_test view that was created in v0.13.0 to maintain compatibility with older app versions accessing the days table via legacy code.

Background

The days_test view was a temporary compatibility layer introduced in v0.13.0 to allow older application versions to continue functioning while the main days table structure was being updated. This view is no longer needed and should be removed as part of database cleanup.

Task Details

What needs to be done:

  • Remove the days_test database view
  • Verify no current code depends on days_test
  • Update any remaining references to use the proper days table
  • Test that the removal doesn't break current functionality

Files likely to be affected:

  • Database migration files
  • Supabase schema definitions
  • Any legacy compatibility code

Acceptance Criteria

  • days_test view is completely removed from the database
  • No application code references days_test
  • All tests pass after removal
  • Database schema is clean and consistent

Technical Notes

This is a cleanup task to remove technical debt introduced as a temporary measure. The view was created specifically to maintain backward compatibility during the transition period in v0.13.0.

Definition of Done

  • Database view removed
  • Code review completed
  • Tests passing
  • Documentation updated if needed

Activity

  1. added this to the v0.15.0 milestone on Jul 18, 2025
  2. added
    complexity-lowLow implementation complexity
    taskSpecific actionable task
    backendBackend-specific issue or change
    on Jul 18, 2025
  3. modified the milestones: v0.15.0, v0.16.0 on Jul 23, 2025
  4. modified the milestones: v0.16.0, v0.18.0 on Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

backendBackend-specific issue or changecomplexity-lowLow implementation complexitytaskSpecific actionable task

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions