Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.