Commit Graph

68 Commits (f2982b7a089780732bb2027ca9ba3362f1d01846)

Author SHA1 Message Date
Thomas Müller 7d60f7a222 register type mappings for unknown/unsupported mysql types 11 years ago
Thomas Müller 363ba04f5e only commit in case a transaction is active 11 years ago
Andreas Fischer d8bd8c4b66 Document why we have to check with defined() first. 11 years ago
Andreas Fischer e26612244a Make MySQL return "number of found rows" instead of number of "affected rows". 11 years ago
Vincent Petry 10a29556b0 - Added test to trigger index id error 11 years ago
Robin Appelman 76c709d7de Add repair step to set MySQL collation to utf8_bin 11 years ago
Vincent Petry b752aff51d Fix migrator tests to use the correct migrator instances 11 years ago
Joas Schilling 0c711e1cfa Use get random bytes as uniqeid() is not unique in some cases 11 years ago
Vincent Petry 7aa11b4361 Do not rename primary key index when renaming table 11 years ago
Thomas Müller fe8bae31dc adding PK to table encryption 11 years ago
Vincent Petry d4ffafe467 Removed simulate db update flag and split into separate methods 11 years ago
Vincent Petry 5b97369b00 Simulate apps database schema update on upgrade 11 years ago
Robin Appelman 4429b54ce4 Fix typo 11 years ago
Robin Appelman 82b982a4eb Better unique names for temporary tables 11 years ago
Robin Appelman 3be2643168 Add `generateChangeScript()` back 11 years ago
Robin Appelman 397a763c49 add a getter for the table 11 years ago
Robin Appelman c6053b2830 Quote identifiers on mysql 11 years ago
Robin Appelman 6f71419f2b Skip migration checks for all sql backends besides mysql, postgres and sqlite 11 years ago
Robin Appelman a59f6818eb Only quote identifiers for oracle during migration 11 years ago
Robin Appelman 3b4555ca91 Try and check migration before applying it 11 years ago
Robin Appelman adeac7aa39 Check sqlite migration on a copy of the database file 11 years ago
Robin Appelman 35550e8d9a Fix migrator for postgres 11 years ago
Robin Appelman be80dce585 Fix temporary schema creation 11 years ago
Robin Appelman 58c61c8336 Fix generating migration test schemas 11 years ago
Robin Appelman 0035147be9 Create unique names for temporary indexes 11 years ago
Robin Appelman 9c6a93a87c Add a mechanism to try the database migration on a copy of the tables before running it on the "real" data 11 years ago
Thomas Müller 999f6216dc - fix dropTable() and introduce tableExists() 11 years ago
Morris Jobke dc36d30953 Remove all occurences of @brief and @returns from PHPDoc 11 years ago
Robin McCorkell 87b548ed91 Fix all PHPDoc types and variable names, in /lib 11 years ago
Robin McCorkell a7ae2e874a Squash 'a | b' into 'a|b', in /lib 11 years ago
Thomas Müller 8314e5f4d1 fixing typos and adding PHPDoc 11 years ago
Jörn Friedrich Dreyer 6694129cbc columns should be nullable by default 11 years ago
Andreas Fischer 714343cd74 Add Bart to PgSqlTools copyright. 11 years ago
Andreas Fischer 9cc41a2460 Move PostgreSQL sequence resynchronisation out into PgSqlTools class. 11 years ago
Andreas Fischer f9853b253c Deduplicate connection handling code into \OC\DB\ConnectionFactory 11 years ago
Thomas Müller f1b085df01 adding @method annotation to declare methods which can be called on the wrapped statement object 11 years ago
Vincent Petry 79ae3c4527 Allow XML entity loader for MDB2 schema loader 11 years ago
Vincent Petry 22adc397de Also quote old column name during DB migration 11 years ago
Scrutinizer Auto-Fixer adaee6a5a1 Scrutinizer Auto-Fixes 11 years ago
Bart Visscher 1fb5f96c37 Style fixes 11 years ago
Robin Appelman cd3ef0bb9d Add caching to appconfig 11 years ago
Jörn Friedrich Dreyer 2a6a9a8cef polish documentation based on scrutinizer patches 11 years ago
Robin Appelman 504645cf00 Add bindParam to statement wrapper 11 years ago
Andreas Fischer 63a2bea7ec Remove OC_DB_StatementWrapper::numRows(). 11 years ago
Oliver Gasser 3b0d0e2b1f DB: Support DECIMAL(precision,scale) syntax in XML 11 years ago
Thomas Mueller 4fbc2774ef on mssql the schema migration sometimes fails due to an already existing transaction - error: 'New transaction is not allowed because there are other threads running in the session.' 11 years ago
Oliver Gasser 53f17a71d1 treat numeric as an alias for decimal 12 years ago
Oliver Gasser 4b01eaf6cc changed type to decimal 12 years ago
Bart Visscher dcca887f18 Don't set a default value when there isn't a default specified 12 years ago
Oliver Gasser b278356eb9 DB: Set correct default value for numeric types 12 years ago