-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
getting a column size error when using MySQL. #1890
Comments
The error "Data too long for column 'description' at row 1" suggests that the data you're trying to insert into the 'description' column exceeds its maximum allowed size. To resolve this, you should:
For altering the column size, here's an example Alembic migration script snippet: from alembic import op
import sqlalchemy as sa
def upgrade():
op.alter_column('flow', 'description',
existing_type=sa.VARCHAR(length=255),
type_=sa.TEXT(),
existing_nullable=True) This script changes the Remember to back up your database before making schema changes to avoid data loss. If you need further assistance or have more questions, feel free to ask.
|
@songjinu you're exceeding the description length of a flow. Please reduce it to be less than 1406 characters |
Describe the bug
I'm getting a column size error when using MySQL.
It seems to executed when initial setup starter_projects
Screenshots
Additional context
plz help
The text was updated successfully, but these errors were encountered: