Skip to content

Commit

Permalink
Change migration number to UTC time
Browse files Browse the repository at this point in the history
I specified migration number to use UTC, making the migration order correct.
  • Loading branch information
sangyongjung authored Mar 23, 2018
1 parent 115a506 commit f458a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/ckeditor/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def self.source_root
end

def self.next_migration_number(_dirname)
Time.now.strftime('%Y%m%d%H%M%S')
Time.now.utc.strftime('%Y%m%d%H%M%S')
end

# copy configuration
Expand Down

0 comments on commit f458a92

Please sign in to comment.