Sha256: 459f5515cb240ba71c32130521a1794ad96f1e89e55123905b7310fe23da29b8

Contents?: true

Size: 216 Bytes

Versions: 16

Compression:

Stored size: 216 Bytes

Contents

class RenameDeveloperRoleToDesigner < ActiveRecord::Migration[5.1]
  def self.up
    rename_column 'users', 'developer', 'designer'
  end

  def self.down
    rename_column 'users', 'designer', 'developer'
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
trusty-cms-3.3.2 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.3.1 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.2.1 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.3.0 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.2.0 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.1.11 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.1.10 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.1.9 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.1.8 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.1.7 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.1.6 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.1.5 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.1.3 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.1.2 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.1.1 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.1.0 db/migrate/20090929164633_rename_developer_role_to_designer.rb