Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
no more publicValue
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy-j committed Feb 7, 2017
1 parent 22b564a commit 4ba08fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion source/Spiral/ORM/AbstractRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ abstract class AbstractRecord extends SchematicEntity
*/
const SH_PRIMARY_KEY = 0;
const SH_DEFAULTS = 1;
const SH_RELATIONS = 6;
const SH_RELATIONS = 5;

/**
* Record behaviour definition.
Expand Down
1 change: 0 additions & 1 deletion source/Spiral/ORM/Schemas/RecordSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ public function packSchema(SchemaBuilder $builder, AbstractTable $table): array
RecordEntity::SH_DEFAULTS => $this->packDefaults($table),

//Entity behaviour
RecordEntity::SH_HIDDEN => $this->reflection->getHidden(),
RecordEntity::SH_SECURED => $this->reflection->getSecured(),
RecordEntity::SH_FILLABLE => $this->reflection->getFillable(),

Expand Down

0 comments on commit 4ba08fd

Please sign in to comment.