Skip to content

[Bug][Module Name] Migration to 1.0.0-beta6 fails -- file_path column too long #7412

@msaffitz

Description

@msaffitz

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

Attempted to migrate the DB to 1.0.0-beta6. Upon migration, I get an error, below. Using mysql as DB.

2024-04-29 11:17:08 time="2024-04-29 18:17:08" level=info msg="\x1b[31;1m/app/impls/dalgorm/dalgorm.go:146 \x1b[35;1mError 1406 (22001): Data too long for column 'file_path' at row 2836\n\x1b[0m\x1b[33m[501.325ms] \x1b[34;1m[rows:0]\x1b[0m ALTER TABLE commit_files MODIFY COLUMN file_path VARBINARY(255);"

What do you expect to happen

Migration successfully completes.

How to reproduce

Attempted DB migration, JIRA and GitHub are source systems.

Anything else

No response

Version

v1.0.0-beta6

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

severity/p1This bug affects functionality or significantly affect uxtype/bugThis issue is a bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions