X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-booking.php;h=aa0b3e4752548e5a987f0fd864234f2dc4a958e4;hb=8c5a2427536ec3723249a1db0df1a3ebb76958d0;hp=ac8ea5224bd6689feb012e13264c3626f55b38ee;hpb=efe1b391e82c508dcd386bac18f9bb8c0290b9dd;p=mailer.git
diff --git a/inc/extensions/ext-booking.php b/inc/extensions/ext-booking.php
index ac8ea5224b..aa0b3e4752 100644
--- a/inc/extensions/ext-booking.php
+++ b/inc/extensions/ext-booking.php
@@ -41,10 +41,10 @@ if (!defined('__SECURITY')) {
} // END - if
// Version number
-setThisExtensionVersion('0.0.0');
+setThisExtensionVersion('0.0.1');
// Version history array (add more with , '0.0.1' and so on)
-setExtensionVersionHistory(array('0.0.0'));
+setExtensionVersionHistory(array('0.0.0', '0.0.1'));
// Check extension load-mode
switch (getExtensionMode()) {
@@ -105,10 +105,10 @@ INDEX (`userid`)",
case 'update': // Update an extension
switch (getCurrentExtensionVersion()) {
case '0.0.1': // SQL queries for v0.0.1
- addExtensionSql('');
+ addExtensionChangeTableColumnSql('user_booking', 'id', 'booking_id', 'BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT');
// Update notes (these will be set as task text!)
- setExtensionUpdateNotes('');
+ setExtensionUpdateNotes("Spalte idbooking_id, da id zu allgemein ist (sollte am besten überall folgen).");
break;
} // END - switch