set varchar max length in laravel migration code example Example: varchar max length define laravel migration $table->string('name', 64);