Skip to content

Commit

Permalink
Merge pull request #106 from KumbiaPHP/dev
Browse files Browse the repository at this point in the history
v0.5.4
  • Loading branch information
joanhey authored May 29, 2021
2 parents dc59edd + 6083fd9 commit fee3046
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions BaseRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
abstract class BaseRecord
{

public const VERSION = '0.5.3';
public const VERSION = '0.5.4';

/**
* Database por defecto usa default.
Expand All @@ -52,13 +52,6 @@ abstract class BaseRecord
*/
protected static $pk = 'id';

/**
* Metadata.
*
* @var Metadata\Metadata|null
*/
protected static $metadata;

/**
* Constructor.
*
Expand Down Expand Up @@ -190,8 +183,7 @@ public static function getDatabase(): string
*/
public static function metadata(): Metadata\Metadata
{
return static::$metadata ??
static::$metadata = Metadata\Metadata::get(
return Metadata\Metadata::get(
static::getDatabase(),
static::getTable(),
static::getSchema()
Expand Down

0 comments on commit fee3046

Please sign in to comment.