Adding default values to primary keys
How to make your primary keys auto-generate values in Supabase
Last updated
Was this helpful?
How to make your primary keys auto-generate values in Supabase
Last updated
Was this helpful?
Click on the primary key in your table.
Click "Edit column"
Change the column type to uuid
Set the Default Value equal to gen_random_uuid()
Make sure "Is Unique" is toggled on