Update New Features

This commit is contained in:
Koncept Kit
2025-12-10 17:52:32 +07:00
parent 005c56b43d
commit f051976881
20 changed files with 2776 additions and 57 deletions

View File

@@ -0,0 +1,54 @@
-- Verification script to check which columns exist
-- Run this to see what's missing
-- Check users table columns
SELECT
'users' as table_name,
column_name,
data_type,
is_nullable
FROM information_schema.columns
WHERE table_name = 'users'
AND column_name IN (
'profile_photo_url',
'social_media_facebook',
'social_media_instagram',
'social_media_twitter',
'social_media_linkedin'
)
ORDER BY column_name;
-- Check events table columns
SELECT
'events' as table_name,
column_name,
data_type,
is_nullable
FROM information_schema.columns
WHERE table_name = 'events'
AND column_name IN (
'microsoft_calendar_id',
'microsoft_calendar_sync_enabled'
)
ORDER BY column_name;
-- Check which tables exist
SELECT
table_name,
'EXISTS' as status
FROM information_schema.tables
WHERE table_name IN (
'event_galleries',
'newsletter_archives',
'financial_reports',
'bylaws_documents',
'storage_usage'
)
ORDER BY table_name;
-- Check storage_usage contents
SELECT
COUNT(*) as record_count,
SUM(total_bytes_used) as total_bytes,
MAX(max_bytes_allowed) as max_bytes
FROM storage_usage;