Skip to content

Commit e0f1948

Browse files
committed
docs: pin EQL install URLs to eql-2.2.1
Match the code pins in c666853 — install docs told users to curl releases/latest, which now serves EQL 2.3 against 2.2-emitting code.
1 parent 3a93f34 commit e0f1948

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/drizzle/GENERATE_EQL_MIGRATION_CLI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Or use your custom migration workflow.
9898
### Before (manual):
9999
```bash
100100
npx drizzle-kit generate --custom --name=install-eql
101-
curl -sL https://github.com/cipherstash/encrypt-query-language/releases/latest/download/cipherstash-encrypt.sql > drizzle/0001_install-eql.sql
101+
curl -sL https://github.com/cipherstash/encrypt-query-language/releases/download/eql-2.2.1/cipherstash-encrypt.sql > drizzle/0001_install-eql.sql
102102
npx drizzle-kit migrate
103103
```
104104

packages/drizzle/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ If you prefer to install EQL manually:
6464

6565
```bash
6666
npx drizzle-kit generate --custom --name=install-eql
67-
curl -sL https://github.com/cipherstash/encrypt-query-language/releases/latest/download/cipherstash-encrypt.sql > drizzle/0001_install-eql.sql
67+
curl -sL https://github.com/cipherstash/encrypt-query-language/releases/download/eql-2.2.1/cipherstash-encrypt.sql > drizzle/0001_install-eql.sql
6868
npx drizzle-kit migrate
6969
```
7070

packages/protect/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -814,17 +814,17 @@ CREATE TABLE users (
814814

815815
To enable searchable encryption in PostgreSQL, [install the EQL custom types and functions](https://github.com/cipherstash/encrypt-query-language?tab=readme-ov-file#installation).
816816

817-
1. Download the latest EQL install script:
817+
1. Download the EQL install script. The version is pinned to match this release of Protect.js — install exactly this version:
818818

819819
```sh
820-
curl -sLo cipherstash-encrypt.sql https://github.com/cipherstash/encrypt-query-language/releases/latest/download/cipherstash-encrypt.sql
820+
curl -sLo cipherstash-encrypt.sql https://github.com/cipherstash/encrypt-query-language/releases/download/eql-2.2.1/cipherstash-encrypt.sql
821821
```
822822

823823
Using [Supabase](https://supabase.com/)? We ship an EQL release specifically for Supabase.
824-
Download the latest EQL install script:
824+
Download the matching Supabase EQL install script:
825825

826826
```sh
827-
curl -sLo cipherstash-encrypt-supabase.sql https://github.com/cipherstash/encrypt-query-language/releases/latest/download/cipherstash-encrypt-supabase.sql
827+
curl -sLo cipherstash-encrypt-supabase.sql https://github.com/cipherstash/encrypt-query-language/releases/download/eql-2.2.1/cipherstash-encrypt-supabase.sql
828828
```
829829

830830
2. Run this command to install the custom types and functions:

0 commit comments

Comments
 (0)