Merge pull request #5807 from nextcloud/enhancement/dev-upgrade-database-xml-hint

Give devs a hint that it's their last chance ditch database.xml
This commit is contained in:
Christoph Wurst
2020-12-14 11:39:19 +01:00
committed by GitHub
3 changed files with 9 additions and 0 deletions

View File

@@ -19,6 +19,11 @@ App code checker deprecation
The app code checker (``occ app:check-code myapp``) is obsolete due to :ref:`static analysis<app-static-analysis>`. For Nextcloud 21 it will act as NOOP, meaning that you can still call the command but it will never fail. This allows you to still use it on CI if you test against 21, 20 and older releases. But prepare the switch to static analysis if you haven't already. Please also note that the app code checker hadn't received many updates recently, hence the number of issues it can detect is low.
Last version with database.xml support and migration
****************************************************
Nextcloud 21 is the last major release that supports an app's ``appinfo/database.xml`` to :ref:`define the database schema<database-xml>`. This is your last change to :ref:`automatically convert this deprecated file into the new migration classes<migrate-database-xml>`.
Upgrading to Nextcloud 20
-------------------------

View File

@@ -118,6 +118,8 @@ With this the old column gets removed.
return $schema;
}
.. _migrate-database-xml:
Migrate from database.xml
-------------------------

View File

@@ -1,3 +1,5 @@
.. _database-xml:
============================
Database schema (deprecated)
============================