source:
de.wigbels.ruby/contact/db/migrate/005_contact_surname.rb@
7b22594
Last change on this file since 7b22594 was 7b7d827, checked in by , 11 years ago | |
---|---|
|
|
File size: 146 bytes |
Rev | Line | |
---|---|---|
[7b7d827] | 1 | class ContactSurname < ActiveRecord::Migration |
2 | def self.up | |
3 | rename_column :contacts, :surename, :surname | |
4 | end | |
5 | ||
6 | def self.down | |
7 | end | |
8 | end |
Note:
See TracBrowser
for help on using the repository browser.