Commit 935e9412 by Joshua Vickery Committed by Henrik N

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

changes to files that don't need to be changed
parent 60fc98a2
......@@ -130,10 +130,6 @@ module AnnotateModels
# then pas it to the associated block
def do_annotations(options={})
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|
......
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