Sha256: 7430f9311aea30600a2872e604ab21319daa55ccb2c7a005af7859b865642287
Contents?: true
Size: 375 Bytes
Versions: 6
Compression:
Stored size: 375 Bytes
Contents
class AddEditableIsDefaultAndIndexOnEditableIsDefaultAndNameToSpreeRoles < ActiveRecord::Migration def change add_column :spree_roles, :editable, :boolean, :default => true add_column :spree_roles, :is_default, :boolean, :default => false add_index(:spree_roles, :name) add_index(:spree_roles, :is_default) add_index(:spree_roles, :editable) end end
Version data entries
6 entries across 6 versions & 1 rubygems