Bug 14321: Add two columns to uploaded_files
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 6 Aug 2015 13:34:57 +0000 (15:34 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 25 Sep 2015 15:02:51 +0000 (12:02 -0300)
commitd94251e017703719c904c66e198bba360f6f9525
tree7dd088748261735a513e71cfbca8bc7b04a1f0fa
parent54cf0a8aaff2a3484b38ae605124f701072ef802
Bug 14321: Add two columns to uploaded_files

This patch adds uploaded_files.public and permanent.
Public will be used later to mark uploaded files as available via OPAC.
Permanent will be used to make the distinction between temporary and
permanent storage.

The db rev sets both flags for all current records (uploaded via the
plugin from BZ 6874).

Test plan:
[1] If you tested this before, drop the column public first.
[1] Run the dbrev.

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/atomicupdate/14321a_public.sql [new file with mode: 0644]
installer/data/mysql/kohastructure.sql