Skip to content

TAN-987-fix: Remove null constraints migration - #983

Merged
naanci merged 2 commits into
mainfrom
TAN-987-fix
Sep 28, 2026
Merged

naanci merged 2 commits into
mainfrom
TAN-987-fix

Conversation

@naanci

@naanci naanci commented Sep 27, 2026

Copy link
Copy Markdown
Member

Description of changes

old users and sessions have NULL createdAt because their creation times were not recorded. V0079's NOT VALID checks skip the initial table scan, but still reject updates to those rows, including the user update at login.

Solution: Remove the checks so those updates succeed without inventing creation dates

Checklist before review

  • I have done a thorough self-review of the PR
  • Copilot has reviewed my latest changes, and all comments have been fixed and/or closed.
  • If I have made database changes, I have made sure I followed all the db repo rules listed in the wiki here. (check if no db changes)
  • All tests have passed
  • I have successfully deployed this PR to staging
  • I have done manual QA in both dev (and staging if possible) and attached screenshots below.

Screenshots

Dev

Staging

@naanci
naanci requested a review from a team September 27, 2026 21:39
@pat-agent

pat-agent Bot commented Sep 27, 2026

Copy link
Copy Markdown

Available PR Commands

  • /migrate - Applies this PR's database migrations to the staging DB (can only be run by someone on @Patina-Network/codebloom)
  • /copy - Triggers copy from production to staging db (can only be run by tahminator or angelayu0530)

@pat-agent

pat-agent Bot commented Sep 27, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot/tags under the following tags:

  • codebloom-standup-bot:staging-latest
  • codebloom-standup-bot:staging-2026.09.27-17.40.31
  • codebloom-standup-bot:staging-5a05fb6

@pat-agent

pat-agent Bot commented Sep 27, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom/tags under the following tags:

  • codebloom:staging-latest
  • codebloom:staging-2026.09.27-17.44.33
  • codebloom:staging-5a05fb6

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@pat-agent

pat-agent Bot commented Sep 28, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot/tags under the following tags:

  • codebloom-standup-bot:staging-latest
  • codebloom-standup-bot:staging-2026.09.28-11.26.18
  • codebloom-standup-bot:staging-1eb67f6

@pat-agent

pat-agent Bot commented Sep 28, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom/tags under the following tags:

  • codebloom:staging-latest
  • codebloom:staging-2026.09.28-11.28.57
  • codebloom:staging-1eb67f6

@naanci
naanci merged commit 94f340f into main Sep 28, 2026
16 checks passed
@naanci
naanci deleted the TAN-987-fix branch September 28, 2026 15:57
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.

2 participants