@friggframework/devtools 2.0.0--canary.461.74b99c9.0 → 2.0.0--canary.461.a0527a3.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.
@@ -171,11 +171,11 @@ class MigrationBuilder extends InfrastructureBuilder {
171
171
  // Add queue URL to environment
172
172
  result.environment.DB_MIGRATION_QUEUE_URL = { Ref: 'DbMigrationQueue' };
173
173
 
174
- // Set DB_TYPE so migration handlers don't need to load app definition
175
- // Migrations are PostgreSQL-only (line 33), so this is always 'postgresql'
174
+ // Hardcode DB_TYPE for PostgreSQL-only migrations
175
+ // Avoids Prisma needing to load app definition to determine database type
176
176
  result.environment.DB_TYPE = 'postgresql';
177
177
 
178
- console.log(' ✓ Added DB_MIGRATION_QUEUE_URL environment variable');
178
+ console.log(' ✓ Added DB_MIGRATION_QUEUE_URL and DB_TYPE environment variables');
179
179
 
180
180
  // Add IAM permissions for SQS
181
181
  result.iamStatements.push({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@friggframework/devtools",
3
3
  "prettier": "@friggframework/prettier-config",
4
- "version": "2.0.0--canary.461.74b99c9.0",
4
+ "version": "2.0.0--canary.461.a0527a3.0",
5
5
  "dependencies": {
6
6
  "@aws-sdk/client-ec2": "^3.835.0",
7
7
  "@aws-sdk/client-kms": "^3.835.0",
@@ -11,8 +11,8 @@
11
11
  "@babel/eslint-parser": "^7.18.9",
12
12
  "@babel/parser": "^7.25.3",
13
13
  "@babel/traverse": "^7.25.3",
14
- "@friggframework/schemas": "2.0.0--canary.461.74b99c9.0",
15
- "@friggframework/test": "2.0.0--canary.461.74b99c9.0",
14
+ "@friggframework/schemas": "2.0.0--canary.461.a0527a3.0",
15
+ "@friggframework/test": "2.0.0--canary.461.a0527a3.0",
16
16
  "@hapi/boom": "^10.0.1",
17
17
  "@inquirer/prompts": "^5.3.8",
18
18
  "axios": "^1.7.2",
@@ -34,8 +34,8 @@
34
34
  "serverless-http": "^2.7.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@friggframework/eslint-config": "2.0.0--canary.461.74b99c9.0",
38
- "@friggframework/prettier-config": "2.0.0--canary.461.74b99c9.0",
37
+ "@friggframework/eslint-config": "2.0.0--canary.461.a0527a3.0",
38
+ "@friggframework/prettier-config": "2.0.0--canary.461.a0527a3.0",
39
39
  "aws-sdk-client-mock": "^4.1.0",
40
40
  "aws-sdk-client-mock-jest": "^4.1.0",
41
41
  "jest": "^30.1.3",
@@ -70,5 +70,5 @@
70
70
  "publishConfig": {
71
71
  "access": "public"
72
72
  },
73
- "gitHead": "74b99c9d56dce5e4ea9f74f2db3a6087132578d3"
73
+ "gitHead": "a0527a318705a351410471083bb6e5a6b6dc7165"
74
74
  }