|
|
|
|
@ -4,8 +4,7 @@ use Illuminate\Database\Migrations\Migration;
|
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
|
|
|
|
|
|
return new class extends Migration
|
|
|
|
|
{
|
|
|
|
|
return new class extends Migration {
|
|
|
|
|
/**
|
|
|
|
|
* Run the migrations.
|
|
|
|
|
*
|
|
|
|
|
@ -13,7 +12,7 @@ return new class extends Migration
|
|
|
|
|
*/
|
|
|
|
|
public function up()
|
|
|
|
|
{
|
|
|
|
|
Schema::table('dialogues', function (Blueprint $table) {
|
|
|
|
|
Schema::create('dialogues', function (Blueprint $table) {
|
|
|
|
|
$table->comment('会话列表');
|
|
|
|
|
$table->id();
|
|
|
|
|
// 用户id
|