Changeset 25 for trunk/SQL/Update.php


Ignore:
Timestamp:
Dec 26, 2018, 11:13:00 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Keep Age, Height and Weight values in database as int type.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SQL/Update.php

    r10 r25  
    11ALTER TABLE `MeetItem` ADD `Link` VARCHAR(255) NOT NULL AFTER `Location`;
    22
     3ALTER TABLE `MeetItem` CHANGE `Age` `Age` INT NULL DEFAULT NULL;
     4UPDATE `MeetItem` SET `Age`=NULL WHERE `Age`=0;
     5ALTER TABLE `MeetItem` CHANGE `Height` `Height` INT NULL DEFAULT NULL;
     6UPDATE `MeetItem` SET `Height`=NULL WHERE `Height`=0;
     7ALTER TABLE `MeetItem` CHANGE `Weight` `Weight` INT NULL DEFAULT NULL;
     8UPDATE `MeetItem` SET `Weight`=NULL WHERE `Weight`=0;
Note: See TracChangeset for help on using the changeset viewer.