=== DATABASE CONNECTION TEST ===
✓ Database connected successfully
PostgreSQL Version: PostgreSQL 18.4 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-14), 64-bit

=== TABLE STRUCTURE TEST ===
✓ Table 'prayer_requests' exists
Columns:
  - id: integer (nullable: NO)
  - user_name: character varying (nullable: NO)
  - country: character varying (nullable: NO)
  - request: text (nullable: NO)
  - request_type: character varying (nullable: YES)
  - user_ip: inet (nullable: YES)
  - created_at: timestamp without time zone (nullable: YES)

=== DATA CHECK TEST ===
Total records in prayer_requests: 7848

Last 5 records:
ID: 8292, Name: Ifeoma Perpetua, Country: Nigeria, Type: prayer, Length: 199, Date: 2026-07-29 10:02:20.642736, IP: 2c0f:f5c0:54e:2009:5bee:60a1:5d15:128c
ID: 8291, Name: Emmanuel Simon, Country: adamawa, Type: prayer, Length: 42, Date: 2026-07-29 06:29:17.202486, IP: 102.91.96.167
ID: 8290, Name: chimama, Country: Nigeria, Type: prayer, Length: 56, Date: 2026-07-29 06:09:17.50595, IP: 41.217.40.55
ID: 8289, Name: Rae, Country: png, Type: prayer, Length: 70, Date: 2026-07-29 05:27:20.696023, IP: 103.14.90.128
ID: 8288, Name: Rae, Country: Png, Type: prayer, Length: 31, Date: 2026-07-29 05:25:00.418399, IP: 103.14.90.128

=== SPECIFIC RECORD TEST (ID 79) ===
✓ Found record with ID 79:
  Name: Princess
  Country: Canada
  Request: Thanks God for the gift of life for today...
  Type: prayer
  Created: 2025-07-02 12:35:34.374302
  IP: 142.161.183.173

=== MANUAL INSERT TEST ===
✓ Manual insert successful, ID: 8293
✓ Test record cleaned up

=== TRANSACTION STATUS TEST ===
In transaction: NO

=== AUTOCOMMIT STATUS TEST ===
❌ Database error: SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute
Error code: IM001
