lib/sportdb.rb in sportdb-0.5.0 vs lib/sportdb.rb in sportdb-0.5.1
- old
+ new
@@ -23,10 +23,11 @@
module SportDB # forward reference; more to come later
end
require 'sportdb/models/badge'
+require 'sportdb/models/city'
require 'sportdb/models/country'
require 'sportdb/models/event'
require 'sportdb/models/event_team'
require 'sportdb/models/game'
require 'sportdb/models/group'
@@ -97,10 +98,14 @@
EventTeam.delete_all
Group.delete_all
GroupTeam.delete_all
Round.delete_all
Prop.delete_all
- Country.delete_all
+ Country.delete_all
+ City.delete_all
+ Badge.delete_all
+ League.delete_all
+ Season.delete_all
end
end
# delete ALL records (use with care!)
\ No newline at end of file