From cf21eae743566090dbdd42198245d6d5183d4fdb Mon Sep 17 00:00:00 2001 From: Nick Black Date: Sat, 3 May 2008 14:07:07 +0000 Subject: [PATCH] adding node tag models --- app/models/node_tag.rb | 5 +++++ app/models/old_node_tag.rb | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 app/models/node_tag.rb create mode 100644 app/models/old_node_tag.rb diff --git a/app/models/node_tag.rb b/app/models/node_tag.rb new file mode 100644 index 000000000..9795ff493 --- /dev/null +++ b/app/models/node_tag.rb @@ -0,0 +1,5 @@ +class NodeTag < ActiveRecord::Base + set_table_name 'current_node_tags' + + belongs_to :node, :foreign_key => 'id' +end diff --git a/app/models/old_node_tag.rb b/app/models/old_node_tag.rb new file mode 100644 index 000000000..26a6c92b4 --- /dev/null +++ b/app/models/old_node_tag.rb @@ -0,0 +1,7 @@ +class OldNodeTag < ActiveRecord::Base + belongs_to :user + + set_table_name 'node_tags' + + +end -- 2.39.5