luom2645's picture
Add files using upload-large-folder tool
e08027e verified
Raw History Blame Contribute Delete
358 Bytes
CREATE TABLE device_bindings (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
license_id UUID NOT NULL,
user_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()
);