Skip to content

Commit

Permalink
Merge branch 'main' into show-token
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-zReeZ authored Jul 5, 2024
2 parents 455025b + 0056ec4 commit 1e8a163
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions database/migration/deploy/2024-07-05.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- Deploy climat-guardian:2024-07-05 to pg

BEGIN;

grant delete on api.users to web_user; -- any user can remove users

COMMIT;
7 changes: 7 additions & 0 deletions database/migration/revert/2024-07-05.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- Revert climat-guardian:2024-07-05 from pg

BEGIN;

revoke delete on api.users from web_user; -- any user can remove users

COMMIT;
1 change: 1 addition & 0 deletions database/migration/sqitch.plan
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ roles 2024-06-07T18:32:02Z Nils <nils@fedora> # create the role used by the user
data 2024-06-07T20:09:18Z Nils <nils@fedora> # Add table to store data
user 2024-06-07T20:47:39Z Nils <nils@fedora> # create a user table to store every user and password
esp 2024-06-26T08:20:01Z dylan <dylanbossoku@dylan> # create a esp table to stove every esp data
2024-07-05 2024-07-05T08:58:10Z Nils <nils@fedora> # Grant user the ability to remove users
7 changes: 7 additions & 0 deletions database/migration/verify/2024-07-05.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- Verify climat-guardian:2024-07-05 on pg

BEGIN;

-- XXX Add verifications here.

ROLLBACK;

0 comments on commit 1e8a163

Please sign in to comment.