From 8c5a2427536ec3723249a1db0df1a3ebb76958d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 22 Oct 2012 20:59:40 +0000 Subject: [PATCH] Now added renaming from 'id' to 'booking_id' --- inc/extensions/ext-booking.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.2