mirror of
https://github.com/yusufipk/RepoHub.git
synced 2026-09-11 10:36:07 +00:00
6 lines
240 B
SQL
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'));
|