diff options
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20090321150359_add_locking_user_id_to_nodes.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20090321150359_add_locking_user_id_to_nodes.rb b/db/migrate/20090321150359_add_locking_user_id_to_nodes.rb new file mode 100644 index 0000000..b40dd71 --- /dev/null +++ b/db/migrate/20090321150359_add_locking_user_id_to_nodes.rb | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | class AddLockingUserIdToNodes < ActiveRecord::Migration | ||
| 2 | def self.up | ||
| 3 | add_column :nodes, :locking_user_id, :integer | ||
| 4 | end | ||
| 5 | |||
| 6 | def self.down | ||
| 7 | remove_column :nodes, :locking_user_id | ||
| 8 | end | ||
| 9 | end | ||
