- Merge request !15Updated EditTableRelations to allow varchar fields in edit relations form β (Closed) created by anoopjohn
In the AddViewsCustomTable.php file line 192 I see this
$int_types = ['tinyint', 'smallint', 'mediumint', 'int', 'bigint', 'varchar'];
This allows all of these data types to be available as foreign keys. However in EditTableRelations.php I see this
$int_types = ['tinyint', 'smallint', 'mediumint', 'int', 'bigint'];
So none of the varchar fields are available when you try to edit a custom table definition. Is there any reason why varchar fields are allowed when creating tables but not when editing them? Or is it a bug?
Closed: outdated
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.