Commit a2c807b9 by Joshua Vickery

don't include schema version in annotations as that results in massive

changes to files that don't need to be changed
parent 467978c5
......@@ -112,10 +112,6 @@ module AnnotateModels
# then pas it to the associated block
def do_annotations
header = PREFIX.dup
version = ActiveRecord::Migrator.current_version rescue 0
if version > 0
header << "\n# Schema version: #{version}"
end
annotated = []
get_model_files.each do |file|
......@@ -132,4 +128,4 @@ module AnnotateModels
puts "Annotated #{annotated.join(', ')}"
end
end
end
\ No newline at end of file
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment