You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 17c9fad
Browse filesBrowse the repository at this point in the historyBrowse files
|`--dry-run`| Show what would happen without making changes |
211
211
|`--supabase`| Use Supabase-compatible upgrade |
212
212
213
-
The install SQL is idempotent and safe to re-run. If EQL is not installed, the command suggests running `npx stash eql install` instead.
213
+
Encrypted columns and rows live outside the disposable EQL schemas. Before
214
+
replacing those schemas, the CLI captures dependent functional indexes and then
215
+
restores their definitions and supported catalog properties in the same
216
+
transaction. It refuses unsupported dependencies before mutation and rolls back
217
+
if restoration fails. If EQL is absent, the command suggests
218
+
`npx stash eql install` instead.
219
+
220
+
Run upgrade in a schema-migration maintenance window. Its advisory lock prevents
221
+
overlapping `stash` lifecycle commands, but unrelated sessions must not create,
222
+
alter, or drop EQL-backed indexes while replacement is running.
214
223
215
224
---
216
225
@@ -305,6 +314,10 @@ Reads `databaseUrl` from `stash.config.ts`.
305
314
306
315
Use `eql migration` to add the EQL v3 installation to your migration history instead of applying it directly. The install then ships to every environment through the same migrate step as the rest of your schema.
307
316
317
+
**Generated migrations contain the raw EQL bundle, not the CLI's reinstall
318
+
protocol.** A first install is safe. To replace an existing installation, use
319
+
`eql upgrade` or recreate every dependent object in the same migration.
0 commit comments