🔗 How to get your PostgreSQL connection string:

  1. Go to your Supabase project → Settings → Database
  2. Scroll down to "Connection parameters" or "Connection pooling"
  3. Copy the "Connection string" (URI format)
  4. Make sure to use the direct connection (not pooled) for schema operations

📝 Example format:

postgresql://postgres.abcdefgh:[YOUR-PASSWORD]@aws-0-us-east-1.pooler.supabase.com:5432/postgres

🔒 Security: This connection string will be encrypted and stored securely in your WordPress database.

⚡ WP-CLI Schema Installation

Once configured, you can install/update your schema with one command:

wp aivs install-schema

Available WP-CLI commands:

💡 WP-CLI provides a reliable, professional way to manage database schema installations.