Some checks failed
App Prod-Parity E2E Dispatch / dispatch (push) Failing after 10s
CD Storybook UI / build (push) Failing after 3m25s
CD Storybook UI / dispatch (push) Has been skipped
CD deploy main / website-changed-files (push) Successful in 18m8s
CI Agent Skills / changed-files-check (push) Successful in 18m9s
CI Create App E2E minimal / changed-files-check (push) Successful in 24s
CI Create App / changed-files-check (push) Successful in 26s
CI Docs / changed-files-check (push) Successful in 26s
CI Emails / changed-files-check (push) Successful in 28s
CI Example App Hello World / changed-files-check (push) Successful in 23s
CI Front / changed-files-check (push) Has been skipped
CI Example App Postcard / changed-files-check (push) Successful in 27s
CI UI / changed-files-check (push) Has been skipped
CI Utils Test / changed-files-check (push) Successful in 45s
CI Twenty Apps / discover (push) Successful in 1m3s
CD deploy main / deploy-main (push) Failing after 3s
CI Agent Skills / agent-skills-validate (push) Has been skipped
CI Create App / create-app-test (lint) (push) Has been skipped
CI Emails / emails-test (push) Has been skipped
CI Front / front-task (lingui:compile) (push) Has been skipped
CI Front / front-task (lint) (push) Has been skipped
CI Example App Postcard / example-app-postcard (push) Has been skipped
CI UI / ui-task (lint) (push) Has been skipped
CI UI / ui-task (pack-size) (push) Has been skipped
CI UI / ui-task (size) (push) Has been skipped
CI UI / ui-task (test) (push) Has been skipped
CI UI / ui-task (typecheck) (push) Has been skipped
CI Utils Test / utils-test (push) Has been skipped
CI Twenty Apps / ${{ matrix.app.name }} (push) Has been skipped
CI Emails / ci-emails-status-check (push) Successful in 2s
CI Example App Hello World / ci-example-app-hello-world-status-check (push) Successful in 2s
CI Example App Postcard / ci-example-app-postcard-status-check (push) Successful in 3s
CI UI / ui-sb-test (push) Has been skipped
CI Utils Test / ci-utils-test-status-check (push) Successful in 2s
CI Twenty Apps / ci-twenty-apps-status-check (push) Successful in 2s
CI UI / ci-ui-status-check (push) Successful in 2s
CI Desktop / desktop (push) Failing after 1m8s
Push docs to Crowdin / Push documentation to Crowdin (push) Failing after 55s
Push translations to Crowdin / Extract and upload translations (push) Failing after 5s
Push website translations to Crowdin / Extract and upload website translations (push) Failing after 5s
CI Create App / create-app-test (test) (push) Has been skipped
CI Create App / create-app-test (typecheck) (push) Has been skipped
CI Docs / docs-lint (push) Has been skipped
CI Example App Hello World / example-app-hello-world (push) Has been skipped
CI Front / front-task (lingui:extract) (push) Has been skipped
CI Front / front-task (test) (push) Has been skipped
CI Front / front-task (typecheck) (push) Has been skipped
CI UI / ui-sb-build (push) Failing after 1m32s
CI Twenty Apps / ${{ matrix.app.name }} (${{ matrix.server-source }}) (push) Has been skipped
CI Agent Skills / agent-skills-publish (push) Has been skipped
CI Create App / ci-create-app-status-check (push) Successful in 2s
CI Agent Skills / agent-skills-remote-source (push) Has been skipped
CI Create App E2E minimal / create-app-e2e-minimal (push) Has been cancelled
CI E2E Main / e2e-test (push) Has been cancelled
CI Front / front-sb-build (push) Has been cancelled
CI Front / front-build (push) Has been cancelled
CI Create App E2E minimal / ci-create-app-e2e-minimal-status-check (push) Has been cancelled
CI E2E Main / ci-e2e-main-status-check (push) Has been cancelled
CI E2E Main / notify-main-ci-failure (push) Has been cancelled
CI E2E Main / qa-scout-comment (push) Has been cancelled
CI Front / front-sb-test (push) Has been cancelled
CI Front / front-sb-screenshots (push) Has been cancelled
CI Front / ci-front-status-check (push) Has been cancelled
DPA Sub-Processor Sync / sync-subprocessors (push) Failing after 3s
AI Catalog Sync / sync-catalog (push) Failing after 2s
71 lines
2.5 KiB
Plaintext
71 lines
2.5 KiB
Plaintext
---
|
|
title: 관계 필드 만들기
|
|
description: 관계 필드를 사용하여 객체를 연결하는 단계별 가이드.
|
|
---
|
|
|
|
관계 필드는 서로 다른 객체의 레코드를 연결합니다—예: 사람을 회사에 연결.
|
|
|
|
<Note>
|
|
**관계 이름은 생성 후 변경할 수 없습니다** (API에 영향을 줍니다). 이름을 신중하게 계획하세요.
|
|
</Note>
|
|
|
|
## 시작하기 전에
|
|
|
|
다음을 결정하세요:
|
|
|
|
* 어떤 객체를 연결하나요? (예: 사람 → 회사)
|
|
* 어느 쪽이 "일(1)" 측인가요? (예: 회사)
|
|
* 어느 쪽이 "다수" 측인가요? (예: 사람 — 많은 사람이 한 회사에서 근무합니다)
|
|
* 각 측의 필드 이름을 무엇으로 지정할까요?
|
|
|
|
관계 유형에 대한 설명은 [관계 필드](/l/ko/user-guide/data-model/capabilities/relation-fields)를 참고하세요.
|
|
|
|
## 단계
|
|
|
|
1. **설정 → 데이터 모델**로 이동
|
|
2. 관계를 만들 객체(보통 "다수" 측)를 선택합니다.
|
|
3. **+ 새 필드**를 클릭합니다
|
|
4. 필드 유형으로 **관계**를 선택합니다.
|
|
5. **대상 객체**를 선택합니다.
|
|
6. **일대다** 또는 **다대일**을 선택합니다.
|
|
7. 관계의 **양쪽**에 대한 필드 이름을 입력합니다.
|
|
8. **저장** 클릭
|
|
|
|
## 예: 사람 → 회사
|
|
|
|
* **설정 → 데이터 모델 → 사람**으로 이동
|
|
* 관계 필드를 추가합니다.
|
|
* 대상: **회사**
|
|
* 유형: **다대일**
|
|
* 사람 측의 필드: **회사**
|
|
* 회사 측의 필드: **직원**
|
|
|
|
이제 각 사람을 회사에 연결할 수 있고, 각 회사에는 연결된 사람들이 표시됩니다.
|
|
|
|
## 관계 비활성화
|
|
|
|
1. **설정 → 데이터 모델 → 원하는 오브젝트**로 이동
|
|
2. 관계 필드를 찾아 클릭합니다
|
|
3. **비활성화** 버튼을 클릭합니다
|
|
|
|
연결은 유지되지만 숨겨집니다. 복원하려면 다시 활성화하세요.
|
|
|
|
<Note>
|
|
**관계를 비활성화해도 레코드는 삭제되지 않습니다.** 둘 사이의 연결만 제거됩니다.
|
|
</Note>
|
|
|
|
## 관계 삭제
|
|
|
|
1. **설정 → 데이터 모델 → 원하는 오브젝트**로 이동
|
|
2. 관계 필드를 찾아 클릭합니다
|
|
3. **삭제** 버튼을 클릭합니다
|
|
|
|
<Note>
|
|
사용자 지정 관계에만 적용됩니다. 표준 관계는 비활성화만 할 수 있습니다.
|
|
</Note>
|
|
|
|
## 관련 항목
|
|
|
|
* [관계 필드](/l/ko/user-guide/data-model/capabilities/relation-fields) — 유형과 제한사항
|
|
* [관계 가져오기 방법](/l/ko/user-guide/data-migration/how-tos/import-relations-between-objects-via-csv) — 연결된 레코드를 대량으로 가져오기
|