id(); $table->string('name'); $table->foreignId('owner') ->constrained(table: 'users', indexName: 'schedules_owner') ->cascadeOnDelete(); $table->boolean('is_public')->default(false); $table->string('slug'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('schedules'); } };