Changeset 167 for www/sql/updates/165.sql
- Timestamp:
- Mar 24, 2009, 11:44:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
www/sql/updates/165.sql
r166 r167 2 2 ADD `Destination` INT NOT NULL ; 3 3 4 UPDATE `finance_operations` SET `Source` = 0, `Destination` = 0; 4 5 UPDATE `finance_operations` SET `Source` = 96, `Destination` = `user` WHERE `Comment` = "Vklad"; 5 6 UPDATE `finance_operations` SET `Source` = 96, `Destination` = `user` WHERE `Comment` = "Úhrada faktury"; 6 7 7 8 UPDATE `finance_operations` SET `Source` = `user`, `Destination` = 71 WHERE `Comment` LIKE "Připojení k síti za období%"; 8 UPDATE `finance_operations` SET `Source` = `user`, `Destination` = 71 WHERE `Comment` LIKE "Poplatek za měsíc%"; 9 UPDATE `finance_operations` SET `Source` = `user`, `Destination` = 71 WHERE `Comment` LIKE "Poplatek za měsíc%" AND money < 0; 10 UPDATE `finance_operations` SET `Source` = 71, `Destination` = `user` WHERE `Comment` LIKE "Poplatek za měsíc%" AND money > 0; 9 11 UPDATE `finance_operations` SET `Source` = `user`, `Destination` = 71 WHERE `Comment` LIKE "Poplatek za internet za měsíc%"; 10 12 UPDATE `finance_operations` SET `Source` = `user`, `Destination` = 71 WHERE `Comment` = "Zřízení přípojky"; … … 27 29 UPDATE `finance_operations` SET `Source` = `user`, `Destination` = 96 WHERE `Comment` LIKE "Výběr%"; 28 30 29 UPDATE `finance_operations` SET `Source` = 96, `Destination` = `user` WHERE `Source` = 0 AND `Destination` = 0 ;30 UPDATE `finance_operations` SET `Source` = `user`, `Destination` = 71 WHERE `Source` = 0 AND `Destination` = 0 ;31 UPDATE `finance_operations` SET `Source` = 96, `Destination` = `user` WHERE `Source` = 0 AND `Destination` = 0 AND `money` > 0; 32 UPDATE `finance_operations` SET `Source` = `user`, `Destination` = 71 WHERE `Source` = 0 AND `Destination` = 0 AND `money` < 0; 31 33 32 34
Note:
See TracChangeset
for help on using the changeset viewer.