PHP Fatal error: Uncaught UnexpectedValueException: The stream or file "/var/www/projects/targetspanish.com/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied in /var/www/projects/targetspanish.com/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107 Файл миграции:0
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePZostsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('p_zosts', function (Blueprint $table) {
$table->increments('id');
$table->string('title')->nullabble();
$table->string('slug')->unique();
$table->text('exerpt')->nullabble();
$table->text('content')->nullabble();
$table->timestamps('published_at')->nullabble();
$table->boolean('published')->default(false);
//$table->rememberToken();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('p_zosts');
}
}