summaryrefslogtreecommitdiffstats
path: root/core/Migrations
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #13358 from nextcloud/bugfix/12927-bigint-mtime-storagetimeRoeland Jago Douma2019-01-041-4/+4
|\ | | | | Install new instances with bigint filecache
| * Install new instances with bigint filecacheDaniel Kesselberg2019-01-041-4/+4
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Add twofactor_providers_uid indexRoeland Jago Douma2018-12-211-0/+1
|/ | | | | | Fixes #12943 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* allow to add labels to sharesBjoern Schiessle2018-11-011-0/+53
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Add db column to store hide download stateRoeland Jago Douma2018-10-301-0/+54
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add column to DB to store expired passwordsRoeland Jago Douma2018-10-021-0/+53
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add uid_owner and uid_initiator share tabe indicesRoeland Jago Douma2018-10-011-0/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add "password_by_talk" column to "share" table in the databaseDaniel Calviño Sánchez2018-07-241-0/+48
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* explicitely mention that the note column can be nullBjoern Schiessle2018-07-211-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* allow 'note' to be nullBjoern Schiessle2018-07-211-4/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* allow to add a personal note to a shareBjoern Schiessle2018-07-211-0/+45
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Add filecache index on mtimeRobin Appelman2018-07-191-0/+1
| | | | | | Gives searching by mtime and "recent" a proper index to use Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix updating the db row due to lacking id colArthur Schiwon2018-06-291-1/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust backend and gui to update and changelog serverArthur Schiwon2018-06-291-0/+62
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Make new classes strict and fix license headerChristoph Wurst2018-06-251-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make 2FA providers statefulChristoph Wurst2018-06-201-0/+62
| | | | | | | | | | | This adds persistence to the Nextcloud server 2FA logic so that the server knows which 2FA providers are enabled for a specific user at any time, even when the provider is not available. The `IStatefulProvider` interface was added as tagging interface for providers that are compatible with this new API. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add new authtoken v2 columns to the authtoken tableRoeland Jago Douma2018-06-181-0/+54
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add parent index to share tableRoeland Jago Douma2018-06-031-0/+1
| | | | | | Fixes #9327 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add human readable description to migration stepsRobin Appelman2018-05-302-0/+15
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Certain tokens can expireRoeland Jago Douma2018-05-171-0/+56
| | | | | | | | However due to the nature of what we store in the token (encrypted passwords etc). We can't just delete the tokens because that would make the oauth refresh useless. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Also make it the uid_lower migration work on oracleRoeland Jago Douma2018-04-101-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump autoloaderRoeland Jago Douma2018-04-061-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Silence phanRoeland Jago Douma2018-04-061-0/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add an uid_lower column to the oc_users tableRoeland Jago Douma2018-04-061-0/+78
| | | | | | | | | | | Add a new column. In the postSchemaChange copy over the values (with lower). This should work just fine as this is a very simple operation. Even if you have 1M users in the db backend this should be fast enough. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not cache the settings/sections in the database anymoreJoas Schilling2018-01-291-0/+52
| | | | | | | This caused more troubles then it had benefits, especially when an app got disabled or was removed without being disabled. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix the type hints of migrations and correctly inject the wrapped schema ↵Joas Schilling2018-01-175-23/+20
| | | | | | into migrations Signed-off-by: Joas Schilling <coding@schilljs.com>
* add index for share_with table for newly created tablesBjoern Schiessle2017-12-181-0/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Change @georgehrke's emailMorris Jobke2017-11-062-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-062-0/+42
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Install new instances with bigint filecacheJoas Schilling2017-10-131-14/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't change the filecache schema on updateJoas Schilling2017-10-131-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Restore the sequencial orderJoas Schilling2017-09-291-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Migrate all core id columns to bigintJoas Schilling2017-09-291-0/+42
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix missing "unsigned" on integer columnsJoas Schilling2017-09-192-17/+121
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix headersJoas Schilling2017-08-142-6/+44
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure the accounts table existsJoas Schilling2017-08-141-0/+59
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Install from migrationsJoas Schilling2017-07-251-0/+897
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add migration for personal settings stuffJoas Schilling2017-07-051-0/+93
Signed-off-by: Joas Schilling <coding@schilljs.com>