summaryrefslogtreecommitdiff
path: root/db/migrate/20201007140032_add_guest_token_to_subscriptions.rb
blob: 8ed2ecb9538f8d3aaafb92753c26524c2b852682 (plain)
1
2
3
4
5
6
class AddGuestTokenToSubscriptions < ActiveRecord::Migration[5.2]
  def change
    add_column :solidus_subscriptions_subscriptions, :guest_token, :string
    add_index :solidus_subscriptions_subscriptions, :guest_token, unique: true
  end
end