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

--- Comment #24 from Jonathan Druart <[email protected]> ---
Something is wrong:

dbrev:
+            ADD COLUMN `status` ENUM('new', 'cancelled', 'completed') NOT NULL
DEFAULT 'new' COMMENT 'current status of the booking' $after;

kohastructure:
1222   `status` enum('created', 'cancelled') NOT NULL DEFAULT 'created' COMMENT
'current status of the booking',

Currently I have this in DB:
| status            | enum('new','cancelled','completed') | NO   |     | new   
             |                               |

And the tests are failing:
#   Failed test 'list() tests'
#   at t/db_dependent/api/v1/bookings.t line 145.
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
execute failed: Data truncated for column 'status' at row 1 at
/kohadevbox/koha/t/lib/TestBuilder.pm line 385
# Looks like your test exited with 2 just after 1.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to