From: Nick Black Date: Sat, 3 May 2008 14:07:07 +0000 (+0000) Subject: adding node tag models X-Git-Tag: live~8130^2~389 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/cf21eae743566090dbdd42198245d6d5183d4fdb?hp=f7d2bf9e3903b309c79290db1b75f9a0e9b15b0a adding node tag models --- 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