sqlite_update_tf-b4rt-8.to.tf-b4rt-81.sql 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. -- -----------------------------------------------------------------------------
  2. -- $Id: sqlite_update_tf-b4rt-8.to.tf-b4rt-81.sql 2607 2007-03-09 19:33:07Z b4rt $
  3. -- -----------------------------------------------------------------------------
  4. --
  5. -- SQLite-Update-File for 'Torrentflux-2.1-b4rt-81'.
  6. -- Updates a 'Torrentflux 2.1-b4rt-81' Database to a 'Torrentflux 2.1-b4rt-81'.
  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. -- begin transaction
  13. --
  14. BEGIN TRANSACTION;
  15. --
  16. -- tf_settings_user
  17. --
  18. CREATE TABLE tf_settings_user (
  19. uid INTEGER NOT NULL,
  20. tf_key VARCHAR(255) NOT NULL default '',
  21. tf_value TEXT NOT NULL
  22. ) ;
  23. --
  24. -- inserts
  25. --
  26. INSERT INTO tf_settings VALUES ('enable_bigboldwarning','1');
  27. INSERT INTO tf_settings VALUES ('enable_goodlookstats','1');
  28. INSERT INTO tf_settings VALUES ('ui_displaylinks','1');
  29. INSERT INTO tf_settings VALUES ('ui_displayusers','1');
  30. INSERT INTO tf_settings VALUES ('xfer_total','0');
  31. INSERT INTO tf_settings VALUES ('xfer_month','0');
  32. INSERT INTO tf_settings VALUES ('xfer_week','0');
  33. INSERT INTO tf_settings VALUES ('xfer_day','0');
  34. --
  35. -- commit
  36. --
  37. COMMIT;