agent-workspace / supabase /tables /profiles.sql
luom2645's picture
Add files using upload-large-folder tool
62e1b50 verified
Raw History Blame Contribute Delete
403 Bytes
CREATE TABLE profiles (
id UUID PRIMARY KEY REFERENCES auth.users(id) ON DELETE CASCADE,
email TEXT,
full_name TEXT,
avatar_url TEXT,
bio TEXT,
writing_goal_daily INTEGER DEFAULT 1000,
preferred_theme TEXT DEFAULT 'dark',
created_at TIMESTAMP WITH TIME ZONE DEFAULT timezone('utc',
now()),
updated_at TIMESTAMP WITH TIME ZONE DEFAULT timezone('utc',
now())
);