Skip to content

Commit

Permalink
Fixed SQL in reset views script
Browse files Browse the repository at this point in the history
  • Loading branch information
soyapi committed Feb 17, 2009
1 parent d46b705 commit 8b19baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/reset_views.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
if ARGV.include?('--complete')

puts 'Clearing schema_migrations, sessions, weight_for_heights'
ActiveRecord::Base.connection.execute('DELETE FROM schema_migrations IF EXISTS schema_migrations;')
ActiveRecord::Base.connection.execute('DELETE FROM schema_migrations;')
ActiveRecord::Base.connection.execute('DROP TABLE IF EXISTS sessions;')
ActiveRecord::Base.connection.execute('DROP TABLE IF EXISTS weight_for_heights;')

Expand Down

0 comments on commit 8b19baf

Please sign in to comment.