Sha256: e64764f4dd42ed8f2710a1a393ecd5ba98d465ccd429005006fc2d58acfd4c80

Contents?: true

Size: 194 Bytes

Versions: 1

Compression:

Stored size: 194 Bytes

Contents

class AddForeignKeyToUsersTable < ActiveRecord::Migration[5.2]
  def change
    add_foreign_key :solidus_jwt_tokens, Spree.user_class.table_name, column: :user_id, on_delete: :cascade
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_jwt-1.1.0 db/migrate/20191212083655_add_foreign_key_to_users_table.rb