2025-06-11 13:44:39 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
return [
|
2025-06-15 09:56:28 +00:00
|
|
|
|
2026-04-26 07:54:57 +00:00
|
|
|
/*
|
|
|
|
|
* Whether the package should auto-run its migrations.
|
|
|
|
|
*
|
|
|
|
|
* Default: true — fresh installs work plug-and-play (composer require +
|
|
|
|
|
* php artisan migrate). The package's own migrations live in vendor/ and
|
|
|
|
|
* are auto-loaded.
|
|
|
|
|
*
|
|
|
|
|
* Set to false if you have already published migrations to your project's
|
|
|
|
|
* database/migrations directory and want to manage the schema yourself.
|
|
|
|
|
* If you publish *and* leave this true, Laravel's migrator will see the
|
|
|
|
|
* same filenames in both locations and run each migration once — but
|
|
|
|
|
* that requires the published filename to match the source filename. If
|
|
|
|
|
* you've published with a different timestamp prefix, disable this flag
|
|
|
|
|
* to avoid re-runs.
|
|
|
|
|
*/
|
|
|
|
|
'run_migrations' => true,
|
|
|
|
|
|
2025-06-11 13:44:39 +00:00
|
|
|
'models' => [
|
2025-06-15 09:56:28 +00:00
|
|
|
'role' => \Blax\Roles\Models\Role::class,
|
2025-06-15 16:29:50 +00:00
|
|
|
'role_member' => \Blax\Roles\Models\RoleMember::class,
|
2025-06-15 09:56:28 +00:00
|
|
|
'permission' => \Blax\Roles\Models\Permission::class,
|
2025-06-15 16:29:50 +00:00
|
|
|
'permission_usage' => \Blax\Roles\Models\PermissionUsage::class,
|
2025-06-19 11:36:10 +00:00
|
|
|
'permission_member' => \Blax\Roles\Models\PermissionMember::class,
|
2026-02-23 10:16:27 +00:00
|
|
|
'access' => \Blax\Roles\Models\Access::class,
|
2025-06-11 13:44:39 +00:00
|
|
|
],
|
2025-06-15 09:56:28 +00:00
|
|
|
|
2025-06-11 13:44:39 +00:00
|
|
|
'table_names' => [
|
|
|
|
|
'permissions' => 'permissions',
|
2025-06-16 06:04:18 +00:00
|
|
|
'permission_usage' => 'permission_usages',
|
2025-06-19 13:08:49 +00:00
|
|
|
'permission_member' => 'permission_members',
|
2025-06-16 06:04:18 +00:00
|
|
|
'roles' => 'roles',
|
|
|
|
|
'role_member' => 'role_members',
|
|
|
|
|
'role_permission' => 'role_permissions',
|
2026-02-23 10:16:27 +00:00
|
|
|
'accesses' => 'accesses',
|
2025-06-11 13:44:39 +00:00
|
|
|
],
|
2025-06-15 09:56:28 +00:00
|
|
|
|
2025-06-11 13:44:39 +00:00
|
|
|
];
|