mirror of
https://github.com/yusufipk/RepoHub.git
synced 2026-09-11 18:46:07 +00:00
refactor: Relocate SQL migration scripts to a dedicated directory and remove deprecated test scripts.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-- 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'));
|
||||
Reference in New Issue
Block a user