-- =========================================
-- Notifications
-- =========================================
DROP TABLE IF EXISTS notifications;


-- =========================================
-- Issue Reporting
-- =========================================
DROP TABLE IF EXISTS reported_issues;

-- =========================================
-- Assessments
-- =========================================
DROP TABLE IF EXISTS assessment_submissions;
DROP TABLE IF EXISTS assessments;

-- =========================================
-- Progress & Enrollment
-- =========================================
DROP TABLE IF EXISTS lesson_progress;
DROP TABLE IF EXISTS enrollments;

-- =========================================
-- Course Content Structure
-- =========================================
DROP TABLE IF EXISTS lessons;
DROP TABLE IF EXISTS course_modules;
DROP TABLE IF EXISTS courses;

-- =========================================
-- Organization Settings
-- =========================================
DROP TABLE IF EXISTS organization_settings;
DROP TABLE IF EXISTS global_settings;

-- =========================================
-- Organizations (Tenants)
-- =========================================
DROP TABLE IF EXISTS organizations;

-- =========================================
-- Authentication & Security
-- =========================================
DROP TABLE IF EXISTS refresh_tokens;
DROP TABLE IF EXISTS otps;

-- =========================================
-- Users
-- =========================================
DROP TABLE IF EXISTS users;
