Skip to content

Commit

Permalink
Merge pull request #22 from gentlementlegen/development
Browse files Browse the repository at this point in the history
fix: enable RLS for tables
  • Loading branch information
0x4007 authored Sep 30, 2024
2 parents 3f17e9e + bacd208 commit 12a4725
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To set up the `.dev.vars` file, you will need to provide the following variables
## Usage
- Add the following to your `.ubiquibot-config.yml` file with the appropriate URL:
```yaml
- plugin: ubiquity-os-marketplace/generate-vector-embeddings
- plugin: https://ubiquity-os-comment-vector-embeddings-main.ubiquity.workers.dev
with:
matchThreshold: 0.95
warningThreshold: 0.75
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"lint-staged": "15.2.7",
"npm-run-all": "4.1.5",
"prettier": "3.3.2",
"supabase": "1.191.3",
"supabase": "1.200.3",
"ts-jest": "29.1.5",
"tsx": "4.15.6",
"typescript": "5.4.5",
Expand Down
2 changes: 2 additions & 0 deletions supabase/migrations/20240930052523_enable_rls.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE "issues" ENABLE ROW LEVEL SECURITY;
ALTER TABLE "issue_comments" ENABLE ROW LEVEL SECURITY;
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6407,10 +6407,10 @@ [email protected]:
resolved "https://registry.yarnpkg.com/summary/-/summary-2.1.0.tgz#be8a49a0aa34eb6ceea56042cae88f8add4b0885"
integrity sha512-nMIjMrd5Z2nuB2RZCKJfFMjgS3fygbeyGk9PxPPaJR1RIcyN9yn4A63Isovzm3ZtQuEkLBVgMdPup8UeLH7aQw==

supabase@1.191.3:
version "1.191.3"
resolved "https://registry.yarnpkg.com/supabase/-/supabase-1.191.3.tgz#9e28643b10bc458f8c13a1e3f3ba9172679093f0"
integrity sha512-5tIG7mPc5lZ9QRbkZssyHiOsx42qGFaVqclauXv+1fJAkZnfA28d0pzEDvfs33+w8YTReO5nNaWAgyzkWQQwfA==
supabase@1.200.3:
version "1.200.3"
resolved "https://registry.yarnpkg.com/supabase/-/supabase-1.200.3.tgz#52cd53fd0bcd46af0748c8ffa61fac05e21a0a23"
integrity sha512-3NdhqBkfPVlm+rAhWQoVcyr54kykuAlHav/GWaAoQEHBDbbYI1lhbDzugk8ryQg92vSLwr3pWz0s4Hjdte8WyQ==
dependencies:
bin-links "^4.0.3"
https-proxy-agent "^7.0.2"
Expand Down

0 comments on commit 12a4725

Please sign in to comment.