adding node tag models
This commit is contained in:
parent
f7d2bf9e39
commit
cf21eae743
2 changed files with 12 additions and 0 deletions
5
app/models/node_tag.rb
Normal file
5
app/models/node_tag.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class NodeTag < ActiveRecord::Base
|
||||
set_table_name 'current_node_tags'
|
||||
|
||||
belongs_to :node, :foreign_key => 'id'
|
||||
end
|
7
app/models/old_node_tag.rb
Normal file
7
app/models/old_node_tag.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
class OldNodeTag < ActiveRecord::Base
|
||||
belongs_to :user
|
||||
|
||||
set_table_name 'node_tags'
|
||||
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue