[Koha-bugs] [Bug 22273] Column article_requests.created_on should not be updated

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 28 18:21:10 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22273

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #96425|0                           |1
        is obsolete|                            |

--- Comment #5 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 99788
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99788&action=edit
Bug 22273: Database revision for table article_requests

Column created_on should not be updated. It is filled once by the
store method of Koha::ArticleRequest.
Column updated_on should be a timestamp, updated by the database.

Note: Although higher versions of MySQL and MariaDB support two timestamps
(NOT NULL) in one table, I kept on the safe side by allowing NULL on the
created_on column.

@RM: Don't forget to run DBIx update.

Test plan:
Run new install or upgrade.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Tested running update.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list