Skip to content

Commit 631ff91

Browse files
committed
Merge branch 'main' into pr/470
2 parents ed98b2b + fb97bdb commit 631ff91

File tree

4 files changed

+21
-2
lines changed

4 files changed

+21
-2
lines changed

app/Models/Star.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ class Star extends Model
1111
{
1212
use HasFactory;
1313

14-
protected $connection = 'mysql';
15-
1614
public function starrable(): MorphTo
1715
{
1816
return $this->morphTo();
@@ -22,4 +20,9 @@ public function user(): BelongsTo
2220
{
2321
return $this->belongsTo(User::class);
2422
}
23+
24+
public function getConnectionName()
25+
{
26+
return config('database.default');
27+
}
2528
}
587 KB
Loading
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Record Finder Pro
3+
slug: ralphjsmit-record-finder-pro
4+
author_slug: ralphjsmit
5+
categories: [action, form-builder, form-field, form-layout, developer-tool, kit, panel-builder]
6+
checkout_url: https://ralphjsmit.com/filament-plugins/filament-record-finder-pro/configure?referer=filament
7+
price: €59.00
8+
description: Replace your `Select`'s with beautiful Record Finders to make searching easier. Works everywhere out-of-the-box & integrates with resources.
9+
discord_url: https://discord.com/channels/883083792112300104/1261035720429277317
10+
docs_url: https://ralphjsmit.com/content/products/filament-record-finder-pro.md
11+
github_repository: ralphjsmit/laravel-filament-record-finder
12+
has_dark_theme: true
13+
has_translations: true
14+
versions: [3]
15+
publish_date: 2024-07-11
16+
---
106 KB
Loading

0 commit comments

Comments
 (0)