Stable version with additional styling

This commit is contained in:
pricewowen
2026-05-24 01:43:59 -06:00
parent cd5feb3a98
commit 9fdec200b5
40 changed files with 1682 additions and 467 deletions

View File

@@ -0,0 +1,18 @@
alter table public.avatar_state
add column if not exists room_background text not null default 'room-day';
alter table public.avatar_state
drop constraint if exists avatar_state_room_background_check;
alter table public.avatar_state
add constraint avatar_state_room_background_check
check (
room_background in (
'room-day',
'room-dusk',
'room-night',
'room-forest',
'room-space',
'room-neon'
)
);

View File

@@ -0,0 +1,23 @@
alter table public.avatar_state
drop constraint if exists avatar_state_room_background_check;
alter table public.avatar_state
add constraint avatar_state_room_background_check
check (
room_background in (
'room-day',
'room-dusk',
'room-night',
'room-forest'
)
);
update public.avatar_state
set room_background = 'room-day'
where room_background in ('room-space', 'room-neon');
delete from public.user_items
where item_id in ('room-space', 'room-neon');
delete from public.shop_items
where id in ('room-space', 'room-neon');

View File

@@ -30,7 +30,9 @@ values
('head-4', 'Head 4', 'head', 45, '/character/head/head-4.png'),
('head-5', 'Head 5', 'head', 50, '/character/head/head-5.png'),
('head-6', 'Head 6', 'head', 55, '/character/head/head-6.png'),
('head-7', 'Head 7', 'head', 60, '/character/head/head-7.png')
('head-7', 'Head 7', 'head', 60, '/character/head/head-7.png'),
('room-night', 'Starlit Night', 'room', 40, ''),
('room-forest', 'Mystic Forest', 'room', 50, '')
on conflict (id) do update
set
name = excluded.name,