diff --git a/BaseRecord.php b/BaseRecord.php index f1f5527..310f980 100644 --- a/BaseRecord.php +++ b/BaseRecord.php @@ -29,7 +29,7 @@ abstract class BaseRecord { - public const VERSION = '0.5.3'; + public const VERSION = '0.5.4'; /** * Database por defecto usa default. @@ -52,13 +52,6 @@ abstract class BaseRecord */ protected static $pk = 'id'; - /** - * Metadata. - * - * @var Metadata\Metadata|null - */ - protected static $metadata; - /** * Constructor. * @@ -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()