Files
RepoHub/scripts/migrate-add-aur-to-repository.sql
T
Yusuf İpek 560e78cb96 feat: add AUR repository support for Arch Linux packages
- Extended database schema and models to include 'aur' as a valid repository type alongside 'official' and 'third-party'
- Added repository filter UI in package browser for Arch platform to distinguish between official and AUR packages
- Enhanced init-db script with migration system to track and apply schema changes automatically
2025-11-12 20:43:50 +03:00

6 lines
240 B
SQL

-- Add 'aur' to repository check constraint
ALTER TABLE packages DROP CONSTRAINT IF EXISTS packages_repository_check;
ALTER TABLE packages
ADD CONSTRAINT packages_repository_check
CHECK (repository IN ('official','third-party','aur'));