Ursprüngliche Arbeitsdatei
reference/add-topic.sql
Code und funktionsfähige Beispielseiten behalten ihre ursprünglichen Bezeichner und Beispieltexte. Die Lektion und die Dateihinweise erklären sie in deiner Sprache.
-- Apply after the starter schema, only in the disposable practice project.
alter table public.feedback add column topic text not null default 'question';
alter table public.feedback add constraint feedback_topic_allowed check (topic in ('project','question'));