Skip to content

Commit a69f282

Browse files
committed
fix record
1 parent c0cbf62 commit a69f282

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

packages/record/src/Models/Record.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class Record extends BaseRecordModel
1313

1414
protected $fillable = [
1515
'title',
16+
'description',
1617
'content',
1718
'status',
1819
'slug',
@@ -29,6 +30,7 @@ class Record extends BaseRecordModel
2930

3031
protected $casts = [
3132
'title' => 'string',
33+
'description' => 'string',
3234
'status' => RecordStatus::class,
3335
'slug' => 'string',
3436
'permalink' => 'string',

packages/record/src/Resources/RecordResource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public static function form(Schema $form): Schema
7171
slugRuleUniqueParameters: [
7272
'table' => 'records',
7373
'column' => 'slug',
74+
'ignoreRecord' => true,
7475
]
7576
),
7677
RichEditor::make('description')

0 commit comments

Comments
 (0)