/** * overwrites parent * @param null $db * @param null $table * @param null $fields * @return bool */ public static function setup($db = null, $table = null, $fields = null) { $status = parent::setup($db, $table, $fields); if ($status === true) { $status = parent::setMultiColumnIndex(['corporationId', 'mapId'], true); } return $status; }
/** * overwrites parent * @param null $db * @param null $table * @param null $fields * @return bool */ public static function setup($db = null, $table = null, $fields = null) { $status = parent::setup($db, $table, $fields); if ($status === true) { $status = parent::setMultiColumnIndex(['systemId', 'typeId', 'groupId']); } return $status; }
/** * overwrites parent * @param null $db * @param null $table * @param null $fields * @return bool */ public static function setup($db = null, $table = null, $fields = null) { $status = parent::setup($db, $table, $fields); // set static default values if ($status === true) { $model = self::getNew(self::getClassName(), 0); $model->importStaticData(self::$tableData); } return $status; }
/** * overwrites parent * @param null $db * @param null $table * @param null $fields * @return bool */ public static function setup($db = null, $table = null, $fields = null) { $status = parent::setup($db, $table, $fields); if ($status === true) { $status = parent::setMultiColumnIndex(['source', 'target', 'scope']); } return $status; }
/** * overwrites parent * @param null $db * @param null $table * @param null $fields * @return bool */ public static function setup($db = null, $table = null, $fields = null) { $status = parent::setup($db, $table, $fields); if ($status === true) { $status = parent::setMultiColumnIndex(['userId', 'apiId', 'characterId'], true); if ($status === true) { $status = parent::setMultiColumnIndex(['userId', 'apiId']); } } return $status; }