Bug 20144: [sql_modes] Fix datatype for aqbasket.authorisedby
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 5 Feb 2018 18:32:28 +0000 (15:32 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 13 Feb 2018 16:58:50 +0000 (13:58 -0300)
commit06baf06d21e5c808d0e0eed37f3a737dfe0f4e3b
treef5ff141c8a3137c387a5dad95812803b6d262b1d
parent42e41883a4c8daad97201ad2a0d29443d9facc13
Bug 20144: [sql_modes] Fix datatype for aqbasket.authorisedby

It's defined as a VARCHAR(10) in DB, but it is expecting a
borrowernumber instead

Fix for
Data too long for column 'authorisedby'

Must be a FK but first a borrowernumber
Need to update kohastructure for the comment?

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Bookseller.t
t/db_dependent/Koha/Acquisition/Booksellers.t