Back to the lesson

Original working file

reference/add-bio.sql

Code and working example pages keep their original identifiers and sample text. The lesson and file guidance explain them in your language.

alter table public.profiles add column bio text not null default '';
alter table public.profiles add constraint profiles_bio_length check (char_length(bio)<=300);
-- Keep the existing SELECT/INSERT/UPDATE owner policies.