id(); $table->foreignId('package_name_id')->constrained('package_names')->onDelete('CASCADE'); $table->foreignId('user_id')->constrained('users')->onDelete('CASCADE'); $table->string('title'); $table->string('description')->nullable(); $table->json('data')->nullable(); $table->boolean('repeatable')->default(false); $table->timestamp('time'); $table->unsignedMediumInteger('repeat_days')->nullable(); $table->timestamp('last_repeat')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('reminders'); } };