Ignore:
Timestamp:
Oct 24, 2012, 10:42:58 PM (12 years ago)
Author:
chronos
Message:
  • Upraveno: Korekce tabulek Product a StockItem.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sql/updates/446.sql

    r450 r451  
    44RENAME TABLE `StockCard` TO `Product` ;
    55ALTER TABLE `Product` CHANGE `Code` `Code` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_czech_ci NULL ;
     6ALTER TABLE `Product` ADD `BuyPrice` FLOAT NOT NULL AFTER `SellPrice`;
    67
    78DROP TABLE IF EXISTS `StockItem`;
     
    3132ALTER TABLE `StockItem` CHANGE `Segment` `Segment` INT( 11 ) NULL;
    3233ALTER TABLE `StockItem` ADD `Info` TEXT NOT NULL ;
     34ALTER TABLE `StockItem` CHANGE `TimeElimination` `TimeElimination` DATE NULL;
    3335
    3436ALTER TABLE `Stock` ADD `Location` INT NULL , ADD INDEX ( `Location` );
Note: See TracChangeset for help on using the changeset viewer.