chore: disable partial inserts so we can change default column values

This commit is contained in:
Colin Darie 2024-06-24 16:46:49 +02:00
parent 169f07cadd
commit c5008e42af
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -103,6 +103,7 @@ module TPS
config.active_record.encryption.primary_key = Rails.application.secrets.active_record_encryption.fetch(:primary_key) config.active_record.encryption.primary_key = Rails.application.secrets.active_record_encryption.fetch(:primary_key)
config.active_record.encryption.key_derivation_salt = Rails.application.secrets.active_record_encryption.fetch(:key_derivation_salt) config.active_record.encryption.key_derivation_salt = Rails.application.secrets.active_record_encryption.fetch(:key_derivation_salt)
config.active_record.partial_inserts = false
config.exceptions_app = self.routes config.exceptions_app = self.routes