-- Migration: 003_add_token_prefix (down)
-- Remove token prefix field from applications table

-- Drop constraint first
ALTER TABLE applications DROP CONSTRAINT IF EXISTS chk_token_prefix_format;

-- Drop index
DROP INDEX IF EXISTS idx_applications_token_prefix;

-- Drop the prefix column
ALTER TABLE applications DROP COLUMN IF EXISTS token_prefix;