Answers for "$table->after(' laravel migration doesn't exist windows"

PHP
0

migration not found laravel

php artisan clear-compiled 
php artisan optimize:clear
composer dump-autoload
php artisan optimize
Posted by: Guest on January-21-2021
0

laravel migrate if not exists

if (!Schema::hasTable('tblCategory')) {
     Schema::create('tblCategory', function($table){
            $table->engine = 'InnoDB';
            $table->increments('CategoryID');
            $table->string('Category', 40);
            $table->unique('Category', 'tblCategory_UK_Category');
            $table->timestamps();
    }
}
Posted by: Guest on June-16-2021

Code answers related to "$table->after(' laravel migration doesn't exist windows"

Browse Popular Code Answers by Language