@netlify/agent-runner-cli 1.145.0-test.3 → 1.145.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.
@@ -33,7 +33,7 @@ adding indexes, etc.) will only work if a corresponding migration exists in `net
33
33
  migration, the database schema will not change and the application will break at runtime.
34
34
 
35
35
  This applies regardless of whether you are using Drizzle ORM or the native `@netlify/database` driver:
36
- - **With Drizzle ORM**: Update the schema definition, then run `npx drizzle-kit generate --name <descriptive_name>`
36
+ - **With Drizzle ORM**: Update the schema definition, then run `npx drizzle-kit generate`
37
37
  - **With native driver**: Write a new SQL migration file in `netlify/database/migrations/`
38
38
 
39
39
  Never consider a schema change complete without a corresponding migration file.
@@ -113,15 +113,12 @@ export default defineConfig({
113
113
 
114
114
  ### Step 5: Generate migrations
115
115
 
116
- Every time you change the schema, run `drizzle-kit generate` with a `--name` describing the change
117
- (max 50 characters, snake_case, starting with an imperative verb like add, create, drop, alter, rename, index):
116
+ Every time you change the schema, run `drizzle-kit generate`:
118
117
 
119
118
  ```bash
120
- npx drizzle-kit generate --name add_users_bio
119
+ npx drizzle-kit generate
121
120
  ```
122
121
 
123
- Without `--name`, drizzle-kit assigns a random two-word name that says nothing about the migration.
124
-
125
122
  This creates SQL migration files in `netlify/database/migrations/`.
126
123
 
127
124
  ### Step 6: Use the database in functions
@@ -357,7 +354,7 @@ applied to the database yet.
357
354
  as immutable. Roll forward with a new migration that applies the correction. This is always safe.
358
355
  - If a migration is **not yet applied** anywhere (it's only on disk), don't edit it in place. Run
359
356
  `netlify db migrations reset` to delete it, update `db/schema.ts` to reflect your new intent, then run
360
- `npx drizzle-kit generate --name <descriptive_name>` to produce a fresh migration. Editing SQL or snapshot files directly can
357
+ `npx drizzle-kit generate` to produce a fresh migration. Editing SQL or snapshot files directly can
361
358
  desync Drizzle Kit's internal state and produce broken migrations on the next generate.
362
359
 
363
360
  ### `netlify db migrations reset` — cleaning up unapplied migrations
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@netlify/agent-runner-cli",
3
3
  "type": "module",
4
- "version": "1.145.0-test.3",
4
+ "version": "1.145.0",
5
5
  "description": "CLI tool for running Netlify agents",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",