Sha256: 20422c76ceeec6bb83ce648e86bc63d9b5f00f412b1b7dd0c9c5f961cc8ed8ca
Contents?: true
Size: 356 Bytes
Versions: 8
Compression:
Stored size: 356 Bytes
Contents
# -*- encoding : utf-8 -*- class TokenUpgrade < Card::Migration::Core def up update_card! :token, name: "*api key", codename: "api_key", update_referers: true delete_code_card :expiration %i[user signup].each do |type| %i[salt status api_key].each do |field| Card[[type, :account, field]]&.delete! end end end end
Version data entries
8 entries across 8 versions & 1 rubygems