db optimizzzation, error handling etc
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 3m48s

This commit is contained in:
2025-11-30 12:37:47 -08:00
parent c45fdc6c30
commit 42e4a308e4
4 changed files with 14 additions and 14 deletions

View File

@@ -66,8 +66,8 @@ CREATE TABLE IF NOT EXISTS public.profiles (
province_state VARCHAR(255),
postal_code VARCHAR(10),
country VARCHAR(2),
preferences JSONB,
points INTEGER DEFAULT 0 NOT NULL,
preferences JSONB,
role TEXT CHECK (role IN ('admin', 'user')),
created_at TIMESTAMPTZ DEFAULT now() NOT NULL,
updated_at TIMESTAMPTZ DEFAULT now() NOT NULL,