Sha256: 4c282126906eb135d8130242014ef31ac50c0afbaa03bb0ff0666e6d5e1ea8fd
Contents?: true
Size: 272 Bytes
Versions: 12
Compression:
Stored size: 272 Bytes
Contents
class ChangeAlchemyUsersRoleToRoles < ActiveRecord::Migration def up rename_column :alchemy_users, :role, :roles add_index :alchemy_users, :roles end def down remove_index :alchemy_users, :roles rename_column :alchemy_users, :roles, :role end end
Version data entries
12 entries across 6 versions & 1 rubygems