@gadmin2n/cli 0.0.82 → 0.0.84

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.
@@ -69,12 +69,12 @@ class PrismaAction extends abstract_action_1.AbstractAction {
69
69
  let ignore = !!m[1].match(/\/\/\/\s*@IgnoreAutoField/);
70
70
  result += m[1];
71
71
  if (!ignore) {
72
- result += '\n id Int @id @default(autoincrement())';
72
+ result += '\n id BigInt @id @default(autoincrement())';
73
73
  }
74
74
  result += m[2];
75
75
  if (!ignore) {
76
76
  result +=
77
- ' creator String @default("") @db.VarChar(128)\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt @default(now())\n';
77
+ ' creator String @db.VarChar(128) @map("creator")\n createdAt DateTime @default(now()) @map("created_at")\n updatedAt DateTime @updatedAt @default(now()) @map("updated_at")\n';
78
78
  }
79
79
  result += m[3];
80
80
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gadmin2n/cli",
3
- "version": "0.0.82",
3
+ "version": "0.0.84",
4
4
  "description": "Gadmin - modern, fast, powerful node.js web framework (@cli)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -47,7 +47,7 @@
47
47
  "@angular-devkit/core": "13.3.2",
48
48
  "@angular-devkit/schematics": "13.3.2",
49
49
  "@angular-devkit/schematics-cli": "13.3.2",
50
- "@gadmin2n/schematics": "^0.0.65",
50
+ "@gadmin2n/schematics": "^0.0.67",
51
51
  "abc": "^0.6.1",
52
52
  "chalk": "3.0.0",
53
53
  "chokidar": "3.5.3",