Skip to content

Commit cbd82d6

Browse files
committed
Update TermsOfUseVersion Model
1 parent 4458266 commit cbd82d6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

app/TermsOfUseVersion.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
class TermsOfUseVersion extends Model {
1414
use HasFactory;
1515

16+
protected $primaryKey = 'version';
17+
18+
protected $keyType = 'string';
19+
20+
public $incrementing = false;
21+
1622
protected $table = 'tou_versions';
1723

1824
const FIELDS = [

0 commit comments

Comments
 (0)