We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there a reason for punchable_type having limit => 20 character string in the db migration?
punchable_type
limit => 20
With nested/name-spaced models, this creates an issue: Example Punchable class: Internal::Board::Event (22 chars)
Internal::Board::Event
ActiveRecord::ValueTooLong: Mysql2::Error: Data too long for column 'punchable_type'
To fix the issue for my purpose, I rolled back the punches migration, removed the character limit, then migrated. No issues so far.
I'd be happy to submit an PR/MR to address this, but want to make sure that 20 char limit isn't there for a specific reason.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there a reason for
punchable_type
havinglimit => 20
character string in the db migration?With nested/name-spaced models, this creates an issue:
Example Punchable class:
Internal::Board::Event
(22 chars)To fix the issue for my purpose, I rolled back the punches migration, removed the character limit, then migrated. No issues so far.
I'd be happy to submit an PR/MR to address this, but want to make sure that 20 char limit isn't there for a specific reason.
The text was updated successfully, but these errors were encountered: