Advertisement
Guest User

Cria Habbos Camera fix

a guest
Jul 14th, 2016
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. SET FOREIGN_KEY_CHECKS=0;
  2.  
  3.  
  4. DROP TABLE IF EXISTS `camera_photos`;
  5. CREATE TABLE `camera_photos` (
  6. `id` int(11) NOT NULL AUTO_INCREMENT,
  7. `creator_id` int(11) NOT NULL,
  8. `creator_name` varchar(50) NOT NULL,
  9. `file_state` enum('purchased','preview') NOT NULL DEFAULT 'preview',
  10. `file_name` varchar(50) NOT NULL,
  11. `reports` int(11) NOT NULL DEFAULT '0',
  12. `deleted` enum('1','0') NOT NULL DEFAULT '0',
  13. `ip_address` varchar(50) NOT NULL,
  14. `created_at` int(11) NOT NULL DEFAULT '0',
  15. PRIMARY KEY (`id`)
  16. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  17.  
  18.  
  19. ALTER TABLE moderation_tickets ADD extra_id INT NOT NULL DEFAULT 0;
  20. ALTER TABLE moderation_tickets ADD report_type INT NOT NULL DEFAULT 1;
  21.  
  22.  
  23. ALTER TABLE permissions_ranks ADD command_update_camera ENUM('0','1') NOT NULL DEFAULT '0'
  24.  
  25.  
  26. INSERT INTO `server_settings` VALUES ('camera.photo.publish.price.duckets', '100', 'The duckets-price of a web publish');
  27. INSERT INTO `server_settings` VALUES ('camera.photo.purchase.item_id', '777954880', 'The item id of the default photo poster');
  28. INSERT INTO `server_settings` VALUES ('camera.photo.purchase.price.coins', '100', 'The coins-price of a photo poster');
  29. INSERT INTO `server_settings` VALUES ('camera.photo.purchase.price.duckets', '100', 'The duckets-price of a photo poster');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement