Skip to content

Commit

Permalink
feat: 🎸 CSV フゑむル γ‚’ DB γ«γ‚€γƒ³γƒγƒΌγƒˆγ™γ‚‹γ‚Ώγ‚Ήγ‚―γ‚’δ½œζˆγ—γŸ (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikukyugamer committed Dec 3, 2023
1 parent 786e91c commit 65fe95a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/tasks/import_to_db.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace :import_to_db do
desc 'Import CSV files to DB'
task all: :environment do
ImportToDb::ArtistService.new.execute
ImportToDb::AlbumService.new.execute
ImportToDb::TrackService.new.execute
ImportToDb::FeatureService.new.execute
end
end

0 comments on commit 65fe95a

Please sign in to comment.