Open renatocron opened 3 months ago
Disabling the warning for specific models could be done with an environment variable, for example:
DISABLE_MIGRATION_WARNING=api_request_log,other_model
Would you like to open a PR?
@franky47 I can make further changes if needed, https://github.com/47ng/prisma-field-encryption/pull/104
Hello!
I'm using this plugin in on a model where I unique with
@@unique([created_at, cf_ray, request_num])
. This table is in the database is actually partitioned on created_at /daily using timescaledb so I cannot have another column as PK, unless I lie in the schema and change in the production modelSo, I would appreciate if I have a way to disable the warning, or a way to implement a workarround
I've tried using the @encryption:cursor, but it as well only has the same limitation as with the @id field, so it do not accept compound fields
schema, if need, to reproduce the log message: