Fix issue with sqlite migrations for comment_seers #503
No reviewers
標籤
未選擇標籤
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
未選擇里程碑
No project
No assignees
1 participant
訊息
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Plume/Plume#503
載入中…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/sqlite-migrations"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This fixes the issue in the sqlite migrations for
comment_seers
.The temporary workaround was to change the
id
column fromid INTEGER PRIMARY KEY AUTOINCREMENT
toid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT
.This change renames the table, creates a new table with the correct attributes, copies the old table over in the new one and deletes the old one.
Thank you. 👍
Codecov Report