Comments (1)
I just solved it. For anyone who has a similar issue this is how I did it:
I changed gen_random_bytes(10) to extensions.gen_random_bytes(10) in my function:
DECLARE characters TEXT := 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; bytes BYTEA := extensions.gen_random_bytes(size); l INT := length(characters); i INT := 0; output TEXT := ''; BEGIN WHILE i < size LOOP output := output || substr(characters, get_byte(bytes, i) % l + 1, 1); i := i + 1; END LOOP; RETURN output; END;
from supabase.
Related Issues (20)
- Site URL and Redirect URLs not saving when adding in the URL Configuration section HOT 1
- Analytics docker image unhealthy when self-hosting due to migration issue (`sources` not found) HOT 36
- SSE streaming no longer working? HOT 1
- JSONB columns make supabase studio tables unusable. HOT 1
- [Studio] Policies search term is not fluidly updated resulting in a broken UI
- Phone update does not require an otp locally HOT 3
- Studio manifest not loading HOT 2
- Installability criteria not met
- Password recovery does not work HOT 1
- Fails to start in freshly initialized project when ipv6 is disabled HOT 2
- Self-hosted Supabase with Docker. API docs page is not available. http://localhost:8000/api/projects/default/api/rest | 500 Internal Server Error HOT 7
- when Initializing, get: 【SyntaxError: Cannot use import statement outside a module】
- Google OAuth on Chrome Extension returns inconsistent session objects.
- Bug Report: UI Error - Data Displayed Incorrectly in Supabase Table HOT 3
- Forgot password issue HOT 1
- Error: Cookies can only be modified in a Server Action or Route Handler HOT 3
- Unable to import CSV, even though the file is correct HOT 1
- Function Search Path Mutable (Security Advisor) issue with pgvector HOT 2
- Error running Supabase with a local Postgres instance with custom SQL ( self-host docker ) HOT 2
- Angular Tutorial
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supabase.