Sha256: 7e88d9c090fc93fea7e8315aa4c3cf55ad727cf33de024c91b27df646678bd50

Contents?: true

Size: 202 Bytes

Versions: 59

Compression:

Stored size: 202 Bytes

Contents

class MessageFunctions < ActiveRecord::Migration
  def self.up
    rename_column :messages, :function, :function_id
  end

  def self.down
    rename_column :messages, :function_id, :function
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.38 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.37 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.36 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.35 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.33 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.32 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.31 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.30 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.29 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.28 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.27 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.26 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.25 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.24 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.23 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.20 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.19 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.18 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.17 db/migrate/20091019124021_message_functions.rb
radiant-reader-extension-3.0.16 db/migrate/20091019124021_message_functions.rb