nextcloud / nextcloud/files_lock
Migrate int to bigint
Open
@juliusknorr is already working on this.
Since Jan 10, 2025.
1. to develop
bug
high
- Dominant language
- JavaScript
- Stars
- 39
- Forks
- 10
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 48
Description
Seems we still have integer columns which especially for file_id in large instances can easily be exceeded.
We should add a migration to fix this:
ALTER TABLE `oc_files_lock`
CHANGE `id` `id` BIGINT(20) unsigned NOT NULL AUTO_INCREMENT,
CHANGE `file_id` `file_id` BIGINT(20) unsigned NOT NULL
;
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.