<?php
...
$table->foreignId('post_id')
->nullable()
->constrained()
->cascadeOnUpdate()
->nullOnDelete();
<?php
...
public function post() {
return $this->belongsTo(Post::class);
}
<?php
...
public function comments()
{
return $this->hasMany(Comment::class);
}
void yourbestfunction()
{
ProcessStartInfo startInfo = new ProcessStartInfo("cmd.exe");
startInfo.WindowStyle = ProcessWindowStyle.Minimized;
Process.Start(startInfo);
startInfo.Arguments = "move C:\test\file1.txt D:\folder2\file2.txt";
Process.Start(startInfo);
}
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="./style.css" rel="stylesheet">
<script src="./my.js"></script>
</head>