increments('id'); $table->integer('buyer_id')->nullable(); $table->integer('seller_id')->nullable(); $table->integer('product_id')->nullable(); $table->enum('status', ['Pending','Approved'])->nullable(); $table->float('quantity')->nullable(); $table->string('unit', 100)->nullable(); $table->date('intended_date')->nullable(); $table->float('price')->nullable(); $table->string('currency', 100)->nullable(); $table->integer('region_id')->nullable(); $table->integer('country_id')->nullable(); $table->integer('location_id')->nullable(); $table->integer('sublocation_id')->nullable(); $table->string('payment_term', 100)->nullable(); $table->text('details')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('inquiries'); } }