]> git.openstreetmap.org Git - rails.git/blob - app/models/old_node_tag.rb
Migration to add close-time to changesets. This replaces the boolean 'open' attribute...
[rails.git] / app / models / old_node_tag.rb
1 class OldNodeTag < ActiveRecord::Base
2   belongs_to :user
3
4   set_table_name 'node_tags'
5
6   validates_presence_of :id, :version
7   validates_length_of :k, :v, :within => 0..255, :allow_blank => true
8
9 end