1
0
forked from poc/pds

After change datatype from citext to text

This commit is contained in:
dhanabalan
2025-03-25 15:02:25 +05:30
parent 8612cc08b1
commit 70a42a6651
20 changed files with 234 additions and 87 deletions

View File

@@ -4,6 +4,7 @@ namespace App\Providers;
use Illuminate\Support\Facades\Gate;
use Illuminate\Support\ServiceProvider;
// use Doctrine\DBAL\Types\Type;
class AppServiceProvider extends ServiceProvider
{
@@ -23,5 +24,9 @@ class AppServiceProvider extends ServiceProvider
Gate::before(function ($user, $ability) {
return $user->hasRole('Super Admin') ? true : null;
});
// if (!Type::hasType('citext')) {
// Type::addType('citext', \Doctrine\DBAL\Platforms\PostgreSqlPlatform::class);
// }
}
}