Class: AddHostPurpose
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddHostPurpose
- Defined in:
- db/migrate/016_add_host_purpose.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
6 7 8 |
# File 'db/migrate/016_add_host_purpose.rb', line 6 def self.down remove_column :hosts, :purpose end |
.up ⇒ Object
2 3 4 |
# File 'db/migrate/016_add_host_purpose.rb', line 2 def self.up add_column :hosts, :purpose, :text end |