-
Notifications
You must be signed in to change notification settings - Fork 12
Allow admins to enabled / disabled endpoints #168
base: staging
Are you sure you want to change the base?
Allow admins to enabled / disabled endpoints #168
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I began reviewing this, but there are still console.log debug statements, let me know when this is ready for code review.
Additionally move this to a feature/EndpointAccess branch on Hackillinois/api
@@ -0,0 +1,5 @@ | |||
CREATE TABLE `endpoints` ( | |||
`endpoint` VARCHAR(50) NOT NULL, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's up this to 127 to leave a healthy margin
@@ -0,0 +1,5 @@ | |||
CREATE TABLE `endpoints` ( | |||
`endpoint` VARCHAR(50) NOT NULL, | |||
`enabled` BIT(1), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use TINYINT(1) for consistency with the rest of the schema
@@ -0,0 +1,5 @@ | |||
CREATE TABLE `endpoints` ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
endpoint_state
Pull request implements the features described in #131.