fix: add DROP statements to supabase-setup.sql for clean reinstalls

TODO: Configure OAuth providers in Supabase dashboard:
- Google: Add Client ID and Secret from Google Cloud Console
- GitHub: Add Client ID and Secret from GitHub Developer Settings
- Set redirect URLs in Authentication → URL Configuration
This commit is contained in:
2026-01-16 14:06:14 +01:00
parent d2fbe0e085
commit a7e765cb80

View File

@@ -1,6 +1,11 @@
-- CODE CRISPIES - Supabase Database Setup
-- Run this in Supabase Dashboard → SQL Editor → New Query
-- Drop existing objects first
DROP FUNCTION IF EXISTS delete_own_account();
DROP TABLE IF EXISTS user_progress;
DROP TABLE IF EXISTS newsletter_subscribers;
-- User progress table
CREATE TABLE user_progress (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),