Skip to content

Migrate int to bigint #484

Open
Open
@juliusknorr

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
	;

Metadata

Assignees

Labels

Type

Projects

  • Status

    🧭 Planning evaluation (don't pick)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions