diff options
author | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-06-29 14:54:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-29 14:54:41 +0200 |
commit | b55ab6d22a82dbd5c1f6f30b23471dfb0a6a48ab (patch) | |
tree | 21451703ce0616984ebe66f22b7109ccb394b928 /lib/private/DB/MDB2SchemaManager.php | |
parent | c8fbe3980116bd94bd136c63d581c4bd6212cc3d (diff) | |
download | nextcloud-server-b55ab6d22a82dbd5c1f6f30b23471dfb0a6a48ab.tar.gz nextcloud-server-b55ab6d22a82dbd5c1f6f30b23471dfb0a6a48ab.zip |
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
Diffstat (limited to 'lib/private/DB/MDB2SchemaManager.php')
-rw-r--r-- | lib/private/DB/MDB2SchemaManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/DB/MDB2SchemaManager.php b/lib/private/DB/MDB2SchemaManager.php index 1d25ae9f18c..79811d8c6cd 100644 --- a/lib/private/DB/MDB2SchemaManager.php +++ b/lib/private/DB/MDB2SchemaManager.php @@ -84,7 +84,7 @@ class MDB2SchemaManager { } else if ($platform instanceof MySqlPlatform) { return new MySQLMigrator($this->conn, $random, $config, $dispatcher); } else if ($platform instanceof PostgreSqlPlatform) { - return new Migrator($this->conn, $random, $config, $dispatcher); + return new PostgreSqlMigrator($this->conn, $random, $config, $dispatcher); } else { return new NoCheckMigrator($this->conn, $random, $config, $dispatcher); } |