-- seed.sql - Initial provider data for cloud-instances-db
-- Purpose: Insert default provider records for Linode, Vultr, and AWS

-- Insert initial provider data
-- Using INSERT OR IGNORE to prevent duplicates on repeated seeding
INSERT OR IGNORE INTO providers (name, display_name, api_base_url, sync_status)
VALUES
  ('linode', 'Linode', 'https://api.linode.com/v4', 'pending'),
  ('vultr', 'Vultr', 'https://api.vultr.com/v2', 'pending'),
  ('aws', 'Amazon Web Services', 'https://ec2.shop', 'pending');

-- Verify insertion
SELECT
  id,
  name,
  display_name,
  sync_status,
  created_at
FROM providers;
