[2026-07-01 17:14:03] dev.ERROR: ERRO NA MIGRAÇÃO SEARCH_INDEXES: SQLSTATE[42883]: Undefined function: 7 ERROR:  function gen_random_uuid() does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts. (SQL: create table "cms_links_index" ("id" uuid not null default gen_random_uuid(), "label" varchar(191) not null, "module" varchar(191) not null, "edit_url" varchar(191) not null, "searchable_text" text null, "metadata" jsonb null, "created_at" timestamp(0) with time zone null, "updated_at" timestamp(0) with time zone null))  
[2026-07-01 17:14:03] dev.ERROR: SQLSTATE[42883]: Undefined function: 7 ERROR:  function gen_random_uuid() does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts. (SQL: create table "cms_links_index" ("id" uuid not null default gen_random_uuid(), "label" varchar(191) not null, "module" varchar(191) not null, "edit_url" varchar(191) not null, "searchable_text" text null, "metadata" jsonb null, "created_at" timestamp(0) with time zone null, "updated_at" timestamp(0) with time zone null)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 42883): SQLSTATE[42883]: Undefined function: 7 ERROR:  function gen_random_uuid() does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts. (SQL: create table \"cms_links_index\" (\"id\" uuid not null default gen_random_uuid(), \"label\" varchar(191) not null, \"module\" varchar(191) not null, \"edit_url\" varchar(191) not null, \"searchable_text\" text null, \"metadata\" jsonb null, \"created_at\" timestamp(0) with time zone null, \"updated_at\" timestamp(0) with time zone null)) at /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664, Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 42883): SQLSTATE[42883]: Undefined function: 7 ERROR:  function gen_random_uuid() does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts. at /home/devmaxima/homologacao/sucesu-cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 42883): SQLSTATE[42883]: Undefined function: 7 ERROR:  function gen_random_uuid() does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts. at /home/devmaxima/homologacao/sucesu-cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117)
[stacktrace]
#0 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Connection.php(624): Illuminate\\Database\\Connection->runQueryCallback('create table \"c...', Array, Object(Closure))
#1 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Connection.php(459): Illuminate\\Database\\Connection->run('create table \"c...', Array, Object(Closure))
#2 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(86): Illuminate\\Database\\Connection->statement('create table \"c...')
#3 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(252): Illuminate\\Database\\Schema\\Blueprint->build(Object(Phaza\\LaravelPostgis\\PostgisConnection), Object(Phaza\\LaravelPostgis\\Schema\\Grammars\\PostgisGrammar))
#4 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(165): Illuminate\\Database\\Schema\\Builder->build(Object(Phaza\\LaravelPostgis\\Schema\\Blueprint))
#5 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(221): Illuminate\\Database\\Schema\\Builder->create('cms_links_index', Object(Closure))
#6 /home/devmaxima/homologacao/sucesu-cms/app/V2/Services/Search/Migrations/2026_06_14_000000_create_search_indexes_tables.php(50): Illuminate\\Support\\Facades\\Facade::__callStatic('create', Array)
#7 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(359): CreateSearchIndexesTables->up()
#8 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php(29): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}(Object(Phaza\\LaravelPostgis\\PostgisConnection))
#9 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(365): Illuminate\\Database\\Connection->transaction(Object(Closure))
#10 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(177): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(CreateSearchIndexesTables), 'up')
#11 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(146): Illuminate\\Database\\Migrations\\Migrator->runUp('/home/devmaxima...', 1, false)
#12 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(95): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array)
#13 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(69): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array)
#14 [internal function]: Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle()
#15 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)
#16 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#17 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#18 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#19 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\\Container\\Container->call(Array)
#20 /home/devmaxima/homologacao/sucesu-cms/vendor/symfony/console/Command/Command.php(255): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#21 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#22 /home/devmaxima/homologacao/sucesu-cms/vendor/symfony/console/Application.php(992): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#23 /home/devmaxima/homologacao/sucesu-cms/vendor/symfony/console/Application.php(255): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#24 /home/devmaxima/homologacao/sucesu-cms/vendor/symfony/console/Application.php(148): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#25 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#26 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Illuminate\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#27 /home/devmaxima/homologacao/sucesu-cms/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#28 {main}
"} 
[2026-07-01 17:15:50] prod.ERROR: ERRO NA MIGRAÇÃO SEARCH_INDEXES: SQLSTATE[42883]: Undefined function: 7 ERROR:  function gen_random_uuid() does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts. (SQL: create table "cms_links_index" ("id" uuid not null default gen_random_uuid(), "label" varchar(191) not null, "module" varchar(191) not null, "edit_url" varchar(191) not null, "searchable_text" text null, "metadata" jsonb null, "created_at" timestamp(0) with time zone null, "updated_at" timestamp(0) with time zone null))  
[2026-07-01 17:15:50] prod.ERROR: SQLSTATE[42883]: Undefined function: 7 ERROR:  function gen_random_uuid() does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts. (SQL: create table "cms_links_index" ("id" uuid not null default gen_random_uuid(), "label" varchar(191) not null, "module" varchar(191) not null, "edit_url" varchar(191) not null, "searchable_text" text null, "metadata" jsonb null, "created_at" timestamp(0) with time zone null, "updated_at" timestamp(0) with time zone null)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 42883): SQLSTATE[42883]: Undefined function: 7 ERROR:  function gen_random_uuid() does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts. (SQL: create table \"cms_links_index\" (\"id\" uuid not null default gen_random_uuid(), \"label\" varchar(191) not null, \"module\" varchar(191) not null, \"edit_url\" varchar(191) not null, \"searchable_text\" text null, \"metadata\" jsonb null, \"created_at\" timestamp(0) with time zone null, \"updated_at\" timestamp(0) with time zone null)) at /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664, Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 42883): SQLSTATE[42883]: Undefined function: 7 ERROR:  function gen_random_uuid() does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts. at /home/devmaxima/homologacao/sucesu-cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 42883): SQLSTATE[42883]: Undefined function: 7 ERROR:  function gen_random_uuid() does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts. at /home/devmaxima/homologacao/sucesu-cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117)
[stacktrace]
#0 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Connection.php(624): Illuminate\\Database\\Connection->runQueryCallback('create table \"c...', Array, Object(Closure))
#1 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Connection.php(459): Illuminate\\Database\\Connection->run('create table \"c...', Array, Object(Closure))
#2 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(86): Illuminate\\Database\\Connection->statement('create table \"c...')
#3 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(252): Illuminate\\Database\\Schema\\Blueprint->build(Object(Phaza\\LaravelPostgis\\PostgisConnection), Object(Phaza\\LaravelPostgis\\Schema\\Grammars\\PostgisGrammar))
#4 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(165): Illuminate\\Database\\Schema\\Builder->build(Object(Phaza\\LaravelPostgis\\Schema\\Blueprint))
#5 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(221): Illuminate\\Database\\Schema\\Builder->create('cms_links_index', Object(Closure))
#6 /home/devmaxima/homologacao/sucesu-cms/app/V2/Services/Search/Migrations/2026_06_14_000000_create_search_indexes_tables.php(50): Illuminate\\Support\\Facades\\Facade::__callStatic('create', Array)
#7 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(359): CreateSearchIndexesTables->up()
#8 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php(29): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}(Object(Phaza\\LaravelPostgis\\PostgisConnection))
#9 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(365): Illuminate\\Database\\Connection->transaction(Object(Closure))
#10 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(177): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(CreateSearchIndexesTables), 'up')
#11 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(146): Illuminate\\Database\\Migrations\\Migrator->runUp('/home/devmaxima...', 2, false)
#12 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(95): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array)
#13 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(69): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array)
#14 [internal function]: Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle()
#15 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)
#16 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#17 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#18 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#19 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\\Container\\Container->call(Array)
#20 /home/devmaxima/homologacao/sucesu-cms/vendor/symfony/console/Command/Command.php(255): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#21 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#22 /home/devmaxima/homologacao/sucesu-cms/vendor/symfony/console/Application.php(992): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#23 /home/devmaxima/homologacao/sucesu-cms/vendor/symfony/console/Application.php(255): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#24 /home/devmaxima/homologacao/sucesu-cms/vendor/symfony/console/Application.php(148): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#25 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#26 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Illuminate\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#27 /home/devmaxima/homologacao/sucesu-cms/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#28 {main}
"} 
[2026-07-01 17:17:03] prod.ERROR: Database [psql] not configured. {"exception":"[object] (InvalidArgumentException(code: 0): Database [psql] not configured. at /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:140)
[stacktrace]
#0 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(103): Illuminate\\Database\\DatabaseManager->configuration('psql')
#1 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(74): Illuminate\\Database\\DatabaseManager->makeConnection('psql')
#2 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Support/Facades/Schema.php(33): Illuminate\\Database\\DatabaseManager->connection()
#3 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(128): Illuminate\\Support\\Facades\\Schema::getFacadeAccessor()
#4 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(215): Illuminate\\Support\\Facades\\Facade::getFacadeRoot()
#5 /home/devmaxima/homologacao/sucesu-cms/app/Providers/AppServiceProvider.php(25): Illuminate\\Support\\Facades\\Facade::__callStatic('defaultStringLe...', Array)
#6 [internal function]: App\\Providers\\AppServiceProvider->boot()
#7 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)
#8 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#9 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#10 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#11 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(792): Illuminate\\Container\\Container->call(Array)
#12 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(775): Illuminate\\Foundation\\Application->bootProvider(Object(App\\Providers\\AppServiceProvider))
#13 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}(Object(App\\Providers\\AppServiceProvider), 38)
#14 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(776): array_walk(Array, Object(Closure))
#15 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()
#16 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(213): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap(Object(Illuminate\\Foundation\\Application))
#17 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(296): Illuminate\\Foundation\\Application->bootstrapWith(Array)
#18 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(119): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#19 /home/devmaxima/homologacao/sucesu-cms/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#20 {main}
"} 
[2026-07-01 17:19:04] prod.ERROR: ERRO NA MIGRAÇÃO SEARCH_INDEXES: SQLSTATE[42883]: Undefined function: 7 ERROR:  function gen_random_uuid() does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts. (SQL: create table "cms_links_index" ("id" uuid not null default gen_random_uuid(), "label" varchar(191) not null, "module" varchar(191) not null, "edit_url" varchar(191) not null, "searchable_text" text null, "metadata" jsonb null, "created_at" timestamp(0) with time zone null, "updated_at" timestamp(0) with time zone null))  
[2026-07-01 17:19:04] prod.ERROR: SQLSTATE[42883]: Undefined function: 7 ERROR:  function gen_random_uuid() does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts. (SQL: create table "cms_links_index" ("id" uuid not null default gen_random_uuid(), "label" varchar(191) not null, "module" varchar(191) not null, "edit_url" varchar(191) not null, "searchable_text" text null, "metadata" jsonb null, "created_at" timestamp(0) with time zone null, "updated_at" timestamp(0) with time zone null)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 42883): SQLSTATE[42883]: Undefined function: 7 ERROR:  function gen_random_uuid() does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts. (SQL: create table \"cms_links_index\" (\"id\" uuid not null default gen_random_uuid(), \"label\" varchar(191) not null, \"module\" varchar(191) not null, \"edit_url\" varchar(191) not null, \"searchable_text\" text null, \"metadata\" jsonb null, \"created_at\" timestamp(0) with time zone null, \"updated_at\" timestamp(0) with time zone null)) at /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664, Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 42883): SQLSTATE[42883]: Undefined function: 7 ERROR:  function gen_random_uuid() does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts. at /home/devmaxima/homologacao/sucesu-cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 42883): SQLSTATE[42883]: Undefined function: 7 ERROR:  function gen_random_uuid() does not exist
HINT:  No function matches the given name and argument types. You might need to add explicit type casts. at /home/devmaxima/homologacao/sucesu-cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117)
[stacktrace]
#0 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Connection.php(624): Illuminate\\Database\\Connection->runQueryCallback('create table \"c...', Array, Object(Closure))
#1 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Connection.php(459): Illuminate\\Database\\Connection->run('create table \"c...', Array, Object(Closure))
#2 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(86): Illuminate\\Database\\Connection->statement('create table \"c...')
#3 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(252): Illuminate\\Database\\Schema\\Blueprint->build(Object(Phaza\\LaravelPostgis\\PostgisConnection), Object(Phaza\\LaravelPostgis\\Schema\\Grammars\\PostgisGrammar))
#4 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(165): Illuminate\\Database\\Schema\\Builder->build(Object(Phaza\\LaravelPostgis\\Schema\\Blueprint))
#5 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(221): Illuminate\\Database\\Schema\\Builder->create('cms_links_index', Object(Closure))
#6 /home/devmaxima/homologacao/sucesu-cms/app/V2/Services/Search/Migrations/2026_06_14_000000_create_search_indexes_tables.php(50): Illuminate\\Support\\Facades\\Facade::__callStatic('create', Array)
#7 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(359): CreateSearchIndexesTables->up()
#8 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php(29): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}(Object(Phaza\\LaravelPostgis\\PostgisConnection))
#9 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(365): Illuminate\\Database\\Connection->transaction(Object(Closure))
#10 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(177): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(CreateSearchIndexesTables), 'up')
#11 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(146): Illuminate\\Database\\Migrations\\Migrator->runUp('/home/devmaxima...', 2, false)
#12 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(95): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array)
#13 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(69): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array)
#14 [internal function]: Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle()
#15 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array)
#16 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#17 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#18 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#19 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\\Container\\Container->call(Array)
#20 /home/devmaxima/homologacao/sucesu-cms/vendor/symfony/console/Command/Command.php(255): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#21 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#22 /home/devmaxima/homologacao/sucesu-cms/vendor/symfony/console/Application.php(992): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#23 /home/devmaxima/homologacao/sucesu-cms/vendor/symfony/console/Application.php(255): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#24 /home/devmaxima/homologacao/sucesu-cms/vendor/symfony/console/Application.php(148): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#25 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#26 /home/devmaxima/homologacao/sucesu-cms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Illuminate\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#27 /home/devmaxima/homologacao/sucesu-cms/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#28 {main}
"} 
