Files
ubicloud/migrate/20230809_allow_nil_encr_key.rb
Furkan Sahin 4f95dfa574 Start encrypting and forgetting nic encryption key
With this commit, we start to store encryption key in the database in encrypted
form instead of plain text. We also start to clean encryption key from the
database at the end of the mesh refreshing.
2023-08-11 10:52:48 +02:00

10 lines
150 B
Ruby

# frozen_string_literal: true
Sequel.migration do
change do
alter_table(:nic) do
set_column_allow_null :encryption_key
end
end
end