Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
MySQL table names can be up to 64 characters, and Postgres up to 63. The base_table column in views_view is only 32 characters. The upshot is that, while one can define base tables with longer names, and default views based on those base tables, attempting to create a table based on such a table fails - when saving the view, you get an error that the table does not exist. The attached patch enlarges the column to accomodate longer table names.
Comment | File | Size | Author |
---|---|---|---|
views.install.patch | 1.15 KB | mikeryan | |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted. Thanks!
Comment #3
overaph CreditAttribution: overaph commentedIf I install module schema (i don't know if really is this module)
in my views I see "updated to 64 in views_schema_6005" comment
then I have not to apply the patch in #1, right ?
thank you very much
Comment #4
merlinofchaos CreditAttribution: merlinofchaos commentedYes the patch in #1 was applied to Views a year ago.