Refactored several Supabase client functions and updated them to use generics. Also, the '@kit/supabase-config' package was removed from the project and all references were replaced accordingly. The project's dependencies were updated as well, including the Supabase package which was upgraded to the latest version.
25 lines
382 B
SQL
25 lines
382 B
SQL
-- We seed the role_permissions table with the default roles and permissions
|
|
insert into public.role_permissions(
|
|
role,
|
|
permission)
|
|
values (
|
|
'owner',
|
|
'roles.manage'),
|
|
(
|
|
'owner',
|
|
'billing.manage'),
|
|
(
|
|
'owner',
|
|
'settings.manage'),
|
|
(
|
|
'owner',
|
|
'members.manage'),
|
|
(
|
|
'owner',
|
|
'invites.manage'),
|
|
(
|
|
'member',
|
|
'settings.manage'),
|
|
(
|
|
'member',
|
|
'invites.manage'); |