increments('id'); $table->integer('coa_id')->nullable(); $table->integer('ledgerable_id')->nullable(); $table->string('ledgerable_type', 50)->nullable(); $table->integer('company_id')->nullable(); $table->string('branch_id', 50)->nullable(); $table->dateTime('date')->nullable(); $table->string('name', 200)->nullable(); $table->string('description', 200)->nullable(); $table->decimal('debit', 12,3)->nullable(); $table->decimal('credit', 12,3)->nullable(); $table->string('currency', 30)->nullable(); $table->decimal('currency_rate', 5,2)->nullable(); $table->decimal('currency_value', 12,3)->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_ledgers'); } }