README.md in lockbox-1.4.0 vs README.md in lockbox-1.4.1

- old
+ new

@@ -70,11 +70,11 @@ ## Active Record Create a migration with: ```ruby -class AddEmailCiphertextToUsers < ActiveRecord::Migration[7.1] +class AddEmailCiphertextToUsers < ActiveRecord::Migration[7.2] def change add_column :users, :email_ciphertext, :text end end ``` @@ -249,11 +249,11 @@ **Note:** Action Text uses direct uploads for files, which cannot be encrypted with application-level encryption like Lockbox. This only encrypts the database field. Create a migration with: ```ruby -class AddBodyCiphertextToRichTexts < ActiveRecord::Migration[7.1] +class AddBodyCiphertextToRichTexts < ActiveRecord::Migration[7.2] def change add_column :action_text_rich_texts, :body_ciphertext, :text end end ``` @@ -380,11 +380,11 @@ Encryption is applied to all versions after processing. You can mount the uploader [as normal](https://github.com/carrierwaveuploader/carrierwave#activerecord). With Active Record, this involves creating a migration: ```ruby -class AddLicenseToUsers < ActiveRecord::Migration[7.1] +class AddLicenseToUsers < ActiveRecord::Migration[7.2] def change add_column :users, :license, :string end end ``` @@ -908,11 +908,11 @@ ## Binary Columns You can use `binary` columns for the ciphertext instead of `text` columns. ```ruby -class AddEmailCiphertextToUsers < ActiveRecord::Migration[7.1] +class AddEmailCiphertextToUsers < ActiveRecord::Migration[7.2] def change add_column :users, :email_ciphertext, :binary end end ``` @@ -959,11 +959,11 @@ ``` Create a migration with: ```ruby -class MigrateToLockbox < ActiveRecord::Migration[7.1] +class MigrateToLockbox < ActiveRecord::Migration[7.2] def change add_column :users, :name_ciphertext, :text add_column :users, :email_ciphertext, :text end end @@ -992,10 +992,10 @@ ``` Then remove the previous gem from your Gemfile and drop its columns. ```ruby -class RemovePreviousEncryptedColumns < ActiveRecord::Migration[7.1] +class RemovePreviousEncryptedColumns < ActiveRecord::Migration[7.2] def change remove_column :users, :encrypted_name, :text remove_column :users, :encrypted_name_iv, :text remove_column :users, :encrypted_email, :text remove_column :users, :encrypted_email_iv, :text