Sindbad~EG File Manager

Current Path : /home/copmadinaarea/thecopmadinaarea.org/conference/database/
Upload File :
Current File : /home/copmadinaarea/thecopmadinaarea.org/conference/database/settings_table.sql

-- Create settings table for system configuration
CREATE TABLE IF NOT EXISTS `settings` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `setting_key` varchar(100) NOT NULL UNIQUE,
    `setting_value` text,
    `created_at` timestamp DEFAULT CURRENT_TIMESTAMP,
    `updated_at` timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
    PRIMARY KEY (`id`),
    UNIQUE KEY `unique_setting_key` (`setting_key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Insert default system settings
INSERT INTO `settings` (`setting_key`, `setting_value`) VALUES
('site_name', 'COP Madina Conference Platform'),
('site_description', 'Conference and Event Management Platform for The Church of Pentecost - Madina Area'),
('contact_email', 'info@copmadinaconf.org'),
('contact_phone', '+233 24 123 4567'),
('timezone', 'Africa/Accra'),
('currency', 'GHS'),
('email_notifications', '1'),
('sms_notifications', '0'),
('auto_approve_registrations', '1'),
('maintenance_mode', '0'),
('maintenance_message', 'The system is currently under maintenance. Please check back later.'),
('max_file_size', '5'),
('allowed_file_types', 'jpg,jpeg,png,pdf,doc,docx')
ON DUPLICATE KEY UPDATE 
    `setting_value` = VALUES(`setting_value`),
    `updated_at` = CURRENT_TIMESTAMP;

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists