feature/api_auth_reqs #67

Merged
charlie merged 49 commits from feature/api_auth_reqs into master 2026-03-19 17:29:44 +00:00
Member

Implemented auth functions

Implemented auth functions
yara added 39 commits 2026-03-18 23:36:07 +00:00
This reverts commit 738abba813.
This reverts commit a56bd08cd83f0a709b672b501c0488d1bf8bdcb1.
charlie requested changes 2026-03-19 00:17:28 +00:00
Dismissed
charlie left a comment

Please also fix the insert token script tokens instead of activations

Please also fix the insert token script `tokens` instead of `activations`
@ -0,0 +3,4 @@
begin
declare v_status_id bigint;
select statusid into v_status_id from user status where name = 'Pending';
Owner

user status here should be user_status

`user status` here should be `user_status`
@ -0,0 +12,4 @@
inner join
users as u on c.coachid = u.userid
inner join
user_roles as r on r.roleid = u.role
Owner

Should be user_role not user_roles.

Should be `user_role` not `user_roles`.
@ -0,0 +17,4 @@
and
rotationtime is null
and
expirationtime > current_timestamp;
Owner

expirationtime should be expirytime

`expirationtime` should be `expirytime`
This reverts commit 3f5862b0af, reversing
changes made to cd27142638.
yara scheduled this pull request to auto merge when all checks succeed 2026-03-19 01:01:47 +00:00
charlie left a comment

sha3 doesn't exist will do it tmrw

sha3 doesn't exist will do it tmrw
charlie approved these changes 2026-03-19 17:29:12 +00:00
charlie left a comment

LGTM

LGTM
@ -0,0 +12,4 @@
inner join
users as u on c.coachid = u.userid
inner join
user_role as r on r.roleid = u.role
Owner

role in the user table is called urole

`role` in the user table is called `urole`
charlie merged commit 89258543a0 into master 2026-03-19 17:29:44 +00:00
charlie deleted branch feature/api_auth_reqs 2026-03-19 17:29:44 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ULFSII/phoenix_db!67
No description provided.