contacts done
This commit is contained in:
parent
68b925ea5e
commit
217c7a2288
60 changed files with 1286 additions and 439 deletions
11
db/migrate/20110816093648_rename_from_column_in_messages.rb
Executable file
11
db/migrate/20110816093648_rename_from_column_in_messages.rb
Executable file
|
@ -0,0 +1,11 @@
|
|||
class RenameFromColumnInMessages < ActiveRecord::Migration
|
||||
def self.up
|
||||
rename_column :messages, :from, :from_addr
|
||||
rename_column :messages, :to, :to_addr
|
||||
end
|
||||
|
||||
def self.down
|
||||
rename_column :messages, :from_addr, :from
|
||||
rename_column :messages, :to_addr, :to
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue