Replies: 2 comments 3 replies
-
The custom models can be registered in the application's class AppServiceProvider extends ServiceProvider
{
public function boot()
{
$this->app->concord->registerModel(Vanilo\Product\Contracts\Product::class, App\Models\Product::class);
$this->app->concord->registerModel(Vanilo\Order\Contracts\Order::class => App\Models\Order::class);
}
} https://vanilo.io/docs/4.x/models#using-custom-models Or do you mean a new feature to set a prefix globally on every table? |
Beta Was this translation helpful? Give feedback.
2 replies
-
I mean globally for every table, I think concord have solutions about this |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for great script, could you add database tables prefix on concord.php
I did simple solution and it works but it could be faster if you add prefix element on concord
Beta Was this translation helpful? Give feedback.
All reactions