feat(backend): bootstrap Go module, config, and data plane
Introduce configuration validation, Postgres migrations, Redis/storage adapters, and the seed sample video.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
-- Public/community settings defaults + sponsors (admin-editable)
|
||||
|
||||
INSERT INTO app_settings (key, value) VALUES
|
||||
('telegram_channel_username', ''),
|
||||
('telegram_channel_title', 'کانال پرگار'),
|
||||
('donation_enabled', 'true'),
|
||||
('donation_note', 'اگر مایلید از مسیر حمایت کنید، وارد شوید و در گفتگو با تیم هماهنگ کنید — جزئیات فقط خصوصی رد و بدل میشود.'),
|
||||
('sponsors', '[{"name":"نمونه اسپانسر","url":"https://example.com","blurb":"حامی یادگیری واقعی در پرگار"}]')
|
||||
ON CONFLICT (key) DO NOTHING;
|
||||
Reference in New Issue
Block a user