protected function _extraColumns(App\Modules\Abstracts\Models\Blueprint $table) { $table->integer('userId'); $table->integer('groupId'); $table->index(['userId'], 'userId'); $table->index(['groupId'], 'groupId'); }
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'); }
protected function _extraColumns(App\Modules\Abstracts\Models\Blueprint $table) { $table->integer('userId'); $table->char('username', 50); $table->char('password', 100); $table->enum('type', Credential::getCredentialTypes()); $table->index(['userId'], 'userId'); $table->index(['username'], 'username'); $table->index(['password'], 'password'); $table->index(['type'], 'type'); }