Merge pull request #94 from TheSerapher/rename-worker-table

Renamed workers table to pool_worker
This commit is contained in:
Sebastian Grewe 2013-06-03 02:01:39 -07:00
commit 18109685e7
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ if (!defined('SECURITY'))
class Worker {
private $sError = '';
private $table = 'workers';
private $table = 'pool_worker';
public function __construct($debug, $mysqli, $user, $share, $config) {
$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,
`account_id` int(255) NOT NULL,
`username` char(50) DEFAULT NULL,