increments('id'); // The reference which describes the booking $table->string('reference'); // The date of the booking $table->date('date'); // The name of the person or company which the booking belongs to $table->string('person_or_company'); // An additional note to the booking. The real dataset contains // notes longer than the 191-character default string length. $table->text('note')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('bookings'); } }