agent-workspace / supabase /tables /device_bindings.sql
luom2645's picture
Upload folder using huggingface_hub
9dd9a58 verified
Raw History Blame Contribute Delete
393 Bytes
CREATE TABLE device_bindings (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
user_id UUID REFERENCES auth.users(id) ON DELETE CASCADE,
license_id UUID,
device_fingerprint TEXT NOT NULL,
device_info JSONB,
is_active BOOLEAN DEFAULT true,
activated_at TIMESTAMPTZ DEFAULT NOW(),
last_seen_at TIMESTAMPTZ DEFAULT NOW(),
created_at TIMESTAMPTZ DEFAULT NOW()
);