Chainquery integration #49

Merged
marcdeb1 merged 44 commits from chainquery into master 2019-02-13 19:01:13 +01:00
9 changed files with 17 additions and 18 deletions
Showing only changes of commit fd8a6953f3 - Show all commits

View file

@ -8,8 +8,8 @@ class AddressesTable extends Table {
public function initialize(array $config) {
parent::initialize($config);
$this->primaryKey('id');
$this->table('address');
$this->setPrimaryKey('id');
$this->setTable('address');
$this->addBehavior('SimpleAudit');
}

View file

@ -8,8 +8,8 @@ class BlocksTable extends Table {
public function initialize(array $config) {
parent::initialize($config);
$this->primaryKey('id');
$this->table('block');
$this->setPrimaryKey('id');
$this->setTable('block');
$this->addBehavior('SimpleAudit');
}

View file

@ -8,8 +8,8 @@ class ClaimsTable extends Table {
public function initialize(array $config) {
parent::initialize($config);
$this->primaryKey('id');
$this->table('claim');
$this->setPrimaryKey('id');
$this->setTable('claim');
//$this->addBehavior('SimpleAudit');
$this->addAssociations([

View file

@ -8,8 +8,8 @@ class InputsTable extends Table {
public function initialize(array $config) {
parent::initialize($config);
$this->primaryKey('id');
$this->table('input');
$this->setPrimaryKey('id');
$this->setTable('input');
$this->addBehavior('SimpleAudit');

View file

@ -8,8 +8,8 @@ class OutputsTable extends Table {
public function initialize(array $config) {
parent::initialize($config);
$this->primaryKey('id');
$this->table('output');
$this->setPrimaryKey('id');
$this->setTable('output');
$this->addBehavior('SimpleAudit');

View file

@ -8,8 +8,8 @@ class PriceHistoryTable extends Table {
public function initialize(array $config) {
parent::initialize($config);
$this->primaryKey('Id');
$this->table('PriceHistory');
$this->setPrimaryKey('Id');
$this->setTable('PriceHistory');
}
}

View file

@ -8,8 +8,8 @@ class TagAddressRequestsTable extends Table {
public function initialize(array $config) {
parent::initialize($config);
$this->primaryKey('Id');
$this->table('TagAddressRequests');
$this->setPrimaryKey('Id');
$this->setTable('TagAddressRequests');
$this->addBehavior('SimpleAudit');
}

View file

@ -8,8 +8,7 @@ class TransactionAddressesTable extends Table {
public function initialize(array $config) {
parent::initialize($config);
$this->table('transaction_address');
$this->setTable('transaction_address');
$this->addBehavior('SimpleAudit');
}
}

View file

@ -8,8 +8,8 @@ class TransactionsTable extends Table {
public function initialize(array $config) {
parent::initialize($config);
$this->primaryKey('id');
$this->table('transaction');
$this->setPrimaryKey('id');
$this->setTable('transaction');
$this->addBehavior('SimpleAudit');
}