Rakefile in dsu-2.4.4 vs Rakefile in dsu-3.0.0.alpha.0
- old
+ new
@@ -8,5 +8,11 @@
require "rubocop/rake_task"
RuboCop::RakeTask.new
task default: %i[spec rubocop]
+
+desc 'Generate a migration timestamp'
+task :timestamp do
+ puts 'The below migration timestamp should be placed in the "lib/dsu/migration/version.rb" file.'
+ puts Time.now.strftime('%Y%m%d%H%M%S')
+end