mirror of
https://github.com/langgenius/dify.git
synced 2026-02-24 20:01:22 +08:00
r2
This commit is contained in:
@ -25,7 +25,7 @@ class DatasourceProvider(Base):
|
||||
__tablename__ = "datasource_providers"
|
||||
__table_args__ = (
|
||||
db.PrimaryKeyConstraint("id", name="datasource_provider_pkey"),
|
||||
db.UniqueConstraint("plugin_id", "provider", name="datasource_provider_auth_type_provider_idx"),
|
||||
db.Index("datasource_provider_auth_type_provider_idx", "tenant_id", "plugin_id", "provider"),
|
||||
)
|
||||
id = db.Column(StringUUID, server_default=db.text("uuid_generate_v4()"))
|
||||
tenant_id = db.Column(StringUUID, nullable=False)
|
||||
|
||||
Reference in New Issue
Block a user