hascolumn laravel code example
Example 1: table has column laravel
Schema::hasColumn('users', 'email') // laravel
Example 2: laravel rename table
Schema::rename($currentTableName, $newTableName);
Schema::hasColumn('users', 'email') // laravel
Schema::rename($currentTableName, $newTableName);