Sha256: 839d7bfd4fd74adc0d5e8b403aa2bb48fe30bca833b62461ae200476912cb232

Contents?: true

Size: 216 Bytes

Versions: 106

Compression:

Stored size: 216 Bytes

Contents

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

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

Version data entries

106 entries across 106 versions & 1 rubygems

Version Path
trusty-cms-4.2.3 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-4.2.2 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-4.2.1 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-4.2 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-4.1.9 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-4.1.8 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-4.1.7 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-4.1.6 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-4.1.5 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-4.1.4 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-4.1.3 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-4.1.2 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-4.1.1 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-4.1.0 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-4.0.2 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.9.7 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.9.6 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.9.5 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-4.0.1 db/migrate/20090929164633_rename_developer_role_to_designer.rb
trusty-cms-3.9.4 db/migrate/20090929164633_rename_developer_role_to_designer.rb