Nils Wenninghoff
|
3ef04909b7
|
fix(ConvertType): Read dbtype in createConnectionParams and remove safeguard
Signed-off-by: Nils Wenninghoff <nils@ungemein.cool>
|
2025-01-30 12:21:30 +01:00 |
|
Maxence Lange
|
825be0af80
|
fix(migration-preview): display a message if no attributes set
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2024-08-06 22:52:43 -01:00 |
|
Maxence Lange
|
e227d5afa1
|
feat(upgrade): migration attributes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
2024-08-06 22:41:35 -01:00 |
|
Josh
|
6d72b014c4
|
fix(db): cs-fix spacing
Signed-off-by: Josh <josh.t.richards@gmail.com>
|
2024-05-22 17:01:23 +00:00 |
|
Josh
|
3a8c2903d8
|
fix(db): Prevent data loss by temporarily disabling db:convert-type
Needed until #45257 is addressed to prevent data loss
Signed-off-by: Josh <josh.t.richards@gmail.com>
|
2024-05-22 17:01:23 +00:00 |
|
Josh
|
20953d0374
|
Merge pull request #43824 from nextcloud/fix/db/occ-db-convert-disabled-apps
fix(db): db-convert supports disabled apps but not removed ones
|
2024-03-07 10:17:45 -05:00 |
|
Joas Schilling
|
92fc12918e
|
fix(migrations): Help developers to add description and copyright info
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2024-03-05 12:56:38 +01:00 |
|
Johannes Merkel
|
06d076410a
|
feat(occ): add possibility to edit indices
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
|
2024-02-27 11:03:08 +01:00 |
|
Josh
|
7ce0088737
|
fix(db): db-convert supports disabled apps but not removed ones
Signed-off-by: Josh <josh.t.richards@gmail.com>
|
2024-02-25 13:46:50 -05:00 |
|
Côme Chilliet
|
51758117a7
|
Migrate database pending bigint conversions check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
2023-11-28 14:07:47 +01:00 |
|
Joas Schilling
|
aa5f037af7
|
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
|
2023-11-23 10:36:13 +01:00 |
|
Christoph Wurst
|
5f0ada879e
|
fix(db): Print why the migration file could not be created
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
2023-11-22 11:46:17 +01:00 |
|
Joas Schilling
|
ab70bbd3ff
|
fix(db)!: Remove private legacy event because we can not keep it
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2023-07-24 14:51:35 +02:00 |
|
Joas Schilling
|
86310a35b2
|
fix(db): Move missing core indices to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2023-07-24 14:51:34 +02:00 |
|
Joas Schilling
|
00d483585b
|
fix: Add options to support all used features by core
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2023-07-24 14:51:34 +02:00 |
|
Joas Schilling
|
f73f14207c
|
fix(db): Move missing core columns to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2023-07-24 14:51:33 +02:00 |
|
Joas Schilling
|
77c2b169a5
|
fix(db): Move missing core primary keys to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2023-07-24 14:51:33 +02:00 |
|
Joas Schilling
|
bd0a149a4f
|
feat(dispatcher): Add typed event for "db:add-missing-primary-keys"
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2023-07-24 14:51:32 +02:00 |
|
Joas Schilling
|
2eded24eff
|
feat(dispatcher): Add typed event for "db:add-missing-columns"
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2023-07-24 14:51:32 +02:00 |
|
Julius Härtl
|
2601db240f
|
Merge pull request #39389 from nextcloud/enh/add-missing-indices-event
|
2023-07-14 14:21:39 +02:00 |
|
Julius Härtl
|
925bcebcb6
|
feat: Add public event for missing indices
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2023-07-14 13:11:22 +02:00 |
|
Arthur Schiwon
|
e5160e0c1c
|
fix(db): no hardcoded table prefix is expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
|
2023-07-13 23:34:39 +02:00 |
|
Marcel Klehr
|
fcf1c3033b
|
fix(systemtags): Add missing systemtags index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2023-06-21 15:20:30 +02:00 |
|
Faraz Samapoor
|
1e8ec53b8c
|
Update core/Command/Db/ConvertType.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
|
2023-06-19 12:55:15 +02:00 |
|
Faraz Samapoor
|
73d7c45ae1
|
Update core/Command/Db/ConvertFilecacheBigInt.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
|
2023-06-19 12:55:15 +02:00 |
|
Faraz Samapoor
|
d34cafc58c
|
Update core/Command/Db/Migrations/MigrateCommand.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
|
2023-06-19 12:55:15 +02:00 |
|
Faraz Samapoor
|
f1a19a10fc
|
Update core/Command/Db/Migrations/StatusCommand.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
|
2023-06-19 12:55:15 +02:00 |
|
Faraz Samapoor
|
b5cbba7fc1
|
Uses PHP8's constructor property promotion in core/Command/Db classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
|
2023-06-19 12:55:15 +02:00 |
|
Robin Appelman
|
db43d90387
|
add new index in repair step instead of on-migrate
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
2023-04-28 15:08:08 +02:00 |
|
Louis Chemineau
|
bda66f9fb6
|
Add parent index on filecache
Signed-off-by: Louis Chemineau <louis@chmn.me>
|
2023-03-20 15:02:23 +00:00 |
|
Vitor Mattos
|
fd4c53f311
|
Fix typo that added a letter to migration template
Signed-off-by: Vitor Mattos <vitor@php.rio>
|
2023-02-25 12:48:22 -03:00 |
|
Roeland Jago Douma
|
aaf9b9c4fd
|
properly typehint generated migrations
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
2022-10-09 21:26:16 +02:00 |
|
timm2k
|
6ff58d30b4
|
Update ConvertFilecacheBigInt.php
Signed-off-by: timm2k <timm2k@gmx.de>
|
2022-09-14 10:15:16 +02:00 |
|
Marcel Klehr
|
047cc708d4
|
DB mounts table: Add index for mount_provider_class
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
|
2022-08-01 14:27:34 +02:00 |
|
Carl Schwan
|
b70c6a128f
|
Update core to PHP 7.4 standard
- Typed properties
- Port to LoggerInterface
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
2022-05-20 22:18:06 +02:00 |
|
Joas Schilling
|
60801d8b1c
|
Fix strict comparison
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2022-04-27 20:31:40 +02:00 |
|
Joas Schilling
|
2ffcc08332
|
Fix type fixing
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2022-04-25 16:49:23 +02:00 |
|
Joas Schilling
|
7ee982005a
|
Give hints on correct migration versioning
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
2022-04-25 16:21:25 +02:00 |
|
Julius Härtl
|
7fbd93b2ad
|
Additional index on oc_preferences to make sure that gettingh values without a user filter is fast
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2022-04-19 12:37:36 +02:00 |
|
Côme Chilliet
|
9191ca43ce
|
Merge pull request #31735 from nextcloud/fix/noid/mig-generator-copyright
migration generator also includes copyright section
|
2022-03-29 16:49:43 +02:00 |
|
Côme Chilliet
|
765999f454
|
Merge pull request #31609 from nextcloud/fix/migrate-away-from-ilogger
Migrate from ILogger to LoggerInterface in lib/private
|
2022-03-29 09:39:38 +02:00 |
|
Arthur Schiwon
|
ee006563ae
|
migration generator also includes copyright section
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
|
2022-03-28 15:35:17 +02:00 |
|
Côme Chilliet
|
ea23523c70
|
Adapt more code to migration to LoggerInterface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
2022-03-24 16:21:25 +01:00 |
|
Louis Chemineau
|
970fb7ce65
|
Don't create cards_abiduri it if already exists
Signed-off-by: Louis Chemineau <louis@chmn.me>
|
2022-03-24 10:42:22 +00:00 |
|
Christoph Wurst
|
c1000fe344
|
Merge pull request #31304 from nextcloud/feature/dry_run_for_add_indices
Add --dry-run option for add-missing-* cmd
|
2022-02-28 09:59:40 +01:00 |
|
Louis Chemineau
|
405c5eb813
|
Add --dry-run option for db:add-missing-* cmd
Signed-off-by: Louis Chemineau <louis@chmn.me>
|
2022-02-24 16:42:08 +01:00 |
|
Carl Schwan
|
db6927ee05
|
Improve performance when converting between DBs
Use a transaction when doing multiple inserts increase the writing
speed.
Ref: https://stackoverflow.com/a/68495887
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
2022-02-16 18:28:06 +01:00 |
|
Julius Härtl
|
415294e345
|
Add index for direct editing cleanup job
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2022-02-07 09:25:27 +01:00 |
|
Carl Schwan
|
6312c0df69
|
Check style update
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
2022-01-13 00:19:07 +01:00 |
|
Christoph Wurst
|
ed84f07784
|
Add missing index for propertypath only queries against properties
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
2021-12-23 15:51:50 +01:00 |
|