<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CKToolJS",
  "identifier" : "/documentation/CKToolJS/CKEnvironment",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "CKTool JS"
    ],
    "preciseIdentifier" : "enum/CKEnvironment"
  },
  "title" : "CKEnvironment"
}
-->

# CKEnvironment

An enumeration of container environments.

```
interface CKEnvironment {
	const string DEVELOPMENT;
	const string PRODUCTION;
};
```

## Overview

During initial development of your app, you create your schema and add records for testing in the development environment. Apps sold in the App Store can only access the production environment. Before you publish your app, you must deploy the development schema to the production environment to copy over its record types, fields, and indexes.

```javascript
import { CKEnvironment } from "@apple/cktool.database";
```

## Topics

### Enumeration Cases

[`const string DEVELOPMENT;`](/documentation/CKToolJS/CKEnvironment/DEVELOPMENT)

[`const string PRODUCTION;`](/documentation/CKToolJS/CKEnvironment/PRODUCTION)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)