Crazylife's avatar

What data type should use to store follower count?

What data type we should use to store follower count, likes count etc? Is integer enough or using binary?

0 likes
5 replies
Crazylife's avatar

@Snapey not sure if it's enough. If it's not enough, what data type is suitable to store such large number?

Randy_Johnson's avatar

@Snapey Theres there are 10 types of people in this world, those who understand binary and those who dont.

iftekhs's avatar

You can use bigInteger

$table->bigInteger('followers');
1 like

Please or to participate in this conversation.