© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
Kaesa Lyrih

Summarize Table RelationManager

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


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


If I remove
$table->timestamps()
$table->timestamps()
in
create_package_product_table.php
create_package_product_table.php
, the summarize feature can be used. How can I use
summarize
summarize
on a table in
RelationManager
RelationManager
without having to remove
$table->id()
$table->id()
and
$table->timestamps()
$table->timestamps()
?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Custom summarize table
FilamentFFilament / ❓┊help
2y ago
Table summarize Layout
FilamentFFilament / ❓┊help
2y ago
RelationManager ->table ->attachAction
FilamentFFilament / ❓┊help
3y ago
Summarize table without summarizing groups
FilamentFFilament / ❓┊help
3y ago