Sha256: a05ca9f6fa6ec8be7116af94ee61c7b23f33b2b6f96d7f4a41da7a67046857d1

Contents?: true

Size: 316 Bytes

Versions: 57

Compression:

Stored size: 316 Bytes

Contents

class RenameUsers < ActiveRecord::Migration
  
  def self.up
    rename_column :assets, :created_by, :created_by_id
    rename_column :assets, :updated_by, :updated_by_id
  end

  def self.down
    rename_column :assets, :created_by_id, :created_by
    rename_column :assets, :updated_by_id, :updated_by
  end
  
end

Version data entries

57 entries across 57 versions & 5 rubygems

Version Path
trusty-clipped-extension-1.0.11 db/migrate/005_rename_users.rb
trusty-clipped-extension-1.0.10 db/migrate/005_rename_users.rb
trusty-clipped-extension-1.0.9 db/migrate/005_rename_users.rb
trusty-clipped-extension-1.0.8 db/migrate/005_rename_users.rb
trusty-clipped-extension-1.0.7 db/migrate/005_rename_users.rb
trusty-clipped-extension-1.0.6 db/migrate/005_rename_users.rb
trusty-clipped-extension-1.0.5 db/migrate/005_rename_users.rb
trusty-clipped-extension-1.0.4 db/migrate/005_rename_users.rb
trusty-clipped-extension-1.0.3 db/migrate/005_rename_users.rb
trusty-clipped-extension-1.0.2 db/migrate/005_rename_users.rb
trusty-clipped-extension-1.0.1 db/migrate/005_rename_users.rb
trusty-clipped-extension-1.0.0 db/migrate/005_rename_users.rb
radiant-clipped-extension-add-group-1.1.2 db/migrate/005_rename_users.rb
radiant-clipped-extension-1.1.1 db/migrate/005_rename_users.rb
radiant-clipped-extension-1.1.0 db/migrate/005_rename_users.rb
radiant-clipped-extension-1.0.17 db/migrate/005_rename_users.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/radiant-clipped-extension-1.0.16/db/migrate/005_rename_users.rb
radiant-clipped-extension-1.0.16 db/migrate/005_rename_users.rb
radiant-clipped-extension-1.0.15 db/migrate/005_rename_users.rb
radiant-clipped-extension-1.0.14 db/migrate/005_rename_users.rb