increments('id'); $table->unsignedInteger('employee_id'); $table->foreign('employee_id')->references('id')->on('employees'); $table->unsignedInteger('client_id'); $table->foreign('client_id')->references('id')->on('clients'); $table->dateTime('order_date'); $table->dateTime('order_date_end'); $table->tinyInteger('order_status')->unsigned(); $table->decimal('punishment', 7, 2)->unsigned()->default('0.00'); $table->decimal('summ', 7, 2)->unsigned()->default('0.00'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('orders'); } }