mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 22:59:11 +03:00
Add auth.uid for uuid suggestions.
This commit is contained in:
1 parent
3094b2abfc
commit
c8ddd1d1c2
1 file changed
+6
+6
@@ -31,6 +31,12 @@ const defaultTextBasedValues: Suggestion[] = [
|
||||
// using meta-store's extensions to generate this partially on top of vanilla expressions
|
||||
export const typeExpressionSuggestions: Dictionary<Suggestion[]> = {
|
||||
uuid: [
|
||||
{
|
||||
name: 'auth.uid()',
|
||||
value: 'auth.uid()',
|
||||
description:
|
||||
'Extracts the unique user ID when rows are added or updated through serverless API',
|
||||
},
|
||||
{
|
||||
name: 'gen_random_uuid()',
|
||||
value: 'gen_random_uuid()',
|
||||
|
||||
Reference in new issue
Block a user