chore: init commit
in worker.../repo/GITFOLDER.zip is the .git folder.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
current_year = Date.current.year
|
||||
start_year = current_year - 3
|
||||
end_year = current_year + 10
|
||||
|
||||
(start_year..end_year).each do |i|
|
||||
year = Year.find_or_create_by(name: "#{i} - #{i + 1}")
|
||||
year.save!
|
||||
end
|
||||
Reference in New Issue
Block a user