Modify

Opened 10 years ago

Closed 10 years ago

#738 closed Bug/Fehler (fixed)

DB update

Reported by: Ronald Parcinski Owned by: Gerhard Waldemair
Priority: normal Milestone: modified-shop-2.0.0.0
Component: Shop Version: 2.0.0.0
Keywords: Cc:
Blocked By: Blocking:

Description

products_options_name und products_options_values_name sollten auf 255 Zeichen erhöht werden

ALTER TABLE `products_options` CHANGE `products_options_name` `products_options_name` VARCHAR( 255 ) NOT NULL DEFAULT '' ;
ALTER TABLE `products_options_values` CHANGE `products_options_values_name` `products_options_values_name` VARCHAR( 255 ) NOT NULL DEFAULT '' ;

ALTER TABLE `orders_products_attributes` CHANGE `products_options` `products_options` varchar(255) NOT NULL ;
ALTER TABLE `orders_products_attributes` CHANGE `products_options_values` `products_options_values` VARCHAR( 255 ) NOT NULL ;

Attachments (0)

Change History (3)

comment:1 by Torsten Riemer, 10 years ago

Resolution: fixed
Status: newclosed

In 9152:

Fix #738

comment:2 by Torsten Riemer, 10 years ago

Resolution: fixed
Status: closedreopened

Ich habe das mal in r9152 entsprechend geändert, wobei ich den SQL-Befehl mit MODIFIY anstatt mit CHANGE für besser erachte.

Bitte nochmal drüber schauen, da ich nicht sicher bin, ob da noch mehr dran hängt.

comment:3 by Gerhard Waldemair, 10 years ago

Resolution: fixed
Status: reopenedclosed

MODIFY und CHANGE sind von der Funktion identisch bis auf das Umbenennnen von Spalten. Das funktioniert nur mit CHANGE.

Modify Ticket

Action
as closed The owner will remain Gerhard Waldemair.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.