Site Yönetimi,Kullanıcı Girişi,Karanlık mod özellikleri db bağlantıları.
This commit is contained in:
8
make_admin.sql
Normal file
8
make_admin.sql
Normal 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';
|
||||
Reference in New Issue
Block a user