Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate int columns to bigint #533

Open
juliusknorr opened this issue Jan 10, 2025 · 0 comments
Open

Migrate int columns to bigint #533

juliusknorr opened this issue Jan 10, 2025 · 0 comments
Labels

Comments

@juliusknorr
Copy link
Member

We got a report on files_lock about this so I thought I'd check other apps and stumbled over this one:

https://github.com/nextcloud/previewgenerator/blob/main/lib/Migration/Version020000Date20180823071939.php#L54-L57

We should use a BIGINT(20) instead of INT(11) for columns that reference a file id, likely also a good idea for the id primary key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant