aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DB/MigrationService.php
Commit message (Collapse)AuthorAgeFilesLines
...
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Pick a shorter name for the transfer ownership tableJoas Schilling2019-12-101-1/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersChristoph Wurst2019-12-051-1/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove the custom prefix from the table name length when checking on the ↵Joas Schilling2019-04-301-1/+1
| | | | | | default primary index Signed-off-by: Joas Schilling <coding@schilljs.com>
* Indeces, columns and sequences don't have the table prefixJoas Schilling2019-03-281-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only check the Oracle schema conditions if the app supports itJoas Schilling2018-12-171-2/+23
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only check changed itemsJoas Schilling2018-12-171-13/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Disable Oracle enforcement for now until the following issues are solved:Joas Schilling2018-08-061-1/+2
| | | | | | | * Only apps should be checked which say they support oracle * Only check newly added items, to allow forward migration from an existing database structure Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix primary key handling on postgresJoas Schilling2018-07-271-3/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Ignore custom prefixes which are longerJoas Schilling2018-07-271-9/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Ignore automatic generated sequencesJoas Schilling2018-07-271-1/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix calculation of default nameJoas Schilling2018-07-271-3/+23
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Prevent too long identifier namesJoas Schilling2018-07-271-1/+41
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only create the schema when moving between databasesJoas Schilling2018-07-191-9/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add human readable description to migration stepsRobin Appelman2018-05-301-4/+23
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove unused import statementsMorris Jobke2018-02-141-2/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Create the migrations table also with the UTF8mb4 collationJoas Schilling2018-01-311-12/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #7909 from nextcloud/fix-migration-type-hintsMorris Jobke2018-01-171-2/+2
|\ | | | | Fix the type hints of migrations and correctly inject the wrapped sch…
| * Fix the type hints of migrations and correctly inject the wrapped schema ↵Joas Schilling2018-01-171-2/+2
| | | | | | | | | | | | into migrations Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Correctly drop the ownCloud migrations tableJoas Schilling2018-01-171-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check if realpath() returns falseMorris Jobke2018-01-121-1/+1
| | | | | | realpath() returns false in case the directory does not exist. Found it while preparing strict_typing for PHP7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Drop the ownCloud migration table instead of reusing itJoas Schilling2018-01-041-3/+36
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersMorris Jobke2017-11-061-4/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* "Only variables must be passed by reference"Joas Schilling2017-07-251-2/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only create the migration directory when necessaryJoas Schilling2017-07-061-9/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add migration for personal settings stuffJoas Schilling2017-07-051-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix the installer testsJoas Schilling2017-07-051-1/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix tests of CodeChecker and MigrationServiceJoas Schilling2017-07-051-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix dropping tables and handle the prefix automaticallyJoas Schilling2017-07-051-3/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to check the schema in pre and post as wellJoas Schilling2017-07-051-3/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a version to migrations, so parallel legacy branches can also have ↵Joas Schilling2017-07-051-0/+8
| | | | | | migrations Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add author and copyrightJoas Schilling2017-07-051-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix code issuesJoas Schilling2017-07-051-11/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use autoloading instead of require_once from a different dirJoas Schilling2017-07-051-12/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Adjust the code to use our interface and abstractJoas Schilling2017-07-051-13/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Start migrationsJoas Schilling2017-07-051-0/+401
Fixme: - Install and update of apps - No revert on live systems (debug only) - Service adjustment to our interface - Loading via autoloader Signed-off-by: Joas Schilling <coding@schilljs.com>