adding node tag models

This commit is contained in:
Nick Black 2008-05-03 14:07:07 +00:00
parent f7d2bf9e39
commit cf21eae743
2 changed files with 12 additions and 0 deletions

5
app/models/node_tag.rb Normal file
View file

@ -0,0 +1,5 @@
class NodeTag < ActiveRecord::Base
set_table_name 'current_node_tags'
belongs_to :node, :foreign_key => 'id'
end

View file

@ -0,0 +1,7 @@
class OldNodeTag < ActiveRecord::Base
belongs_to :user
set_table_name 'node_tags'
end