lang-database 13.1.0 → 13.1.1
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.
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Warnings:
|
|
3
|
+
|
|
4
|
+
- A unique constraint covering the columns `[purchaseToken]` on the table `purchases` will be added. If there are existing duplicate values, this will fail.
|
|
5
|
+
|
|
6
|
+
*/
|
|
7
|
+
-- CreateIndex
|
|
8
|
+
CREATE UNIQUE INDEX "purchases_purchaseToken_key" ON "purchases"("purchaseToken");
|
package/package.json
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lang-database",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"create-migration": "npx prisma migrate dev --create-only",
|
|
9
|
+
"migrate": "npx prisma migrate deploy",
|
|
9
10
|
"generate": "npx prisma generate",
|
|
10
|
-
"push
|
|
11
|
-
"push-prod-db": "copy .env-prod .env && prisma db push --skip-generate",
|
|
12
|
-
"push-dev-db": "copy .env-dev .env && prisma db push --skip-generate",
|
|
13
|
-
"push-local-db": "copy .env-local .env && prisma db push --skip-generate",
|
|
14
|
-
"push-test-db": "copy .env-test .env && prisma db push --skip-generate",
|
|
11
|
+
"push": "prisma db push --skip-generate",
|
|
15
12
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
16
13
|
"postinstall": "npm run generate"
|
|
17
14
|
},
|