Skip to content

Commit

Permalink
Sucessful movies import
Browse files Browse the repository at this point in the history
git-svn-id: svn://had.co.nz/projects/projects/movies@145 688fc0e7-72e3-0310-a89e-c7106b9812cc
  • Loading branch information
hadley committed Feb 21, 2005
1 parent 1c841b6 commit f87b908
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions import.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,14 @@ def import_ratings
end
end

import_movies
import_ratings
import_times
import_budgets
import_genres
#import_movies
#import_ratings
#import_times
#import_budgets
#import_genres

#puts Movie.count( "budget > 0")
#puts Movie.count( "length > 0")
#puts Movie.count( "budget > 0 and length > 0")
#puts Movie.count( "budget > 0 and length > 0 and imdb_votes > 0")
puts Movie.count( "budget > 0")
puts Movie.count( "length > 0")
puts Movie.count( "budget > 0 and length > 0")
puts Movie.count( "imdb_votes > 0 and length > 0")
puts Movie.count( "budget > 0 and length > 0 and imdb_votes > 0")
Binary file added movies-back.db.gz
Binary file not shown.

0 comments on commit f87b908

Please sign in to comment.