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
> You must use [CipherStash Proxy](https://github.com/cipherstash/proxy) or [Protect.js](https://github.com/cipherstash/protectjs) to encrypt and decrypt data. EQL provides the database functions and types, while these tools handle the actual cryptographic operations.
199
+
187
200
## Encrypt configuration
188
201
189
202
In order to enable searchable encryption, you will need to configure your CipherStash integration appropriately.
@@ -232,6 +245,28 @@ To upgrade to the latest version of EQL, you can simply run the install script a
232
245
233
246
Follow the instructions in the [dbdev documentation](https://database.dev/cipherstash/eql) to upgrade the extension to your desired version.
234
247
235
-
## Developing
248
+
## Troubleshooting
249
+
250
+
### Common Errors
251
+
252
+
**Error: "Some pending columns do not have an encrypted target"**
253
+
-**Cause**: Trying to configure a column that doesn't exist as `eql_v2_encrypted` type
254
+
-**Solution**: First create the column: `ALTER TABLE table_name ADD COLUMN column_name eql_v2_encrypted;`
255
+
256
+
**Error: "Config exists for column: table_name column_name"**
257
+
-**Cause**: Attempting to add a column configuration that already exists
258
+
-**Solution**: Use `eql_v2.add_search_config()` to add indexes, or `eql_v2.remove_column()` first to reconfigure
259
+
260
+
**Error: "No configuration exists for column: table_name column_name"**
261
+
-**Cause**: Trying to add search configuration before configuring the column
262
+
-**Solution**: Run `eql_v2.add_column()` first, then add search indexes
263
+
264
+
### Getting Help
265
+
266
+
- Check the [full documentation](./docs/README.md)
0 commit comments