- Timestamp:
- Jan 10, 2019, 10:51:57 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SQL/Update.php
r32 r34 1 1 ALTER TABLE `MeetItem` ADD `Link` VARCHAR(255) NOT NULL AFTER `Location`; 2 2 3 UPDATE `MeetItem` SET `Age`=0 WHERE `Age`=""; 3 4 ALTER TABLE `MeetItem` CHANGE `Age` `Age` INT NULL DEFAULT NULL; 4 5 UPDATE `MeetItem` SET `Age`=NULL WHERE `Age`=0; 6 UPDATE `MeetItem` SET `Height`=0 WHERE `Height`=""; 5 7 ALTER TABLE `MeetItem` CHANGE `Height` `Height` INT NULL DEFAULT NULL; 6 8 UPDATE `MeetItem` SET `Height`=NULL WHERE `Height`=0; 9 UPDATE `MeetItem` SET `Weight`=0 WHERE `Weight`=""; 7 10 ALTER TABLE `MeetItem` CHANGE `Weight` `Weight` INT NULL DEFAULT NULL; 8 11 UPDATE `MeetItem` SET `Weight`=NULL WHERE `Weight`=0;
Note:
See TracChangeset
for help on using the changeset viewer.