Sha256: 759fa701fe6b2ce174b7d80ca5629da29a406c159a244631bc5896910a643a87

Contents?: true

Size: 258 Bytes

Versions: 17

Compression:

Stored size: 258 Bytes

Contents

class RenamePublishGroupToDriveGroup < ActiveRecord::Migration
  def self.up
    remove_column :nodes, :dgroup_id  # old stuff
    rename_column :nodes, :pgroup_id, :dgroup_id
  end

  def self.down
    rename_column :nodes, :dgroup_id, :pgroup_id
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
zena-1.2.8 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.2.7 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.2.6 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.2.5 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.2.4 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.2.3 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.2.2 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.2.1 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.2.0 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.1.3 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.1.2 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.1.1 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.1.0 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.0.0 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.0.0.rc3 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.0.0.rc2 db/fix/20091013100351_rename_publish_group_to_drive_group.rb
zena-1.0.0.rc1 db/fix/20091013100351_rename_publish_group_to_drive_group.rb