Make a column smaller (sort of an index)

I want to make the id column smaller so it acts as a sort of index for the table, I tried multiple values for ->size() but they didn't work
No description
3 Replies
josef
josef16mo ago
try ->grow(false)
King Dice
King DiceOP16mo ago
that didn't seem to work, at least with me having two columns
King Dice
King DiceOP16mo ago
my temporary solution is to add a created_at column so that all columns get smaller but if someone knows a solution let me know
No description

Did you find this page helpful?