Complete local HTTP endpoint parity
This commit is contained in:
2
migrations/20260725130000_add_endpoint_controls/down.sql
Normal file
2
migrations/20260725130000_add_endpoint_controls/down.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE preferences DROP COLUMN endpoint_cors;
|
||||
ALTER TABLE preferences DROP COLUMN endpoint_enabled;
|
||||
4
migrations/20260725130000_add_endpoint_controls/up.sql
Normal file
4
migrations/20260725130000_add_endpoint_controls/up.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE preferences ADD COLUMN endpoint_enabled BOOLEAN NOT NULL DEFAULT TRUE
|
||||
CHECK (endpoint_enabled IN (FALSE, TRUE));
|
||||
ALTER TABLE preferences ADD COLUMN endpoint_cors BOOLEAN NOT NULL DEFAULT FALSE
|
||||
CHECK (endpoint_cors IN (FALSE, TRUE));
|
||||
Reference in New Issue
Block a user