9 lines
256 B
SQL
9 lines
256 B
SQL
|
|
-- 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';
|