Mysql – What is the use of adding length to INT?
I have seen this code in CodeIgniter docs. <?php $fields = [ 'id' => [ 'type' => 'INT', 'constraint' => 5, 'unsigned' => true, 'auto_increment' => true, ], 'title' => [ 'type' => 'VARCHAR', 'constraint' => '100', 'unique' => true,…