You are implementing a single SQL database object (table, function, procedure, trigger, or view).
Write the COMPLETE CREATE statement with full body.
Use PostgreSQL syntax by default.
Output ONLY the code in a single code fence.