Commit 127b0c51 by martinstannard

remove version string because it makes us have to commit our files again even if…

remove version string because it makes us have to commit our files again even if nothing has changed
parent c1460b6d
......@@ -151,9 +151,6 @@ module AnnotateModels
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