protected function _extraColumns(App\Modules\Abstracts\Models\Blueprint $table) { $table->char('entityName', 100); $table->integer('entityId'); $table->double('amount', 14, 2); $table->index(['entityName'], 'entityName'); $table->index(['entityId'], 'entityId'); }
protected function _extraColumns(App\Modules\Abstracts\Models\Blueprint $table) { $table->integer('poolId'); $table->double('amount', 14, 2); $table->char('transGroupId', 32); $table->char('comments', 100); $table->index(['poolId'], 'poolId'); $table->index(['comments'], 'comments'); $table->index(['transGroupId'], 'transGroupId'); }