Sha256: 1876ec8b055badd35c55da1c6022759837e5eaa0431ba1025bb3d5f7480c6952
Contents?: true
Size: 203 Bytes
Versions: 17
Compression:
Stored size: 203 Bytes
Contents
class AddRolesUniqueConstraints < ActiveRecord::Migration[5.0] def change add_index :spree_roles, :name, unique: true add_index :spree_roles_users, [:user_id, :role_id], unique: true end end
Version data entries
17 entries across 17 versions & 1 rubygems