Bug 30565: Database revision for stockrotationrotas
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 20 Apr 2022 11:29:58 +0000 (11:29 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 2 May 2022 21:22:56 +0000 (11:22 -1000)
commit880a994a785aa289d487156ef79557b8c1b563a1
treef38d35274dc12959c9e8fe9854738e827cb40801
parent2c250ef312215c527c4b21f63ba3df4ea60eb357
Bug 30565: Database revision for stockrotationrotas

Add unique key if needed.
Adjust description column to make it NOT NULL.

Test plan:
(Optionally:) Drop unique key, make description nullable.
Run dbrev.
Check if unique key present, and description not-nullable.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
installer/data/mysql/atomicupdate/bug_30565.pl [new file with mode: 0755]