Adding default values to primary keys
How to make your primary keys auto-generate values in Supabase
Last updated
How to make your primary keys auto-generate values in Supabase
Last updated
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