Christoph Wurst
3174012adf
Add event dispatcher to OCP
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years ago
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Joas Schilling
15eec7b83c
Start migrations
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>
7 years ago
Joas Schilling
0215b004da
Update with robin
8 years ago
Joas Schilling
ba87db3fcc
Fix others
8 years ago
Thomas Müller
b55ab6d22a
Various database migration fixes (#25209)
* String columns with a length higher then 4000 are converted into a CLOB columns automagically - we have to respect this when migrating
* Adding schema migration tests to prevent unnecessary and non-sense migration steps
Fix Oracle autoincrement and unsigned handling
* Fix sqlite integer type for autoincrement
* Use lower case table names - fixes pg
* Fix postgres with default -1 - this only affect pg 9.4 servers - 9.5 seems to work fine
8 years ago
Roeland Jago Douma
d09f835dca
Move \OC\DB to PSR-4
Besides the statement wrapper that is moved to the legacy folder
(namepsace of shame folder)
8 years ago
Thomas Müller
4b79fb10a2
Fix verbose output of upgrade command - not progressbar in this case and the schema migration test has one progressbar now for all tables - before we had one progressbar for each table
8 years ago
Thomas Müller
1bf4c75e8b
Show individual sql schema migration steps during upgrade - on web as well as on the command line
8 years ago
Lukas Reschke
c353d51810
Remove Scrutinizer Auto Fixer
8 years ago
Lukas Reschke
933f60e314
Update author information
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
8 years ago
Scrutinizer Auto-Fixer
83a8e75614
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
8 years ago
Thomas Müller
682821c71e
Happy new year!
8 years ago
Morris Jobke
f63915d0c8
update license headers and authors
9 years ago
Victor Dubiniuk
c7c6556187
Do not use digits in random index names
9 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
9 years ago
martin-rueegg
6be8ab65a5
replace 'oc_' with dbtableprefix form config for temporary table names and indexes
9 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
9 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
9 years ago
Thomas Müller
1d2bef0a01
Use a special filter expression for Oracle to filter the prefix - fixes #13220
9 years ago
Morris Jobke
95374e1404
add default for dbtableprefix
9 years ago
Morris Jobke
dbc465de97
use injected config object and fix typos
9 years ago
Morris Jobke
de25084def
inject \OCP\IConfig instance in migrator
9 years ago
tbelau666
ad8d55c327
Use Doctrines filter by table name
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
9 years ago
Thomas Müller
f7097faf82
Special treatment for Oracle
10 years ago
Thomas Müller
363ba04f5e
only commit in case a transaction is active
10 years ago
Joas Schilling
0c711e1cfa
Use get random bytes as uniqeid() is not unique in some cases
Fix #9161
10 years ago
Vincent Petry
7aa11b4361
Do not rename primary key index when renaming table
When the migrator renames a table, for example for upgrade simulation,
it should not rename the primary key to avoid messing up with the diff
because the MySQL Doctrine code expects that index to always be called
"primary".
10 years ago
Robin Appelman
82b982a4eb
Better unique names for temporary tables
10 years ago
Robin Appelman
a59f6818eb
Only quote identifiers for oracle during migration
10 years ago
Robin Appelman
3b4555ca91
Try and check migration before applying it
10 years ago
Robin Appelman
adeac7aa39
Check sqlite migration on a copy of the database file
10 years ago
Robin Appelman
35550e8d9a
Fix migrator for postgres
10 years ago
Robin Appelman
be80dce585
Fix temporary schema creation
10 years ago
Robin Appelman
58c61c8336
Fix generating migration test schemas
10 years ago
Robin Appelman
0035147be9
Create unique names for temporary indexes
10 years ago
Robin Appelman
9c6a93a87c
Add a mechanism to try the database migration on a copy of the tables before running it on the "real" data
10 years ago