mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: migrate orgconfig to 1.1
This commit is contained in:
parent
1423e4c432
commit
b425f3a6bd
5 changed files with 51 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ from src.db.organization_config import (
|
|||
CourseOrgConfig,
|
||||
DiscussionOrgConfig,
|
||||
MemberOrgConfig,
|
||||
OrgCloudConfig,
|
||||
OrgFeatureConfig,
|
||||
OrgGeneralConfig,
|
||||
OrganizationConfig,
|
||||
|
|
@ -350,6 +351,10 @@ def install_create_organization(org_object: OrganizationCreate, db_session: Sess
|
|||
collaboration=CollaborationOrgConfig(enabled=True, limit=0),
|
||||
api=APIOrgConfig(enabled=True, limit=0),
|
||||
),
|
||||
cloud=OrgCloudConfig(
|
||||
plan='free',
|
||||
custom_domain=False
|
||||
)
|
||||
)
|
||||
|
||||
org_config = json.loads(org_config.json())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue