increments('id'); $table->integer('site_id')->nullable(); $table->integer('supplier_id')->nullable(); $table->string('contract_no', 100)->nullable(); $table->string('contract_name', 255)->nullable(); $table->date('contract_date')->nullable(); $table->date('expiry_date')->nullable(); $table->text('details')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 100)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('contracts'); } }