id(); $table->timestamps(); $table->string('access_token'); $table->string('name'); $table->text('icon')->nullable(); $table->foreignIdFor(\App\Models\User::class, 'user_id'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('workspaces'); } }