mysql_update_tf-b4rt-4.to.tf-b4rt-5.sql 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. -- -----------------------------------------------------------------------------
  2. -- $Id: mysql_update_tf-b4rt-4.to.tf-b4rt-5.sql 2607 2007-03-09 19:33:07Z b4rt $
  3. -- -----------------------------------------------------------------------------
  4. --
  5. -- MySQL-Update-File for 'Torrentflux-2.1-b4rt-5'.
  6. -- Updates a 'Torrentflux 2.1-b4rt-4' Database to a 'Torrentflux 2.1-b4rt-5'.
  7. --
  8. -- This Stuff is provided 'as-is'. In no way will the author be held
  9. -- liable for any damages to your soft- or hardware from this.
  10. -- -----------------------------------------------------------------------------
  11. --
  12. -- tf_cookies
  13. --
  14. ALTER TABLE tf_cookies CHANGE `cid` `cid` INT(5) NOT NULL AUTO_INCREMENT;
  15. --
  16. -- extra inserts + updates
  17. --
  18. UPDATE tf_settings SET tf_value = '1' WHERE tf_key = 'advanced_start';
  19. INSERT INTO tf_links VALUES (NULL,'http://www.torrentflux.com/forum/index.php/topic,1265.0.html');
  20. --
  21. INSERT INTO tf_settings VALUES ('enable_multiops','1');
  22. INSERT INTO tf_settings VALUES ('enable_basicauth','0');
  23. INSERT INTO tf_settings VALUES ('enable_rememberme','0');
  24. INSERT INTO tf_settings VALUES ('enable_wget','1');
  25. INSERT INTO tf_settings VALUES ('enable_dirstats','1');
  26. INSERT INTO tf_settings VALUES ('enable_multiupload','1');
  27. INSERT INTO tf_settings VALUES ('enable_xfer','1');
  28. INSERT INTO tf_settings VALUES ('enable_public_xfer','1');
  29. INSERT INTO tf_settings VALUES ('enable_sfvcheck','1');
  30. INSERT INTO tf_settings VALUES ('bin_grep','/bin/grep');
  31. INSERT INTO tf_settings VALUES ('bin_cat','/bin/cat');
  32. INSERT INTO tf_settings VALUES ('bin_netstat','/bin/netstat');
  33. INSERT INTO tf_settings VALUES ('bin_php','/usr/bin/php');
  34. INSERT INTO tf_settings VALUES ('bin_awk','/usr/bin/awk');
  35. INSERT INTO tf_settings VALUES ('bin_du','/usr/bin/du');
  36. INSERT INTO tf_settings VALUES ('bin_wget','/usr/bin/wget');
  37. INSERT INTO tf_settings VALUES ('bin_unrar','/usr/bin/unrar');
  38. INSERT INTO tf_settings VALUES ('bin_unzip','/usr/bin/unzip');
  39. INSERT INTO tf_settings VALUES ('bin_cksfv','/usr/bin/cksfv');