Skip to content

Instantly share code, notes, and snippets.

@shawndrost
Created February 15, 2012 21:22
Show Gist options
  • Save shawndrost/1839079 to your computer and use it in GitHub Desktop.
Save shawndrost/1839079 to your computer and use it in GitHub Desktop.
(0.2ms) SHOW search_path
(1.4ms) ALTER TABLE "amenities" DISABLE TRIGGER ALL;ALTER TABLE "cities" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "admins" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "rails_admin_histories" DISABLE TRIGGER ALL;ALTER TABLE "roommates" DISABLE TRIGGER ALL;ALTER TABLE "neighborhoods" DISABLE TRIGGER ALL;ALTER TABLE "neighborhoods_users" DISABLE TRIGGER ALL;ALTER TABLE "places" DISABLE TRIGGER ALL;ALTER TABLE "amenities_places" DISABLE TRIGGER ALL;ALTER TABLE "blocked_places" DISABLE TRIGGER ALL;ALTER TABLE "blocked_users" DISABLE TRIGGER ALL;ALTER TABLE "favorited_places" DISABLE TRIGGER ALL;ALTER TABLE "favorited_users" DISABLE TRIGGER ALL
(0.1ms) select current_database()
(1.0ms) select table_name from information_schema.views where table_schema = 'okcl_cp_build'
(30.5ms) TRUNCATE TABLE "amenities", "cities", "users", "admins", "rails_admin_histories", "roommates", "neighborhoods", "neighborhoods_users", "places", "amenities_places", "blocked_places", "blocked_users", "favorited_places", "favorited_users" RESTART IDENTITY CASCADE;
(1.1ms) ALTER TABLE "amenities" ENABLE TRIGGER ALL;ALTER TABLE "cities" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admins" ENABLE TRIGGER ALL;ALTER TABLE "rails_admin_histories" ENABLE TRIGGER ALL;ALTER TABLE "roommates" ENABLE TRIGGER ALL;ALTER TABLE "neighborhoods" ENABLE TRIGGER ALL;ALTER TABLE "neighborhoods_users" ENABLE TRIGGER ALL;ALTER TABLE "places" ENABLE TRIGGER ALL;ALTER TABLE "amenities_places" ENABLE TRIGGER ALL;ALTER TABLE "blocked_places" ENABLE TRIGGER ALL;ALTER TABLE "blocked_users" ENABLE TRIGGER ALL;ALTER TABLE "favorited_places" ENABLE TRIGGER ALL;ALTER TABLE "favorited_users" ENABLE TRIGGER ALL
(0.1ms) BEGIN
(0.3ms) ROLLBACK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment