create-pg 1.1.0 → 1.1.1-pr67-overhaul-19905444027.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## **What is `create-
|
|
1
|
+
## **What is `create-db`?**
|
|
2
2
|
|
|
3
|
-
`create-
|
|
3
|
+
`create-db` is an open-source CLI tool that provisions [**temporary Prisma Postgres databases**](https://www.prisma.io/postgres?utm_source=create_db_npm_docs) with a single command.
|
|
4
4
|
|
|
5
5
|
Each database is available for **24 hours** by default. To keep the database permanently, you can **claim it for free** using the URL displayed in the CLI output.
|
|
6
6
|
|
|
@@ -11,31 +11,31 @@ This tool is designed for developers who need a fast way to test, prototype, or
|
|
|
11
11
|
There is no need to install the tool globally. Simply run:
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
npx create-
|
|
14
|
+
npx create-db@latest
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
You can also use the following aliases:
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
npx create-
|
|
20
|
+
npx create-pg@latest
|
|
21
21
|
npx create-postgres@latest
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## **Examples**
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npx create-
|
|
28
|
-
npx create-
|
|
29
|
-
npx create-
|
|
27
|
+
npx create-db # Creates a database in the default region
|
|
28
|
+
npx create-db --region eu-west-1 # Creates a database in a specific region
|
|
29
|
+
npx create-db --i # Interactive region selection
|
|
30
30
|
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
## **Available options**
|
|
34
34
|
|
|
35
|
-
You can run `npx create-
|
|
35
|
+
You can run `npx create-db --help` or `npx create-db -h` to see all the available CLI options:
|
|
36
36
|
|
|
37
37
|
```
|
|
38
|
-
npx create-
|
|
38
|
+
npx create-db [options]
|
|
39
39
|
|
|
40
40
|
Options:
|
|
41
41
|
--region <region>, -r <region> Specify a region
|
|
@@ -79,7 +79,7 @@ Options:
|
|
|
79
79
|
|
|
80
80
|
## **Claiming a database**
|
|
81
81
|
|
|
82
|
-
When you create a database using `create-
|
|
82
|
+
When you create a database using `create-db`, it is temporary and will be deleted automatically after **24 hours**.
|
|
83
83
|
|
|
84
84
|
The CLI output includes a **claim URL** that allows you to keep the database permanently for free.
|
|
85
85
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pg",
|
|
3
|
-
"version": "1.1.0",
|
|
3
|
+
"version": "1.1.1-pr67-overhaul-19905444027.0",
|
|
4
4
|
"description": "Instantly create a temporary Prisma Postgres database with one command, then claim and persist it in your Prisma Data Platform project when ready.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "prisma",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"create-pg": "./index.js"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"create-db": "1.1.0"
|
|
28
|
+
"create-db": "1.1.1-pr67-overhaul-19905444027.0"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|