summaryrefslogtreecommitdiffstats
path: root/lib/private/db
Commit message (Collapse)AuthorAgeFilesLines
* Fix ILIKE without wildcards for oracleRobin Appelman2014-09-181-1/+1
|
* Implement ILIKE for sqliteRobin Appelman2014-09-171-1/+1
|
* Make sqlite LIKE case sensitive on defaultRobin Appelman2014-09-172-0/+45
|
* adding ILIKE to AdapterSQLSrvThomas Müller2014-09-161-0/+1
|
* Introduce cross-db ILIKERobin Appelman2014-09-164-6/+26
|
* Disable database migrations for MSSQL - scripts have to be applied manuallyThomas Müller2014-09-152-0/+26
|
* Merge pull request #7323 from owncloud/Jonny007-MKD-masterLukas Reschke2014-09-092-6/+19
|\ | | | | Update adapter.php
| * Also update sqliteadapterRobin Appelman2014-07-021-3/+11
| |
| * Update adapter.phpJonny007-MKD2014-07-011-3/+8
| | | | | | | | Modified insertIfNotExist() to support NULL values
* | no statement caching for OracleThomas Müller2014-08-221-0/+5
| |
* | migration test for sqlite - adding type mapping for 'tinyint unsigned'Thomas Müller2014-07-291-0/+13
| |
* | generate copy of sqlite database file in data directoryThomas Müller2014-07-282-2/+27
| |
* | register type mappings for unknown/unsupported mysql typesThomas Müller2014-07-241-0/+4
| |
* | only commit in case a transaction is activeThomas Müller2014-07-231-1/+3
| |
* | Document why we have to check with defined() first.Andreas Fischer2014-07-161-0/+2
| |
* | Make MySQL return "number of found rows" instead of number of "affected rows".Andreas Fischer2014-07-161-1/+7
| |
* | - Added test to trigger index id errorVincent Petry2014-07-141-2/+4
| | | | | | | | | | - re-enable encryption migration tests - sqlite requires reconnect after schema changes
* | Add repair step to set MySQL collation to utf8_binRobin Appelman2014-07-081-0/+1
| | | | | | | | | | Set default collation of mysql connection to utf8_bin Set utf_bin as default collation for new tables
* | Fix migrator tests to use the correct migrator instancesVincent Petry2014-07-011-1/+1
|/
* Use get random bytes as uniqeid() is not unique in some casesJoas Schilling2014-06-301-2/+2
| | | | Fix #9161
* Do not rename primary key index when renaming tableVincent Petry2014-06-171-1/+7
| | | | | | | When the migrator renames a table, for example for upgrade simulation, it should not rename the primary key to avoid messing up with the diff because the MySQL Doctrine code expects that index to always be called "primary".
* adding PK to table encryptionThomas Müller2014-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | adding auto increment/PK to table files_trash adding PK to table ldap_user_mapping and ldap_group_members adding PK to table ldap_group_mapping truncate permissions table to allow smooth creation of primary key adding unit test for creating an auto increment column on a table which already contains data remove unneeded table files_trashsizes fix unit test no need to truncate *PREFIX*permissions On Oracle adding auto increment columns is not working out of the box - Oracle migrations are to be done manually
* Removed simulate db update flag and split into separate methodsVincent Petry2014-06-041-12/+25
|
* Simulate apps database schema update on upgradeVincent Petry2014-06-041-3/+8
| | | | | When upgrade, also simulate the database schema update for apps before doing the actual upgrade.
* Merge pull request #7015 from owncloud/db-migration-check-copyicewind19912014-06-037-50/+403
|\ | | | | Check database migration on a copy of the table first
| * Fix typoRobin Appelman2014-06-031-1/+1
| |
| * Better unique names for temporary tablesRobin Appelman2014-06-032-1/+19
| |
| * Add `generateChangeScript()` backRobin Appelman2014-06-031-0/+9
| |
| * add a getter for the tableRobin Appelman2014-06-031-0/+7
| |
| * Quote identifiers on mysqlRobin Appelman2014-06-032-1/+35
| |
| * Skip migration checks for all sql backends besides mysql, postgres and sqliteRobin Appelman2014-06-033-10/+30
| |
| * Only quote identifiers for oracle during migrationRobin Appelman2014-06-033-26/+58
| |
| * Try and check migration before applying itRobin Appelman2014-06-032-60/+65
| |
| * Check sqlite migration on a copy of the database fileRobin Appelman2014-06-032-0/+41
| |
| * Fix migrator for postgresRobin Appelman2014-06-031-1/+3
| |
| * Fix temporary schema creationRobin Appelman2014-06-031-4/+8
| |
| * Fix generating migration test schemasRobin Appelman2014-06-031-1/+4
| |
| * Create unique names for temporary indexesRobin Appelman2014-06-031-3/+23
| |
| * Add a mechanism to try the database migration on a copy of the tables before ↵Robin Appelman2014-06-032-0/+158
| | | | | | | | running it on the "real" data
* | Merge pull request #8425 from owncloud/columns_should_be_nullable_by_defaultThomas Müller2014-06-031-1/+1
|\ \ | |/ |/| columns should be nullable by default
| * columns should be nullable by defaultJörn Friedrich Dreyer2014-05-011-1/+1
| |
* | - fix dropTable() and introduce tableExists()Thomas Müller2014-05-302-34/+1
| | | | | | | | | | | | | | - kill replaceDB() - this function is unused and it's implementation obviously wrong - add method annotation OC_DB_StatementWrapper::fetchAll - remove duplicate code in Test_DBSchema and reuse OC_DB::tableExists - remove unused variables
* | Merge pull request #8639 from owncloud/drop-briefThomas Müller2014-05-193-8/+8
|\ \ | | | | | | Remove all occurences of @brief and @returns from PHPDoc
| * | Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-193-8/+8
| | | | | | | | | | | | * test case added to avoid adding them later
* | | Merge pull request #6457 from owncloud/db-convert-toolFrank Karlitschek2014-05-192-0/+158
|\ \ \ | |/ / |/| | Command line tool to convert current database to others, except sqlite
| * | fixing typos and adding PHPDocThomas Müller2014-05-121-2/+3
| | |
| * | Add Bart to PgSqlTools copyright.Andreas Fischer2014-04-151-0/+1
| | |
| * | Move PostgreSQL sequence resynchronisation out into PgSqlTools class.Andreas Fischer2014-04-141-0/+39
| | |
| * | Deduplicate connection handling code into \OC\DB\ConnectionFactoryAndreas Fischer2014-03-311-0/+117
| |/
* | Fix all PHPDoc types and variable names, in /libRobin McCorkell2014-05-133-4/+4
| |