b6a70aa7df
Product default stays Raman. Public-case revalidation and fixture dashas now pass --ayanamsa lahiri; profiles store the four selectable values. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
398 B
PL/PgSQL
16 lines
398 B
PL/PgSQL
begin;
|
|
|
|
alter table public.profiles
|
|
add column if not exists ayanamsa text not null default 'raman';
|
|
|
|
alter table public.profiles
|
|
drop constraint if exists profiles_ayanamsa_check;
|
|
|
|
alter table public.profiles
|
|
add constraint profiles_ayanamsa_check
|
|
check (ayanamsa in ('raman', 'lahiri', 'kp', 'true_pushya'));
|
|
|
|
grant update (ayanamsa) on table public.profiles to authenticated;
|
|
|
|
commit;
|