added values to migrations.
This commit is contained in:
parent
2febf83348
commit
643ac9e3de
|
@ -15,7 +15,7 @@ class CreateWashingReservations extends Migration
|
||||||
{
|
{
|
||||||
Schema::create('washing_reservations', function (Blueprint $table) {
|
Schema::create('washing_reservations', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
$table->time("time");
|
$table->timestamp("time");
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,8 @@ class CreateEvents extends Migration
|
||||||
{
|
{
|
||||||
Schema::create('events', function (Blueprint $table) {
|
Schema::create('events', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
|
$table->string("name");
|
||||||
|
$table->string("description");
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,7 @@ class CreateWashingMachines extends Migration
|
||||||
{
|
{
|
||||||
Schema::create('washing_machines', function (Blueprint $table) {
|
Schema::create('washing_machines', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
|
$table->string("name")->unique();
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,9 +13,8 @@ class AlterWashingReservations extends Migration
|
||||||
*/
|
*/
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
//
|
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Reverse the migrations.
|
* Reverse the migrations.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue