Sha256: 355b36a794d979d99d29c00a6b67e999d7c2b26c4cb5dd91bce0519e6fe1c2b6

Contents?: true

Size: 188 Bytes

Versions: 20

Compression:

Stored size: 188 Bytes

Contents

class RenameNameToNodeName < ActiveRecord::Migration
  def self.up
    rename_column :nodes, :name, :node_name
  end

  def self.down
    rename_column :nodes, :node_name, :name
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
zena-1.2.8 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.2.7 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.2.6 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.2.5 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.2.4 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.2.3 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.2.2 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.2.1 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.2.0 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.1.3 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.1.2 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.1.1 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.1.0 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.0.0 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.0.0.rc3 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.0.0.rc2 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.0.0.rc1 db/fix/old_migrations/20100419163149_rename_name_to_node_name.rb
zena-1.0.0.beta3 db/migrate/20100419163149_rename_name_to_node_name.rb
zena-1.0.0.beta2 db/migrate/20100419163149_rename_name_to_node_name.rb
zena-1.0.0.beta1 db/migrate/20100419163149_rename_name_to_node_name.rb