debian-koji/docs/source/migrations/migrating_to_1.18.rst
2019-11-07 11:31:54 -05:00

42 lines
1.1 KiB
ReStructuredText

Migrating to Koji 1.18
======================
..
reStructured Text formatted
You should consider the following changes when migrating to 1.18:
DB Updates
----------
This release has a few schema changes:
* Several new indexes to speed operations
* A ``cg_id`` field has been added to the ``build`` table
* A new ``build_reservations`` table
* A new ``build_notifications_block`` table
* Updates to the data in the ``archivetypes`` table
As in previous releases, we provide a migration script that updates the
database.
::
# psql koji koji </usr/share/doc/koji/docs/schema-upgrade-1.17-1.18.sql
More granular permissions
-------------------------
The new ``host``, ``tag``, ``target`` permissions allow access to a number of
actions that were previously admin-only.
Koji administrators should consider using these to reduce the number of users
with full ``admin`` permission.
Other changes
-------------
There are numerous other changes in 1.18 that should not have a direct impact
on migration. For details see:
:doc:`../release_notes/release_notes_1.18`