Changeset 494 for trunk/sql/updates/486.sql
- Timestamp:
- Mar 1, 2013, 10:44:18 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sql/updates/486.sql
r486 r494 37 37 ALTER TABLE `FinanceInvoice` CHANGE `TimePayment` `TimePayment` DATETIME NULL DEFAULT NULL ; 38 38 ALTER TABLE `FinanceInvoice` CHANGE `Bill` `File` INT( 11 ) NULL DEFAULT NULL; 39 ALTER TABLE `FinanceInvoice` DROP FOREIGN KEY `FinanceInvoice_ibfk_1` ,39 -- ALTER TABLE `FinanceInvoice` DROP FOREIGN KEY `FinanceInvoice_ibfk_1` , 40 40 UPDATE `FinanceInvoice` SET `File` = NULL WHERE `File`=0; 41 41 UPDATE `FinanceInvoice` SET File=NULL WHERE (NOT EXISTS (SELECT `Id` FROM `File` WHERE `File`.`Id` = `FinanceInvoice`.`File`));
Note:
See TracChangeset
for help on using the changeset viewer.