implement netcafe points and boost time

This commit is contained in:
wish
2022-08-13 21:23:02 +10:00
parent d8072ee06e
commit 440b73f696
4 changed files with 74 additions and 38 deletions

View File

@@ -1,7 +1,16 @@
BEGIN;
ALTER TABLE IF EXISTS public.characters
ADD COLUMN cafe_time integer DEFAULT 0;
ADD COLUMN IF NOT EXISTS cafe_time integer DEFAULT 0;
ALTER TABLE IF EXISTS public.characters
DROP COLUMN IF EXISTS netcafe_points;
ALTER TABLE IF EXISTS public.characters
ADD COLUMN IF NOT EXISTS netcafe_points int DEFAULT 0;
ALTER TABLE IF EXISTS public.characters
ADD COLUMN IF NOT EXISTS boost_time timestamp without time zone;
CREATE TABLE IF NOT EXISTS public.cafebonus
(