Site Yönetimi,Kullanıcı Girişi,Karanlık mod özellikleri db bağlantıları.

This commit is contained in:
2026-01-08 23:56:28 +03:00
parent 6e02336827
commit ddf28e1892
40 changed files with 2545 additions and 96 deletions

8
make_admin.sql Normal file
View File

@@ -0,0 +1,8 @@
-- Insert profile for the existing user and make them admin
insert into public.profiles (id, role, full_name)
select id, 'admin', 'Sistem Yöneticisi'
from auth.users
where email = 'kenankaraerr@hotmail.com'
on conflict (id) do update
set role = 'admin';