run migrations always in kimai:install command (#944)

This commit is contained in:
Kevin Papst
2019-07-10 19:19:03 +02:00
committed by GitHub
parent 8a1d28563d
commit f23dcbec17
6 changed files with 57 additions and 10 deletions

View File

@@ -107,6 +107,17 @@ class CustomerRepository extends EntityRepository
return $stats;
}
/**
* @deprecated since 1.1
*/
public function builderForEntityType($customer)
{
$query = new CustomerFormTypeQuery();
$query->setCustomer($customer);
return $this->getQueryBuilderForFormType($query);
}
/**
* Returns a query builder that is used for CustomerType and your own 'query_builder' option.
*