Summarize Table RelationManager

I am attempting to use the summarize feature from Filament on a table that exists in RelationManager. However, I encounter an error:
SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'id'


When I remove $table->id() in create_package_product_table.php, the error changes to:
SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'created_at'


If I remove $table->timestamps() in create_package_product_table.php, the summarize feature can be used. How can I use summarize on a table in RelationManager without having to remove $table->id() and $table->timestamps()?
Was this page helpful?