Skip to content

Conversation

@DylanDevelops
Copy link
Owner

Adds a new REAL column 'hourly_rate' to the time_entries table during database initialization. Handles the case where the column already exists to prevent migration errors.

Pull Request Checklist

  • I have read and followed the contribution guidelines.
  • My pull request targets the main branch of tmpo.
  • I have tested these changes locally on my machine.

Closes #60

Description

This pull request makes a schema update to the time_entries table in the database by adding a new column. The change ensures that the new column is added safely, handling the case where the column may already exist.

Database schema updates:

  • Added a new hourly_rate column of type REAL to the time_entries table, with error handling to avoid failure if the column already exists.

Adds a new REAL column 'hourly_rate' to the time_entries table during database initialization. Handles the case where the column already exists to prevent migration errors.
@DylanDevelops DylanDevelops merged commit 49dc756 into main Jan 6, 2026
6 checks passed
@DylanDevelops DylanDevelops deleted the ravel/very-verobse-error-fix branch January 6, 2026 23:27
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.

Complicated SQL Error message when tmpo log is run on brand new installation

2 participants