summaryrefslogtreecommitdiffstats
path: root/lib/private/db/mdb2schemamanager.php
Commit message (Collapse)AuthorAgeFilesLines
* Move \OC\DB to PSR-4Roeland Jago Douma2016-04-151-178/+0
| | | | | Besides the statement wrapper that is moved to the legacy folder (namepsace of shame folder)
* Show individual sql schema migration steps during upgrade - on web as well ↵Thomas Müller2016-04-041-9/+10
| | | | as on the command line
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2016-02-051-2/+1
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* Happy new year!Thomas Müller2016-01-121-2/+2
|
* getMediumStrengthGenerator is deprecated and does not do anything anymoreRoeland Jago Douma2016-01-111-1/+1
|
* OC_DB_MDB2SchemaManager -> OC\DB\MDB2SchemaManagerMorris Jobke2016-01-071-1/+1
|
* Remove remainings of mssqlThomas Müller2015-07-291-3/+0
|
* Update license headersJenkins for ownCloud2015-03-261-4/+24
|
* let insertIfNotExist() throw the native DBALException - no need to hide the ↵Thomas Müller2015-03-091-1/+1
| | | | real exception
* Revert "Updating license headers"Morris Jobke2015-02-261-24/+5
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-5/+24
|
* inject \OCP\IConfig instance in migratorMorris Jobke2014-12-221-6/+6
|
* Use Doctrines filter by table nametbelau6662014-12-221-3/+1
| | | | | | | Doctrine's SchemaManager can filter table names by regular expression. On this way it picks up only ownClouds's tables in a database. by tbelau666
* drop dependency of some commands on old config objectMorris Jobke2014-11-201-3/+3
|
* Fix PHPDoc and remove explicit type hintLukas Reschke2014-10-241-2/+2
|
* Add type hinting to functionsLukas Reschke2014-10-241-1/+1
| | | | It's only reasonable to have proper type hinting here which might even help us to catch bugs.
* Merge pull request #10985 from owncloud/db-cleanupThomas Müller2014-10-231-2/+3
|\ | | | | Cleanup database handling
| * Bit more cleanupRobin Appelman2014-10-221-2/+3
| |
* | Special treatment for OracleThomas Müller2014-10-161-6/+7
|/
* Disable database migrations for MSSQL - scripts have to be applied manuallyThomas Müller2014-09-151-0/+3
|
* generate copy of sqlite database file in data directoryThomas Müller2014-07-281-1/+2
|
* - Added test to trigger index id errorVincent Petry2014-07-141-2/+4
| | | | | - re-enable encryption migration tests - sqlite requires reconnect after schema changes
* Fix migrator tests to use the correct migrator instancesVincent Petry2014-07-011-1/+1
|
* 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.
* Add `generateChangeScript()` backRobin Appelman2014-06-031-0/+9
|
* Quote identifiers on mysqlRobin Appelman2014-06-031-1/+3
|
* Skip migration checks for all sql backends besides mysql, postgres and sqliteRobin Appelman2014-06-031-1/+5
|
* Only quote identifiers for oracle during migrationRobin Appelman2014-06-031-16/+17
|
* Try and check migration before applying itRobin Appelman2014-06-031-50/+29
|
* - fix dropTable() and introduce tableExists()Thomas Müller2014-05-301-34/+0
| | | | | | | - 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
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-6/+6
| | | | * test case added to avoid adding them later
* Fix all PHPDoc types and variable names, in /libRobin McCorkell2014-05-131-1/+1
|
* Also quote old column name during DB migrationVincent Petry2014-02-271-0/+3
| | | | This fixes alter table commands that didn't quote the old column name
* polish documentation based on scrutinizer patchesJörn Friedrich Dreyer2014-02-061-1/+1
|
* on mssql the schema migration sometimes fails due to an already existing ↵Thomas Mueller2013-11-261-0/+2
| | | | | | transaction - error: 'New transaction is not allowed because there are other threads running in the session.' The solution is to simple reconnect to the database to start with a fresh connection
* Use quoteIdentifier with proper objectsVictor Dubiniuk2013-10-211-0/+5
|
* removing pointless calls on quoteIdentifier() - reason: name on $tableDiff ↵Thomas Müller2013-10-171-6/+2
| | | | | | doesn't exist and my design the name cannot be changed adding PHPDoc
* new console command to generate sql migration scriptsThomas Müller2013-10-171-1/+21
|
* move the private namespace OC into lib/private - OCP will stay in lib/publicThomas Müller2013-09-301-0/+150
Conflicts: lib/private/vcategories.php