- Mar 30, 2021
-
-
Joas Schilling authored
The problem is that if a developer creates a structural error in their migration file, they will already be marked as executed and an not be rerun. Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
- Mar 22, 2021
-
-
Roeland Jago Douma authored
Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
-
- Mar 03, 2021
-
-
Daniel Kesselberg authored
Signed-off-by:
Daniel Kesselberg <mail@danielkesselberg.de>
-
- Feb 02, 2021
-
-
Daniel Kesselberg authored
Signed-off-by:
Daniel Kesselberg <mail@danielkesselberg.de>
-
- Jan 12, 2021
-
-
Christoph Wurst authored
Right now our API exports the Doctrine/dbal exception. As we've seen with the dbal 3 upgrade, the leakage of 3rdparty types is problematic as a dependency update means lots of work in apps, due to the direct dependency of what Nextcloud ships. This breaks this dependency so that apps only need to depend on our public API. That API can then be vendor (db lib) agnostic and we can work around future deprecations/removals in dbal more easily. Right now the type of exception thrown is transported as "reason". For the more popular types of errors we can extend the new exception class and allow apps to catch specific errors only. Right now they have to catch-check-rethrow. This is not ideal, but better than the dependnecy on dbal. Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Jan 11, 2021
-
-
Arthur Schiwon authored
Signed-off-by:
Arthur Schiwon <blizzz@arthur-schiwon.de>
-
- Jan 08, 2021
-
-
Joas Schilling authored
As per https://dev.mysql.com/doc/refman/8.0/en/implicit-commit.html CREATE TABLE statements automatically commit always. The only reason this worked in the past was that PHPs PDO connection didn't check the actual state on commit, but only checked their internal state. But in PHP8 this was fixed: https://github.com/php/php-src/blob/PHP-8.0/UPGRADING#L446-L450 So now commit() fails because the internal PDO connection implicitly commited already. Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
Morris Jobke authored
Remove "primary" option from schema builder argument $options as it is not used anymore and triggers an exception See https://github.com/doctrine/dbal/commit/138eb85234a1faeaa2e6a32cd7bcc66bb51c64e8#diff-300f55366adb50a32a40882ebdc95c163b141f64cba5f45f20bda04a907b3eb3L82 Signed-off-by:
Morris Jobke <hey@morrisjobke.de>
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Dec 30, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Dec 16, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Dec 14, 2020
-
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
- Dec 09, 2020
-
-
Julius Härtl authored
Signed-off-by:
Julius Härtl <jus@bitgrid.net> Revert "Make sure the migrations table schema is always checked" This reverts commit 258955ef738a52d9da2ac2fe59466e6093d7e9bc. Set current vendor during upgrade and perform migrations table change if needed Signed-off-by:
Julius Härtl <jus@bitgrid.net>
-
- Dec 07, 2020
-
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
- Dec 02, 2020
-
-
Vincent Petry authored
When the "log_query" debug config parameter is set, SQL queries are logged. However, if an error occurs when converting the values to string, it will abort the request. This fix catches the error and continues instead. Also added handler for DateTime value which is already known to cause aborts here. Signed-off-by:
Vincent Petry <vincent@nextcloud.com>
-
- Nov 16, 2020
-
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
Robin Appelman authored
Signed-off-by:
Robin Appelman <robin@icewind.nl>
-
- Nov 11, 2020
-
-
Joas Schilling authored
-
Christoph Wurst authored
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
- Nov 10, 2020
-
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
- Nov 07, 2020
-
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
- Nov 06, 2020
-
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
- Nov 03, 2020
-
-
Julius Härtl authored
Signed-off-by:
Julius Härtl <jus@bitgrid.net>
-
- Oct 30, 2020
-
-
Roeland Jago Douma authored
Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
-
Roeland Jago Douma authored
executeUpdate is deprecated in favor of executeStatement. We overwrote the old one hence the prefix was no longer replaced. Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
-
- Oct 29, 2020
-
-
Morris Jobke authored
Signed-off-by:
Morris Jobke <hey@morrisjobke.de>
-
- Oct 05, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
- Oct 03, 2020
-
-
Daniel Kesselberg authored
Signed-off-by:
Daniel Kesselberg <mail@danielkesselberg.de>
-
- Oct 02, 2020
-
-
Daniel Kesselberg authored
also ILiteral and IQueryFunction are valid. Signed-off-by:
Daniel Kesselberg <mail@danielkesselberg.de>
-
Daniel Kesselberg authored
$y is always passed to quoteColumnName hence ILiteral|IParameter|IQueryFunction are supported. Signed-off-by:
Daniel Kesselberg <mail@danielkesselberg.de>
-
Daniel Kesselberg authored
$x is always passed to quoteColumnName hence ILiteral|IParameter|IQueryFunction are supported. Signed-off-by:
Daniel Kesselberg <mail@danielkesselberg.de>
-
- Sep 25, 2020
-
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
- Sep 17, 2020
-
-
J0WI authored
Update all links to https://www.php.net/ Signed-off-by:
J0WI <J0WI@users.noreply.github.com>
-