20140608000001_update_ticket_replace.rb 352 B

123456789101112
  1. class UpdateTicketReplace < ActiveRecord::Migration
  2. def up
  3. rename_column :tickets, :ticket_priority_id, :priority_id
  4. rename_column :tickets, :ticket_state_id, :state_id
  5. rename_column :ticket_articles, :ticket_article_type_id, :type_id
  6. rename_column :ticket_articles, :ticket_article_sender_id, :sender_id
  7. end
  8. def down
  9. end
  10. end