mirror of
https://github.com/langgenius/dify.git
synced 2026-09-03 23:47:16 +08:00
12 lines
432 B
SQL
12 lines
432 B
SQL
-- Knowledge Platform schema migration
|
|
-- Migration id: 0046_remove_provider_sync_policy
|
|
-- Dialect: postgres
|
|
-- Historical provider policies must be converted to manual before this migration runs.
|
|
|
|
ALTER TABLE "source_sync_policies"
|
|
DROP CONSTRAINT IF EXISTS "source_sync_policies_mode_ck";
|
|
|
|
ALTER TABLE "source_sync_policies"
|
|
ADD CONSTRAINT "source_sync_policies_mode_ck"
|
|
CHECK ("mode" IN ('manual', 'interval', 'custom'));
|