forked from benjie/ouch-my-finger
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a reproducible for steps order issue in a mutation
- Loading branch information
Showing
3 changed files
with
75 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
drop table if exists public.users; | ||
|
||
create table public.users ( | ||
id int generated always as identity primary key, | ||
value1 text, | ||
value2 text | ||
); | ||
|
||
insert into public.users (value1, value2) values ('value1', 'value2'); | ||
|
||
grant insert on public.users to public; | ||
grant update on public.users to public; | ||
|
||
alter table public.users enable row level security; | ||
|
||
create policy select_policy on public.users for select using (true); | ||
create policy insert_policy on public.users for insert with check (true); | ||
create policy update_policy on public.users for update using (true); | ||
create policy delete_policy on public.users for delete using (true); |