summaryrefslogtreecommitdiffstats
path: root/core/Migrations
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #24053 from nextcloud/bugfix/noid/fix-user-status-for-oracleJulius Härtl2020-11-122-1/+62
|\
| * Also make direct_edit.accessed nullableJoas Schilling2020-11-112-1/+62
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix migration of oc_credentials tableRobin Appelman2020-11-121-23/+25
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix CSJoas Schilling2020-11-103-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Create primary keys on all tables and add a command to create the afterwardsJoas Schilling2020-11-104-6/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Replace the credentials table with one that can have empty userJoas Schilling2020-11-104-17/+176
| | | | | | Primary key columns on Oracle can not have empty strings Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure columns with an empty default are nullable for OracleJoas Schilling2020-11-107-6/+71
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add size index for filecacheRobin Appelman2020-09-221-0/+1
| | | | | | improves performance of #23004 Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove @suppress SqlInjectionCheckerMorris Jobke2020-09-161-2/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix installing on OracleJoas Schilling2020-09-071-1/+3
| | | | | | | Empty strings are stored as null in Oracle, so a column with NotNull can not have an empty string as default Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-249-1/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Replace TYPE with TYPESDaniel Kesselberg2020-06-309-64/+64
| | | | | | As TYPE::* is deprecated. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add index to properties tableMario Danic2020-04-301-0/+1
| | | | Signed-off-by: Mario Danic <mario@lovelyhq.com>
* Update license headers for 19Christoph Wurst2020-04-294-0/+24
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-1013-15/+2
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use a blank line after the opening tagChristoph Wurst2020-04-091-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #19761 from ↵Roeland Jago Douma2020-04-061-3/+6
|\ | | | | | | | | nextcloud/bugfix/19658/add_missing_index_to_original_migration Add missing index to original migration
| * Create Mount IDs as BigInt by defaultGeorg Ehrke2020-03-031-3/+6
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Merge pull request #19890 from nextcloud/enh/comments-reference-idJoas Schilling2020-04-021-0/+4
|\ \ | | | | | | Add optional comments reference_id
| * | Add optional column oc_comments.reference_idJoas Schilling2020-03-311-0/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #20241 from nextcloud/fix/license-headers-19Roeland Jago Douma2020-04-011-0/+1
|\ \ \ | | | | | | | | Update the license headers for Nextcloud 19
| * | | Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| |/ / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / / Start with webauthnRoeland Jago Douma2020-03-311-0/+45
|/ / | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | Remove unused importsChristoph Wurst2020-03-252-2/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix mismatching docblock return typesChristoph Wurst2020-03-061-1/+2
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headers for 18Christoph Wurst2019-12-201-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #18224 from nextcloud/bugfix/noid/direct-editing-pathRoeland Jago Douma2019-12-111-0/+66
|\ | | | | Use file path for direct editing
| * Use file path for direct editingJulius Härtl2019-12-051-0/+66
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Update license headersChristoph Wurst2019-12-0523-27/+84
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Code style fixes and cleanupJulius Härtl2019-11-271-36/+34
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Direct editing API to allow file editing using a one-time token forJulius Härtl2019-11-271-0/+95
| | | | | | mobile apps Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Some php-cs fixesRoeland Jago Douma2019-11-2219-20/+21
| | | | | | | | | | | * 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>
* store filecache extension fieldsRobin Appelman2019-11-131-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Set default valueJoas Schilling2019-09-271-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a displayname to the database group backendJoas Schilling2019-09-271-0/+74
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add DB table to extend filecache with metadata etag, creation time and ↵Morris Jobke2019-07-151-0/+73
| | | | | | upload time Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove method stubsDaniel Kesselberg2019-05-022-27/+0
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add second migration for addColumnDaniel Kesselberg2019-05-022-7/+74
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Pass type object instance instead of identifierDaniel Kesselberg2019-05-021-1/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge dropColumn and addColumn into changeColumnDaniel Kesselberg2019-05-021-3/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Migration to change column type from smallint to booleanDaniel Kesselberg2019-05-021-0/+86
| | | | | | On pqsql true/false is no valid value for an integer column. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Make sure all tables have named indexesJoas Schilling2019-03-272-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Also cache the resource type because it is part of the identifierJoas Schilling2019-03-011-2/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add default value, because null does not trigger unique-keyJoas Schilling2019-03-011-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Start implementing access cacheJoas Schilling2019-03-011-1/+25
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make names mandatoryJoas Schilling2019-03-011-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Basic implementation of resource and collection handlingJoas Schilling2019-03-011-0/+76
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #14025 from nextcloud/fix/authtoken_idx_lengthMorris Jobke2019-02-251-1/+1
|\ | | | | Fix authtoken index length
| * Fix authtoken index lengthRoeland Jago Douma2019-02-051-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Login flow V2Roeland Jago Douma2019-02-251-0/+101
|/ | | | | | | | This adds the new login flow. The desktop client will open up a browser and poll a returned endpoint at regular intervals to check if the flow is done. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>