Renamed workers table to pool_worker

* This will fix issues with mining pools using the default name
* Back in line with default configurations for most mining pool software
* Fixes #93
This commit is contained in:
Sebastian Grewe 2013-06-03 10:59:12 +02:00
parent 3eb652402f
commit 96c9a4ae08
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ if (!defined('SECURITY'))
class Worker { class Worker {
private $sError = ''; private $sError = '';
private $table = 'workers'; private $table = 'pool_worker';
public function __construct($debug, $mysqli, $user, $share, $config) { public function __construct($debug, $mysqli, $user, $share, $config) {
$this->debug = $debug; $this->debug = $debug;

View File

@ -161,10 +161,10 @@ CREATE TABLE IF NOT EXISTS `transactions` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `workers` -- Table structure for table `pool_worker`
-- --
CREATE TABLE IF NOT EXISTS `workers` ( CREATE TABLE IF NOT EXISTS `pool_worker` (
`id` int(255) NOT NULL AUTO_INCREMENT, `id` int(255) NOT NULL AUTO_INCREMENT,
`account_id` int(255) NOT NULL, `account_id` int(255) NOT NULL,
`username` char(50) DEFAULT NULL, `username` char(50) DEFAULT NULL,