22 lines
356 B
PL/PgSQL
22 lines
356 B
PL/PgSQL
begin;
|
|
|
|
alter table public.chat_sessions
|
|
drop constraint if exists chat_sessions_theme_check;
|
|
|
|
alter table public.chat_sessions
|
|
add constraint chat_sessions_theme_check
|
|
check (theme in (
|
|
'career',
|
|
'marriage',
|
|
'wealth',
|
|
'health',
|
|
'education',
|
|
'migration',
|
|
'family',
|
|
'annual',
|
|
'timing',
|
|
'general'
|
|
));
|
|
|
|
commit;
|