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

--- Comment #22 from Katrin Fischer <[email protected]> ---
I believe we need to update kohastructure.sql as well:

diff --git a/installer/data/mysql/kohastructure.sql
b/installer/data/mysql/kohastructure.sql
index f3dd950328d..e829cacc62b 100644
--- a/installer/data/mysql/kohastructure.sql
+++ b/installer/data/mysql/kohastructure.sql
@@ -1217,6 +1217,8 @@ CREATE TABLE `bookings` (
   `pickup_library_id` varchar(10) NOT NULL COMMENT 'Identifier for booking
pickup library',
   `start_date` datetime DEFAULT NULL COMMENT 'the start date of the booking',
   `end_date` datetime DEFAULT NULL COMMENT 'the end date of the booking',
+  `created_at` timestamp DEFAULT current_timestamp() COMMENT 'the timestamp
for when a booking was created',
+  `updated_at` timestamp DEFAULT current_timestamp() ON UPDATE
current_timestamp() COMMENT 'the timestamp for when a booking has been
updated',

-- 
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