Files
RepoHub/scripts/migrate-packages-version-length.sql
T
Yusuf İpek cc82888c74 chore: remove debug endpoints and update configuration
- Removed debug-packages and test-sync API endpoints no longer needed
- Extracted sync status management into shared lib/sync/status module
- Updated Next.js config to remove deprecated experimental appDir flag
- Added port specification to production start script for consistency
2025-11-11 17:19:34 +03:00

11 lines
342 B
SQL

-- Migration: increase packages.version length to 255
-- Run this against your existing database (PostgreSQL)
ALTER TABLE packages
ALTER COLUMN version TYPE VARCHAR(255);
-- Optional: verify
SELECT column_name, data_type, character_maximum_length
FROM information_schema.columns
WHERE table_name = 'packages' AND column_name = 'version';