increments('id'); $table->string('ref', 20)->nullable(); $table->integer('project_id')->nullable(); $table->string('plan_uuid', 50)->nullable(); $table->string('booking_id', 50)->nullable(); $table->string('name', 100)->nullable(); $table->string('type', 20)->nullable(); $table->decimal('percentage', 5,2)->nullable(); $table->decimal('price', 13,2)->nullable(); $table->date('date')->nullable(); $table->enum('status', ['Yes', 'No'])->nullable(); $table->text('documents')->nullable(); $table->integer('paid_by')->nullable(); $table->dateTime('paid_at')->nullable(); $table->integer('created_by')->nullable(); $table->text('marking', 200)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('bixo_offplan_payments'); } }