Commit graph

75221 commits

Author SHA1 Message Date
Joas Schilling
d49ed65265
fixup! I have no idea what I'm doing 2024-07-09 13:52:20 +02:00
Joas Schilling
61f3289a96
I have no idea what I'm doing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-09 13:00:13 +02:00
Joas Schilling
cb8c68e25e
reduce CI waste 2024-07-09 12:59:55 +02:00
Joas Schilling
2257ecb36b
Try to workaround oracles primary key
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-09 11:59:07 +02:00
Joas Schilling
a20d9c85c9
fix(CI): Provide system account on installation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-08 15:17:17 +02:00
Joas Schilling
7df4bb7b01
debug connection
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-05 12:24:50 +02:00
Joas Schilling
cce5822f81
fixup! fixup! Use new database name 2024-07-05 12:24:45 +02:00
Joas Schilling
a04c3b2bb0
fixup! Use new database name 2024-07-05 11:59:01 +02:00
Joas Schilling
04de2cb722
Use new database name
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-05 11:53:52 +02:00
Joas Schilling
15bd2d7125
Adjust ports
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-05 11:39:06 +02:00
Joas Schilling
d89343c183
fix(CI): Test against supported Oracle versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 15:10:12 +02:00
Joas Schilling
0b2357f7f8
Test oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:41:15 +02:00
Joas Schilling
67002493d2
Remove CI 2024-07-04 14:37:55 +02:00
Joas Schilling
5fdc5d5011
fix(db)!: Too few arguments to function Doctrine\DBAL\Query\Expression\ExpressionBuilder::or(), 0 passed and atleast 1 expected
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:53 +02:00
Joas Schilling
8b7f8e14d6
fix(tests): Also handle the case where the schema is cached and the DELETE fails
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:52 +02:00
Joas Schilling
72c8c3af3a
fix(tests): Adjust postgres schema diffing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:52 +02:00
Joas Schilling
b2cf45cdaa
fix(tests): Add length to test columns that bypass the migration service
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:50 +02:00
Joas Schilling
f0348be4c8
fix(db): Replace more Platform usages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:50 +02:00
Joas Schilling
5718e8fff5
fix(tests): Fix changes in doctrine's Exception handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:49 +02:00
Joas Schilling
4c80fdd2bd
fix(db): Adjust unit tests of query builder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:49 +02:00
Joas Schilling
fc383a323f
fix(tests): Adjust the migrator test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:48 +02:00
Joas Schilling
8153c38efe
fix(db): Don't set null as type
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:48 +02:00
Joas Schilling
de5a7c3c73
fix(db)!: Reimplement the query logger with a doctrine middleware
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:47 +02:00
Joas Schilling
1370693133
fix(db): Remove usage of Platforms
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:47 +02:00
Joas Schilling
6b2f1367cd
fix(db): Map parameter types to doctrine's enums
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:46 +02:00
Joas Schilling
98b6c7c48a
fix(db): Add a hint that we return PHP_INT_MAX
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:46 +02:00
Joas Schilling
66aac18bad
fix(db)!: OCP\DB\IPreparedStatement::bindParam() is deprecated and calls bindValue() internally
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:45 +02:00
Joas Schilling
715656927c
fix(db): Argument 2 of \Doctrine\DBAL\Platforms\AbstractPlatform::getBitAndComparisonExpression expects string
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:45 +02:00
Joas Schilling
bae31bfa7b
fix(db): Method \Doctrine\DBAL\Platforms\AbstractPlatform::getIdentifierQuoteCharacter() does not exist
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:45 +02:00
Joas Schilling
926f2ab887
fix(db): Too many arguments for method \Doctrine\DBAL\Connection::quote() - saw 2
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:44 +02:00
Joas Schilling
60217aac39
fix(db): No longer return result of Connection::connect()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:44 +02:00
Joas Schilling
df7d088653
fix(db)!: Deprecate getDatabasePlatform which leaks 3rdparty
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:43 +02:00
Joas Schilling
e8ef23d052
fix(db): Too few arguments for Doctrine\DBAL\Driver::getDatabasePlatform - expecting versionProvider to be passed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:43 +02:00
Joas Schilling
5823d58d30
fix(db)!: Doctrine\DBAL\Platforms\MySQL80Platform requires the length of a VARCHAR column to be specified
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:43 +02:00
Joas Schilling
55a8f33873
fix(db): Doctrine Event Manager is removed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:42 +02:00
Joas Schilling
2b83016a2b
fix(db): TooManyArguments: Too many arguments for method Doctrine\DBAL\Statement::executeQuery()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:42 +02:00
Joas Schilling
4bbaae5798
fix(db): ExpressionBuilder::like expects string, but OCP\DB\QueryBuilder\IQueryFunction provided
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:41 +02:00
Joas Schilling
6e90ddf41a
fix(db): Doctrine\DBAL\Query\Expression\CompositeExpression::add* does not exist
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:40 +02:00
Joas Schilling
ec1a3d6cd3
fix(db): Doctrine\DBAL\Query\QueryBuilder::getState does not exist
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:39 +02:00
Joas Schilling
4c1003122d
fix(db): Doctrine\DBAL\Schema\Schema::getTableNames() was removed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:38 +02:00
Joas Schilling
165443046a
fix(db): Interface Doctrine\DBAL\Exception cannot be instantiated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:37 +02:00
Joas Schilling
c6cd20ea8a
fix(db)!: Doctrine\DBAL\FetchMode was removed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:37 +02:00
Joas Schilling
f6ac69a2a0
fix(db)!: Doctrine\DBAL\Platforms\PostgreSQL94Platform was removed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:36 +02:00
Joas Schilling
d9e69e14f3
fix(db)!: Table alias for DELETE and UPDATE no longer supported
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:36 +02:00
Joas Schilling
2d27a32870
fix(db): InaccessibleMethod: Cannot access private method Doctrine\DBAL\Statement::execute from context OC\DB\PreparedStatement
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:36 +02:00
Joas Schilling
fb3d4d579f
fix(db): Don't use removed/deprecated methods in setup
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:35 +02:00
Joas Schilling
c0d2f7ee21
fix(CI): Operand of type Doctrine\DBAL\Schema\Column is always truthy
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:35 +02:00
Joas Schilling
a20110bdc4
fix(db): UndefinedConstant: Constant Doctrine\DBAL\Connection::PARAM_STR_ARRAY is not defined
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:34 +02:00
Joas Schilling
72151b550c
fix(db): Table::getPrimaryKeyColumns() was removed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:34 +02:00
Joas Schilling
f45ac5bb68
fix(db): Doctrine\DBAL\Query\Expression\ExpressionBuilder::andX() and ::orX() were removed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-04 14:19:34 +02:00