increments('id'); $table->enum('type', ['Yes', 'No'])->nullable(); $table->integer('customer_id')->nullable(); $table->integer('supplier_id')->nullable(); $table->integer('coa_id')->nullable(); $table->string('customer_name', 100)->nullable(); $table->string('supplier_name', 100)->nullable(); $table->string('coa_name', 100)->nullable(); $table->string('ref', 50)->nullable(); $table->enum('mode', ['Yes', 'No'])->nullable(); $table->date('date')->nullable(); $table->string('currency', 10)->nullable(); $table->decimal('currency_rate', 6,3)->nullable(); $table->decimal('currency_amount', 12,3)->nullable(); $table->integer('bank_id')->nullable(); $table->string('cheque_bank', 50)->nullable(); $table->string('cheque_no', 50)->nullable(); $table->date('cheque_date')->nullable(); $table->date('cheque_clear_date')->nullable(); $table->enum('cheque_status', ['Yes', 'No'])->nullable(); $table->decimal('amount', 12,3)->nullable(); $table->decimal('tax', 12,3)->nullable(); $table->text('remarks')->nullable(); $table->text('details')->nullable(); $table->enum('status', ['Yes', 'No'])->nullable(); $table->integer('user_id')->nullable(); $table->text('marking', 200)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('bixo_account_transactions'); } }