Database Initialization
Set up your database tables and seed initial data

This will:

  1. Create all necessary database tables if they don't exist
  2. Seed the database with initial users, products, and clients

Warning: This is meant to be run only once when setting up your application.

Alternative Setup Method

If you're having trouble with the automatic setup, you can manually run the SQL script in the Supabase SQL Editor:

  1. Go to your Supabase project
  2. Navigate to the SQL Editor
  3. Copy and paste the SQL script from the database-setup.sql file
  4. Run the script

After setting up the database, you can return to the login page.