master
cody 6 months ago
parent d9b2f706eb
commit 3f455de538

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