Class: AddOwnerToWorkspaces
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddOwnerToWorkspaces
- Defined in:
- db/migrate/20100908001428_add_owner_to_workspaces.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
6 7 8 |
# File 'db/migrate/20100908001428_add_owner_to_workspaces.rb', line 6 def self.down remove_column :workspaces, :owner_id end |
.up ⇒ Object
2 3 4 |
# File 'db/migrate/20100908001428_add_owner_to_workspaces.rb', line 2 def self.up add_column :workspaces, :owner_id, :integer end |