Deprecation warnings
This commit is contained in:
parent
70069a29ec
commit
fd8a6953f3
9 changed files with 17 additions and 18 deletions
|
@ -8,8 +8,8 @@ class AddressesTable extends Table {
|
||||||
public function initialize(array $config) {
|
public function initialize(array $config) {
|
||||||
parent::initialize($config);
|
parent::initialize($config);
|
||||||
|
|
||||||
$this->primaryKey('id');
|
$this->setPrimaryKey('id');
|
||||||
$this->table('address');
|
$this->setTable('address');
|
||||||
|
|
||||||
$this->addBehavior('SimpleAudit');
|
$this->addBehavior('SimpleAudit');
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,8 +8,8 @@ class BlocksTable extends Table {
|
||||||
public function initialize(array $config) {
|
public function initialize(array $config) {
|
||||||
parent::initialize($config);
|
parent::initialize($config);
|
||||||
|
|
||||||
$this->primaryKey('id');
|
$this->setPrimaryKey('id');
|
||||||
$this->table('block');
|
$this->setTable('block');
|
||||||
|
|
||||||
$this->addBehavior('SimpleAudit');
|
$this->addBehavior('SimpleAudit');
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,8 +8,8 @@ class ClaimsTable extends Table {
|
||||||
public function initialize(array $config) {
|
public function initialize(array $config) {
|
||||||
parent::initialize($config);
|
parent::initialize($config);
|
||||||
|
|
||||||
$this->primaryKey('id');
|
$this->setPrimaryKey('id');
|
||||||
$this->table('claim');
|
$this->setTable('claim');
|
||||||
|
|
||||||
//$this->addBehavior('SimpleAudit');
|
//$this->addBehavior('SimpleAudit');
|
||||||
$this->addAssociations([
|
$this->addAssociations([
|
||||||
|
|
|
@ -8,8 +8,8 @@ class InputsTable extends Table {
|
||||||
public function initialize(array $config) {
|
public function initialize(array $config) {
|
||||||
parent::initialize($config);
|
parent::initialize($config);
|
||||||
|
|
||||||
$this->primaryKey('id');
|
$this->setPrimaryKey('id');
|
||||||
$this->table('input');
|
$this->setTable('input');
|
||||||
|
|
||||||
$this->addBehavior('SimpleAudit');
|
$this->addBehavior('SimpleAudit');
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@ class OutputsTable extends Table {
|
||||||
public function initialize(array $config) {
|
public function initialize(array $config) {
|
||||||
parent::initialize($config);
|
parent::initialize($config);
|
||||||
|
|
||||||
$this->primaryKey('id');
|
$this->setPrimaryKey('id');
|
||||||
$this->table('output');
|
$this->setTable('output');
|
||||||
|
|
||||||
$this->addBehavior('SimpleAudit');
|
$this->addBehavior('SimpleAudit');
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@ class PriceHistoryTable extends Table {
|
||||||
public function initialize(array $config) {
|
public function initialize(array $config) {
|
||||||
parent::initialize($config);
|
parent::initialize($config);
|
||||||
|
|
||||||
$this->primaryKey('Id');
|
$this->setPrimaryKey('Id');
|
||||||
$this->table('PriceHistory');
|
$this->setTable('PriceHistory');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@ class TagAddressRequestsTable extends Table {
|
||||||
public function initialize(array $config) {
|
public function initialize(array $config) {
|
||||||
parent::initialize($config);
|
parent::initialize($config);
|
||||||
|
|
||||||
$this->primaryKey('Id');
|
$this->setPrimaryKey('Id');
|
||||||
$this->table('TagAddressRequests');
|
$this->setTable('TagAddressRequests');
|
||||||
|
|
||||||
$this->addBehavior('SimpleAudit');
|
$this->addBehavior('SimpleAudit');
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,8 +8,7 @@ class TransactionAddressesTable extends Table {
|
||||||
public function initialize(array $config) {
|
public function initialize(array $config) {
|
||||||
parent::initialize($config);
|
parent::initialize($config);
|
||||||
|
|
||||||
$this->table('transaction_address');
|
$this->setTable('transaction_address');
|
||||||
|
|
||||||
$this->addBehavior('SimpleAudit');
|
$this->addBehavior('SimpleAudit');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,8 +8,8 @@ class TransactionsTable extends Table {
|
||||||
public function initialize(array $config) {
|
public function initialize(array $config) {
|
||||||
parent::initialize($config);
|
parent::initialize($config);
|
||||||
|
|
||||||
$this->primaryKey('id');
|
$this->setPrimaryKey('id');
|
||||||
$this->table('transaction');
|
$this->setTable('transaction');
|
||||||
|
|
||||||
$this->addBehavior('SimpleAudit');
|
$this->addBehavior('SimpleAudit');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue