web sitesi yönetimi
This commit is contained in:
9
supabase_migration_youtube.sql
Normal file
9
supabase_migration_youtube.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
-- Rename social_facebook to social_youtube if it exists
|
||||
UPDATE site_contents
|
||||
SET key = 'social_youtube'
|
||||
WHERE key = 'social_facebook';
|
||||
|
||||
-- If social_facebook didn't exist, insert social_youtube (handling the case where it might already exist)
|
||||
INSERT INTO site_contents (key, value, type, section)
|
||||
VALUES ('social_youtube', '', 'text', 'contact')
|
||||
ON CONFLICT (key) DO NOTHING;
|
||||
Reference in New Issue
Block a user