Skip to content

Commit

Permalink
Index only applies to classes
Browse files Browse the repository at this point in the history
  • Loading branch information
olvlvl committed Nov 18, 2024
1 parent 5ef07b5 commit d5fb634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ActiveRecord/Schema/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* An index on one or multiple columns.
*/
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]
final readonly class Index implements SchemaAttribute
{
/**
Expand Down

0 comments on commit d5fb634

Please sign in to comment.