Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (41.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (4.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseErpServices (20121213234212)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal(3,8), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" decimal(8,2), "currency_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.1ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.1ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.1ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)   (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)   (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.1ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234212')  (7.4ms) commit transaction Migrating to FinancialAccountingServices (20121213234213)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "gl_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "price_plan_comp_gl_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pricing_plan_component_id" integer, "gl_account_id" integer, "mapping_rule_klass" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234213')  (9.1ms) commit transaction Migrating to BaseTechServices (20121213234214)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "security_question_1" varchar(255), "security_answer_1" varchar(255), "security_question_2" varchar(255), "security_answer_2" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("users")  (0.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.2ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.2ms) CREATE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.2ms) CREATE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.1ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.2ms) CREATE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.3ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("sessions")  (0.2ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.2ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "width" varchar(255), "height" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.2ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.2ms) CREATE INDEX "index_file_assets_on_name" ON "file_assets" ("name")  (0.1ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_name')  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "index_file_assets_on_directory" ON "file_assets" ("directory")  (0.2ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer)  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234214')  (7.9ms) commit transaction Migrating to CreateHasAttributeTables (20121213234215)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "attribute_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "data_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("attribute_types")  (0.1ms) CREATE INDEX ":attribute_types_iid_idx" ON "attribute_types" ("internal_identifier")  (0.1ms) CREATE TABLE "attribute_values" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attributed_record_id" integer, "attributed_record_type" varchar(255), "attribute_type_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("attribute_values")  (0.2ms) CREATE INDEX "attribute_values_attributed_record_idx" ON "attribute_values" ("attributed_record_id", "attributed_record_type")  (0.0ms) PRAGMA index_list("attribute_values")  (0.0ms) PRAGMA index_info('attribute_values_attributed_record_idx')  (0.1ms) CREATE INDEX "attribute_values_attributed_type_idx" ON "attribute_values" ("attribute_type_id")  (0.0ms) PRAGMA index_list("attribute_values")  (0.0ms) PRAGMA index_info('attribute_values_attributed_type_idx')  (0.0ms) PRAGMA index_info('attribute_values_attributed_record_idx')  (0.2ms) CREATE INDEX "attribute_values_value_idx" ON "attribute_values" ("value")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234215')  (10.0ms) commit transaction Migrating to BaseOrders (20121213234216)  (0.0ms) begin transaction  (0.6ms) CREATE TABLE "order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("order_txns")  (0.2ms) CREATE INDEX "index_order_txns_on_order_txn_type_id" ON "order_txns" ("order_txn_type_id")  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.2ms) CREATE INDEX "order_txn_record_idx" ON "order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.2ms) CREATE TABLE "order_txn_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("order_txn_types")  (0.2ms) CREATE INDEX "index_order_txn_types_on_parent_id" ON "order_txn_types" ("parent_id")  (0.2ms) CREATE TABLE "order_line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_txn_id" integer, "order_line_item_type_id" integer, "product_id" integer, "product_description" varchar(255), "product_instance_id" integer, "product_instance_description" varchar(255), "product_type_id" integer, "product_type_description" varchar(255), "sold_price" decimal(8,2), "sold_price_uom" integer, "sold_amount" integer, "sold_amount_uom" integer, "product_offer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("order_line_items")  (0.2ms) CREATE INDEX "index_order_line_items_on_order_txn_id" ON "order_line_items" ("order_txn_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.2ms) CREATE INDEX "index_order_line_items_on_order_line_item_type_id" ON "order_line_items" ("order_line_item_type_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_id" ON "order_line_items" ("product_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_instance_id" ON "order_line_items" ("product_instance_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_instance_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_type_id" ON "order_line_items" ("product_type_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_instance_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_offer_id" ON "order_line_items" ("product_offer_id")  (0.2ms) CREATE TABLE "order_line_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("order_line_item_types")  (0.1ms) CREATE INDEX "index_order_line_item_types_on_parent_id" ON "order_line_item_types" ("parent_id")  (0.2ms) CREATE TABLE "order_line_item_pty_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "order_line_item_id" integer, "party_id" integer, "line_item_role_type_id" integer, "biz_txn_acct_root_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_order_line_item_id" ON "order_line_item_pty_roles" ("order_line_item_id")  (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_order_line_item_id')  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_party_id" ON "order_line_item_pty_roles" ("party_id")  (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_order_line_item_id')  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_line_item_role_type_id" ON "order_line_item_pty_roles" ("line_item_role_type_id")  (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_line_item_role_type_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_order_line_item_id')  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_biz_txn_acct_root_id" ON "order_line_item_pty_roles" ("biz_txn_acct_root_id")  (0.2ms) CREATE TABLE "line_item_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("line_item_role_types")  (0.1ms) CREATE INDEX "index_line_item_role_types_on_parent_id" ON "line_item_role_types" ("parent_id")  (0.2ms) CREATE TABLE "charge_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sti_type" varchar(255), "money_id" integer, "description" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "charged_item_id" integer, "charged_item_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("charge_lines")  (0.1ms) CREATE INDEX "charged_item_idx" ON "charge_lines" ("charged_item_id", "charged_item_type")  (0.2ms) CREATE TABLE "charge_line_payment_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "charge_line_id" integer, "payment_txn_id" integer, "payment_txn_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("charge_line_payment_txns")  (0.1ms) CREATE INDEX "payment_txn_idx" ON "charge_line_payment_txns" ("payment_txn_id", "payment_txn_type")  (0.0ms) PRAGMA index_list("charge_line_payment_txns")  (0.0ms) PRAGMA index_info('payment_txn_idx')  (0.1ms) CREATE INDEX "index_charge_line_payment_txns_on_charge_line_id" ON "charge_line_payment_txns" ("charge_line_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234216')  (7.6ms) commit transaction Migrating to BaseProducts (20121213234217)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "product_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "product_type_record_id" integer, "product_type_record_type" varchar(255), "external_identifier" varchar(255), "internal_identifier" varchar(255), "external_id_source" varchar(255), "default_image_url" varchar(255), "list_view_image_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "product_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "product_instance_record_id" integer, "product_instance_record_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "product_type_id" integer, "type" varchar(255), "prod_availability_status_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "product_offers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "product_offer_record_id" integer, "product_offer_record_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "simple_product_offers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "product_id" integer, "base_price" decimal(8,2), "uom" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) CREATE TABLE "prod_instance_reln_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "prod_instance_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "prod_instance_relns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "prod_instance_reln_type_id" integer, "description" varchar(255), "prod_instance_id_from" integer, "prod_instance_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "prod_type_reln_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "prod_type_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "prod_type_relns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "prod_type_reln_type_id" integer, "description" varchar(255), "prod_type_id_from" integer, "prod_type_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "product_instance_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "prod_availability_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234217')  (7.3ms) commit transaction Migrating to BaseProductsIndexes (20121213234218)  (0.1ms) begin transaction  (0.1ms) PRAGMA index_list("product_types")  (0.5ms) CREATE INDEX "index_product_types_on_parent_id" ON "product_types" ("parent_id")  (0.0ms) PRAGMA index_list("product_types")  (0.0ms) PRAGMA index_info('index_product_types_on_parent_id')  (0.2ms) CREATE INDEX "bpi_1" ON "product_types" ("product_type_record_id", "product_type_record_type")  (0.0ms) PRAGMA index_list("product_instances")  (0.2ms) CREATE INDEX "index_product_instances_on_parent_id" ON "product_instances" ("parent_id")  (0.0ms) PRAGMA index_list("product_instances")  (0.0ms) PRAGMA index_info('index_product_instances_on_parent_id')  (0.2ms) CREATE INDEX "bpi_2" ON "product_instances" ("product_instance_record_id", "product_instance_record_type")  (0.0ms) PRAGMA index_list("product_instances")  (0.0ms) PRAGMA index_info('bpi_2')  (0.0ms) PRAGMA index_info('index_product_instances_on_parent_id')  (0.2ms) CREATE INDEX "index_product_instances_on_product_type_id" ON "product_instances" ("product_type_id")  (0.0ms) PRAGMA index_list("product_offers")  (0.2ms) CREATE INDEX "bpi_3" ON "product_offers" ("product_offer_record_id", "product_offer_record_type")  (0.0ms) PRAGMA index_list("simple_product_offers")  (0.2ms) CREATE INDEX "index_simple_product_offers_on_product_id" ON "simple_product_offers" ("product_id")  (0.0ms) PRAGMA index_list("prod_instance_reln_types")  (0.2ms) CREATE INDEX "index_prod_instance_reln_types_on_parent_id" ON "prod_instance_reln_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_instance_role_types")  (0.2ms) CREATE INDEX "index_prod_instance_role_types_on_parent_id" ON "prod_instance_role_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_instance_relns")  (0.2ms) CREATE INDEX "index_prod_instance_relns_on_prod_instance_reln_type_id" ON "prod_instance_relns" ("prod_instance_reln_type_id")  (0.0ms) PRAGMA index_list("prod_instance_relns")  (0.0ms) PRAGMA index_info('index_prod_instance_relns_on_prod_instance_reln_type_id')  (0.2ms) CREATE INDEX "index_prod_instance_relns_on_status_type_id" ON "prod_instance_relns" ("status_type_id")  (0.0ms) PRAGMA index_list("prod_type_reln_types")  (0.2ms) CREATE INDEX "index_prod_type_reln_types_on_parent_id" ON "prod_type_reln_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_type_role_types")  (0.2ms) CREATE INDEX "index_prod_type_role_types_on_parent_id" ON "prod_type_role_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_type_relns")  (0.2ms) CREATE INDEX "index_prod_type_relns_on_prod_type_reln_type_id" ON "prod_type_relns" ("prod_type_reln_type_id")  (0.0ms) PRAGMA index_list("prod_type_relns")  (0.0ms) PRAGMA index_info('index_prod_type_relns_on_prod_type_reln_type_id')  (0.2ms) CREATE INDEX "index_prod_type_relns_on_status_type_id" ON "prod_type_relns" ("status_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234218')  (9.3ms) commit transaction Migrating to BaseTxnsAndAccts (20121213234219)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "biz_txn_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "biz_txn_acct_root_id" integer, "biz_txn_type_id" integer, "entered_date" datetime, "post_date" datetime, "biz_txn_record_id" integer, "biz_txn_record_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_events")  (0.2ms) CREATE INDEX "index_biz_txn_events_on_biz_txn_acct_root_id" ON "biz_txn_events" ("biz_txn_acct_root_id")  (0.0ms) PRAGMA index_list("biz_txn_events")  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_acct_root_id')  (0.2ms) CREATE INDEX "index_biz_txn_events_on_biz_txn_type_id" ON "biz_txn_events" ("biz_txn_type_id")  (0.0ms) PRAGMA index_list("biz_txn_events")  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_acct_root_id')  (0.2ms) CREATE INDEX "btai_1" ON "biz_txn_events" ("biz_txn_record_id", "biz_txn_record_type")  (0.2ms) CREATE TABLE "biz_txn_event_descs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "language_id" integer, "locale_id" integer, "priority" integer, "sequence" integer, "short_description" varchar(255), "long_description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_event_descs")  (0.2ms) CREATE INDEX "index_biz_txn_event_descs_on_biz_txn_event_id" ON "biz_txn_event_descs" ("biz_txn_event_id")  (0.0ms) PRAGMA index_list("biz_txn_event_descs")  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_biz_txn_event_id')  (0.2ms) CREATE INDEX "index_biz_txn_event_descs_on_language_id" ON "biz_txn_event_descs" ("language_id")  (0.0ms) PRAGMA index_list("biz_txn_event_descs")  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_language_id')  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_biz_txn_event_id')  (0.2ms) CREATE INDEX "index_biz_txn_event_descs_on_locale_id" ON "biz_txn_event_descs" ("locale_id")  (0.2ms) CREATE TABLE "biz_txn_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_types")  (0.1ms) CREATE INDEX "biz_txn_type_nested_set_idx" ON "biz_txn_types" ("parent_id", "lft", "rgt")  (0.2ms) CREATE TABLE "biz_txn_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_rel_type_id" integer, "description" varchar(255), "txn_event_id_from" integer, "txn_event_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_relationships")  (0.1ms) CREATE INDEX "index_biz_txn_relationships_on_biz_txn_rel_type_id" ON "biz_txn_relationships" ("biz_txn_rel_type_id")  (0.0ms) PRAGMA index_list("biz_txn_relationships")  (0.0ms) PRAGMA index_info('index_biz_txn_relationships_on_biz_txn_rel_type_id')  (0.1ms) CREATE INDEX "index_biz_txn_relationships_on_status_type_id" ON "biz_txn_relationships" ("status_type_id")  (0.2ms) CREATE TABLE "biz_txn_rel_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_rel_types")  (0.1ms) CREATE INDEX "index_biz_txn_rel_types_on_parent_id" ON "biz_txn_rel_types" ("parent_id")  (0.1ms) CREATE TABLE "biz_txn_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "comments" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "biz_txn_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "biz_txn_task_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_task_types")  (0.1ms) CREATE INDEX "index_biz_txn_task_types_on_parent_id" ON "biz_txn_task_types" ("parent_id")  (0.1ms) CREATE TABLE "biz_txn_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "party_id" integer, "biz_txn_party_role_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_party_roles")  (0.1ms) CREATE INDEX "index_biz_txn_party_roles_on_biz_txn_event_id" ON "biz_txn_party_roles" ("biz_txn_event_id")  (0.0ms) PRAGMA index_list("biz_txn_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_biz_txn_event_id')  (0.1ms) CREATE INDEX "index_biz_txn_party_roles_on_party_id" ON "biz_txn_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("biz_txn_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_biz_txn_event_id')  (0.1ms) CREATE INDEX "index_biz_txn_party_roles_on_biz_txn_party_role_type_id" ON "biz_txn_party_roles" ("biz_txn_party_role_type_id")  (0.2ms) CREATE TABLE "biz_txn_party_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_party_role_types")  (0.1ms) CREATE INDEX "index_biz_txn_party_role_types_on_parent_id" ON "biz_txn_party_role_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_acct_roots" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "status" integer, "biz_txn_acct_id" integer, "biz_txn_acct_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_acct_roots")  (0.1ms) CREATE INDEX "btai_2" ON "biz_txn_acct_roots" ("biz_txn_acct_id", "biz_txn_acct_type")  (0.2ms) CREATE TABLE "biz_txn_acct_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "biz_txn_acct_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_acct_types")  (0.1ms) CREATE INDEX "index_biz_txn_acct_types_on_parent_id" ON "biz_txn_acct_types" ("parent_id")  (0.1ms) CREATE TABLE "biz_txn_acct_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "biz_txn_acct_rel_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_acct_rel_types")  (0.1ms) CREATE INDEX "index_biz_txn_acct_rel_types_on_parent_id" ON "biz_txn_acct_rel_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_acct_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_acct_rel_type_id" integer, "description" varchar(255), "biz_txn_acct_root_id_from" integer, "biz_txn_acct_root_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_acct_relationships")  (0.1ms) CREATE INDEX "index_biz_txn_acct_relationships_on_biz_txn_acct_rel_type_id" ON "biz_txn_acct_relationships" ("biz_txn_acct_rel_type_id")  (0.0ms) PRAGMA index_list("biz_txn_acct_relationships")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_relationships_on_biz_txn_acct_rel_type_id')  (0.1ms) CREATE INDEX "index_biz_txn_acct_relationships_on_status_type_id" ON "biz_txn_acct_relationships" ("status_type_id")  (0.2ms) CREATE TABLE "biz_txn_acct_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "biz_txn_acct_root_id" integer, "party_id" integer, "biz_txn_acct_pty_rtype_id" integer, "is_default_billing_acct_flag" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_acct_party_roles")  (0.1ms) CREATE INDEX "index_biz_txn_acct_party_roles_on_biz_txn_acct_root_id" ON "biz_txn_acct_party_roles" ("biz_txn_acct_root_id")  (0.0ms) PRAGMA index_list("biz_txn_acct_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_biz_txn_acct_root_id')  (0.1ms) CREATE INDEX "index_biz_txn_acct_party_roles_on_party_id" ON "biz_txn_acct_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("biz_txn_acct_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_biz_txn_acct_root_id')  (0.2ms) CREATE INDEX "index_biz_txn_acct_party_roles_on_biz_txn_acct_pty_rtype_id" ON "biz_txn_acct_party_roles" ("biz_txn_acct_pty_rtype_id")  (0.2ms) CREATE TABLE "biz_txn_acct_pty_rtypes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_acct_pty_rtypes")  (0.1ms) CREATE INDEX "index_biz_txn_acct_pty_rtypes_on_parent_id" ON "biz_txn_acct_pty_rtypes" ("parent_id")  (0.2ms) CREATE TABLE "biz_acct_txn_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_task_id" integer, "biz_txn_account_id" integer, "description" varchar(255), "comments" varchar(255), "entered_date" datetime, "requested_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_acct_txn_tasks")  (0.2ms) CREATE INDEX "index_biz_acct_txn_tasks_on_biz_txn_task_id" ON "biz_acct_txn_tasks" ("biz_txn_task_id")  (0.0ms) PRAGMA index_list("biz_acct_txn_tasks")  (0.0ms) PRAGMA index_info('index_biz_acct_txn_tasks_on_biz_txn_task_id')  (0.1ms) CREATE INDEX "index_biz_acct_txn_tasks_on_biz_txn_account_id" ON "biz_acct_txn_tasks" ("biz_txn_account_id")  (0.2ms) CREATE TABLE "biz_txn_agreement_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_agreement_role_types")  (0.2ms) CREATE INDEX "index_biz_txn_agreement_role_types_on_parent_id" ON "biz_txn_agreement_role_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_agreement_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "biz_txn_event_type" varchar(255), "agreement_id" integer, "biz_txn_agreement_role_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_agreement_roles")  (0.1ms) CREATE INDEX "index_biz_txn_agreement_roles_on_agreement_id" ON "biz_txn_agreement_roles" ("agreement_id")  (0.0ms) PRAGMA index_list("biz_txn_agreement_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_agreement_roles_on_agreement_id')  (0.1ms) CREATE INDEX "index_biz_txn_agreement_roles_on_biz_txn_agreement_role_type_id" ON "biz_txn_agreement_roles" ("biz_txn_agreement_role_type_id")  (0.1ms) CREATE TABLE "financial_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "money_id" integer, "apply_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "financial_txn_assns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "financial_txn_id" integer, "financial_txn_record_id" integer, "financial_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "financial_txn_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_number" varchar(255), "agreement_id" integer, "balance_id" integer, "balance_date" date, "calculate_balance" boolean, "payment_due_id" integer, "due_date" date, "financial_account_id" integer, "financial_account_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "base_txn_contexts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "txn_context_record_id" integer, "txn_context_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("base_txn_contexts")  (0.1ms) CREATE INDEX "txn_context_record_idx" ON "base_txn_contexts" ("txn_context_record_id", "txn_context_record_type")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234219')  (8.9ms) commit transaction Migrating to AgreementsServices (20121213234220)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "agreements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "agreement_type_id" integer, "agreement_status" varchar(255), "product_id" integer, "agreement_date" date, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "agreement_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) CREATE TABLE "agreement_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agreement_id" integer, "agreement_item_type_id" integer, "agreement_item_value" varchar(255), "description" varchar(255), "agreement_item_rule_string" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "agreement_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "agreement_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "agreement_id" integer, "party_id" integer, "role_type_id" integer, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "agreement_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agreement_reln_type_id" integer, "description" varchar(255), "agreement_id_from" integer, "agreement_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "agreement_reln_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "agreement_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "loyalty_program_codes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "identifier" varchar(255), "name" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234220')  (17.6ms) commit transaction Migrating to AgreementsServicesIndexes (20121213234221)  (0.2ms) begin transaction  (0.1ms) PRAGMA index_list("agreements")  (0.5ms) CREATE INDEX "index_agreements_on_agreement_type_id" ON "agreements" ("agreement_type_id")  (0.1ms) PRAGMA index_list("agreements")  (0.0ms) PRAGMA index_info('index_agreements_on_agreement_type_id')  (0.3ms) CREATE INDEX "index_agreements_on_product_id" ON "agreements" ("product_id")  (0.0ms) PRAGMA index_list("agreement_types")  (0.1ms) CREATE INDEX "index_agreement_types_on_parent_id" ON "agreement_types" ("parent_id")  (0.0ms) PRAGMA index_list("agreement_items")  (0.2ms) CREATE INDEX "index_agreement_items_on_agreement_id" ON "agreement_items" ("agreement_id")  (0.0ms) PRAGMA index_list("agreement_items")  (0.0ms) PRAGMA index_info('index_agreement_items_on_agreement_id')  (0.1ms) CREATE INDEX "index_agreement_items_on_agreement_item_type_id" ON "agreement_items" ("agreement_item_type_id")  (0.0ms) PRAGMA index_list("agreement_item_types")  (0.2ms) CREATE INDEX "index_agreement_item_types_on_parent_id" ON "agreement_item_types" ("parent_id")  (0.0ms) PRAGMA index_list("agreement_party_roles")  (0.1ms) CREATE INDEX "index_agreement_party_roles_on_agreement_id" ON "agreement_party_roles" ("agreement_id")  (0.0ms) PRAGMA index_list("agreement_party_roles")  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_agreement_id')  (0.1ms) CREATE INDEX "index_agreement_party_roles_on_party_id" ON "agreement_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("agreement_party_roles")  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_agreement_id')  (0.1ms) CREATE INDEX "index_agreement_party_roles_on_role_type_id" ON "agreement_party_roles" ("role_type_id")  (0.0ms) PRAGMA index_list("agreement_relationships")  (0.1ms) CREATE INDEX "index_agreement_relationships_on_agreement_reln_type_id" ON "agreement_relationships" ("agreement_reln_type_id")  (0.0ms) PRAGMA index_list("agreement_relationships")  (0.0ms) PRAGMA index_info('index_agreement_relationships_on_agreement_reln_type_id')  (0.1ms) CREATE INDEX "index_agreement_relationships_on_status_type_id" ON "agreement_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("agreement_reln_types")  (0.1ms) CREATE INDEX "index_agreement_reln_types_on_parent_id" ON "agreement_reln_types" ("parent_id")  (0.0ms) PRAGMA index_list("agreement_reln_types")  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_parent_id')  (0.1ms) CREATE INDEX "index_agreement_reln_types_on_valid_from_role_type_id" ON "agreement_reln_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("agreement_reln_types")  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_parent_id')  (0.2ms) CREATE INDEX "index_agreement_reln_types_on_valid_to_role_type_id" ON "agreement_reln_types" ("valid_to_role_type_id")  (0.0ms) PRAGMA index_list("agreement_role_types")  (0.1ms) CREATE INDEX "index_agreement_role_types_on_parent_id" ON "agreement_role_types" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234221')  (7.6ms) commit transaction Migrating to BaseAppFramework (20121213234222)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.2ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.2ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.2ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.2ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.2ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("user_preferences")  (0.2ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.2ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.2ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.2ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.2ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("app_containers")  (0.2ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.2ms) CREATE INDEX "index_app_containers_on_type" ON "app_containers" ("type")  (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "base_url" varchar(255), "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer)  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.2ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.2ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.2ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer)   (0.0ms) PRAGMA index_list("applications_widgets")  (0.2ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.2ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.2ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.2ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.2ms) CREATE TABLE "configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "active" boolean, "is_template" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("configurations")  (0.2ms) CREATE INDEX "index_configurations_on_is_template" ON "configurations" ("is_template")  (0.2ms) CREATE TABLE "valid_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "configured_item_id" integer, "configured_item_type" varchar(255), "configuration_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("valid_configurations")  (0.2ms) CREATE INDEX "configured_item_poly_idx" ON "valid_configurations" ("configured_item_id", "configured_item_type")  (0.0ms) PRAGMA index_list("valid_configurations")  (0.0ms) PRAGMA index_info('configured_item_poly_idx')  (0.2ms) CREATE INDEX "index_valid_configurations_on_configuration_id" ON "valid_configurations" ("configuration_id")  (0.2ms) CREATE TABLE "configuration_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "configuration_id" integer, "configuration_item_type_id" integer, "configuration_option_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("configuration_items")  (0.2ms) CREATE INDEX "index_configuration_items_on_configuration_id" ON "configuration_items" ("configuration_id")  (0.0ms) PRAGMA index_list("configuration_items")  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_id')  (0.2ms) CREATE INDEX "index_configuration_items_on_configuration_item_type_id" ON "configuration_items" ("configuration_item_type_id")  (0.0ms) PRAGMA index_list("configuration_items")  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_item_type_id')  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_id')  (0.2ms) CREATE INDEX "index_configuration_items_on_configuration_option_id" ON "configuration_items" ("configuration_option_id")  (0.2ms) CREATE TABLE "configuration_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "allow_user_defined_options" boolean DEFAULT 'f', "is_multi_optional" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "configuration_item_types_configurations" ("configuration_item_type_id" integer, "configuration_id" integer)  (0.0ms) PRAGMA index_list("configuration_item_types_configurations")  (0.2ms) CREATE INDEX "conf_conf_type_id_item_idx" ON "configuration_item_types_configurations" ("configuration_item_type_id")  (0.0ms) PRAGMA index_list("configuration_item_types_configurations")  (0.0ms) PRAGMA index_info('conf_conf_type_id_item_idx')  (0.2ms) CREATE INDEX "conf_id_idx" ON "configuration_item_types_configurations" ("configuration_id")  (0.0ms) PRAGMA index_list("configuration_item_types_configurations")  (0.0ms) PRAGMA index_info('conf_id_idx')  (0.0ms) PRAGMA index_info('conf_conf_type_id_item_idx')  (0.5ms) CREATE UNIQUE INDEX "conf_config_type_uniq_idx" ON "configuration_item_types_configurations" ("configuration_item_type_id", "configuration_id")  (0.2ms) CREATE TABLE "configuration_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "comment" text, "user_defined" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("configuration_options")  (0.2ms) CREATE INDEX "index_configuration_options_on_value" ON "configuration_options" ("value")  (0.0ms) PRAGMA index_list("configuration_options")  (0.0ms) PRAGMA index_info('index_configuration_options_on_value')  (0.2ms) CREATE INDEX "index_configuration_options_on_internal_identifier" ON "configuration_options" ("internal_identifier")  (0.0ms) PRAGMA index_list("configuration_options")  (0.0ms) PRAGMA index_info('index_configuration_options_on_internal_identifier')  (0.0ms) PRAGMA index_info('index_configuration_options_on_value')  (0.2ms) CREATE INDEX "index_configuration_options_on_user_defined" ON "configuration_options" ("user_defined")  (0.2ms) CREATE TABLE "configuration_item_types_configuration_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "configuration_item_type_id" integer, "configuration_option_id" integer, "is_default" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("configuration_item_types_configuration_options")  (0.2ms) CREATE INDEX "conf_item_type_conf_opt_id_item_idx" ON "configuration_item_types_configuration_options" ("configuration_item_type_id")  (0.0ms) PRAGMA index_list("configuration_item_types_configuration_options")  (0.0ms) PRAGMA index_info('conf_item_type_conf_opt_id_item_idx')  (0.2ms) CREATE INDEX "conf_item_type_conf_opt_id_opt_idx" ON "configuration_item_types_configuration_options" ("configuration_option_id")  (0.2ms) CREATE TABLE "configuration_items_configuration_options" ("configuration_item_id" integer, "configuration_option_id" integer)  (0.0ms) PRAGMA index_list("configuration_items_configuration_options")  (0.2ms) CREATE INDEX "conf_item_conf_opt_id_item_idx" ON "configuration_items_configuration_options" ("configuration_item_id")  (0.0ms) PRAGMA index_list("configuration_items_configuration_options")  (0.0ms) PRAGMA index_info('conf_item_conf_opt_id_item_idx')  (0.2ms) CREATE INDEX "conf_item_conf_opt_id_opt_idx" ON "configuration_items_configuration_options" ("configuration_option_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234222')  (8.6ms) commit transaction Migrating to ErpCommerceBase (20121213234223)  (0.0ms) begin transaction  (0.5ms) CREATE TABLE "fees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "fee_record_id" integer, "fee_record_type" varchar(255), "money_id" integer, "fee_type_id" integer, "description" varchar(255), "start_date" datetime, "end_date" datetime, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("fees")  (0.2ms) CREATE INDEX "fee_record_idx" ON "fees" ("fee_record_id", "fee_record_type")  (0.0ms) PRAGMA index_list("fees")  (0.0ms) PRAGMA index_info('fee_record_idx')  (0.2ms) CREATE INDEX "index_fees_on_fee_type_id" ON "fees" ("fee_type_id")  (0.0ms) PRAGMA index_list("fees")  (0.0ms) PRAGMA index_info('index_fees_on_fee_type_id')  (0.0ms) PRAGMA index_info('fee_record_idx')  (0.2ms) CREATE INDEX "index_fees_on_money_id" ON "fees" ("money_id")  (0.2ms) CREATE TABLE "fee_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "comments" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "price_component_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) CREATE TABLE "pricing_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "from_date" date, "thru_date" date, "matching_rules" varchar(255), "pricing_calculation" varchar(255), "is_simple_amount" boolean, "currency_id" integer, "money_amount" decimal(8,2), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "pricing_plan_components" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price_component_type_id" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "matching_rules" varchar(255), "pricing_calculation" varchar(255), "is_simple_amount" boolean, "currency_id" integer, "money_amount" decimal(8,2), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("pricing_plan_components")  (0.2ms) CREATE INDEX "index_pricing_plan_components_on_price_component_type_id" ON "pricing_plan_components" ("price_component_type_id")  (0.2ms) CREATE TABLE "valid_price_plan_components" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pricing_plan_id" integer, "pricing_plan_component_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("valid_price_plan_components")  (0.2ms) CREATE INDEX "index_valid_price_plan_components_on_pricing_plan_id" ON "valid_price_plan_components" ("pricing_plan_id")  (0.0ms) PRAGMA index_list("valid_price_plan_components")  (0.0ms) PRAGMA index_info('index_valid_price_plan_components_on_pricing_plan_id')  (0.2ms) CREATE INDEX "index_valid_price_plan_components_on_pricing_plan_component_id" ON "valid_price_plan_components" ("pricing_plan_component_id")  (0.2ms) CREATE TABLE "pricing_plan_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pricing_plan_id" integer, "priceable_item_id" integer, "priceable_item_type" varchar(255), "priority" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("pricing_plan_assignments")  (0.2ms) CREATE INDEX "index_pricing_plan_assignments_on_pricing_plan_id" ON "pricing_plan_assignments" ("pricing_plan_id")  (0.0ms) PRAGMA index_list("pricing_plan_assignments")  (0.0ms) PRAGMA index_info('index_pricing_plan_assignments_on_pricing_plan_id')  (0.2ms) CREATE INDEX "priceable_item_idx" ON "pricing_plan_assignments" ("priceable_item_id", "priceable_item_type")  (0.2ms) CREATE TABLE "prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "priced_item_id" integer, "priced_item_type" varchar(255), "pricing_plan_id" integer, "money_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("prices")  (0.2ms) CREATE INDEX "index_prices_on_money_id" ON "prices" ("money_id")  (0.0ms) PRAGMA index_list("prices")  (0.0ms) PRAGMA index_info('index_prices_on_money_id')  (0.2ms) CREATE INDEX "index_prices_on_pricing_plan_id" ON "prices" ("pricing_plan_id")  (0.0ms) PRAGMA index_list("prices")  (0.0ms) PRAGMA index_info('index_prices_on_pricing_plan_id')  (0.0ms) PRAGMA index_info('index_prices_on_money_id')  (0.2ms) CREATE INDEX "priced_item_idx" ON "prices" ("priced_item_id", "priced_item_type")  (0.2ms) CREATE TABLE "price_components" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "pricing_plan_component_id" integer, "price_id" integer, "money_id" integer, "priced_component_id" integer, "priced_component_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("price_components")  (0.2ms) CREATE INDEX "index_price_components_on_money_id" ON "price_components" ("money_id")  (0.0ms) PRAGMA index_list("price_components")  (0.0ms) PRAGMA index_info('index_price_components_on_money_id')  (0.2ms) CREATE INDEX "index_price_components_on_pricing_plan_component_id" ON "price_components" ("pricing_plan_component_id")  (0.0ms) PRAGMA index_list("price_components")  (0.0ms) PRAGMA index_info('index_price_components_on_pricing_plan_component_id')  (0.0ms) PRAGMA index_info('index_price_components_on_money_id')  (0.2ms) CREATE INDEX "index_price_components_on_price_id" ON "price_components" ("price_id")  (0.0ms) PRAGMA index_list("price_components")  (0.0ms) PRAGMA index_info('index_price_components_on_price_id')  (0.0ms) PRAGMA index_info('index_price_components_on_pricing_plan_component_id')  (0.0ms) PRAGMA index_info('index_price_components_on_money_id')  (0.2ms) CREATE INDEX "priced_component_idx" ON "price_components" ("priced_component_id", "priced_component_type")  (0.2ms) CREATE TABLE "payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "success" boolean, "reference_number" varchar(255), "financial_txn_id" integer, "current_state" varchar(255), "authorization_code" varchar(255), "external_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("payments")  (0.2ms) CREATE INDEX "index_payments_on_financial_txn_id" ON "payments" ("financial_txn_id")  (0.2ms) CREATE TABLE "payment_gateways" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "params" varchar(255), "payment_gateway_action_id" integer, "payment_id" integer, "response" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "payment_gateway_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("payment_gateway_actions")  (0.2ms) CREATE INDEX "index_payment_gateway_actions_on_internal_identifier" ON "payment_gateway_actions" ("internal_identifier")  (0.2ms) CREATE TABLE "credit_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_private_card_number" varchar(255), "expiration_month" integer, "expiration_year" integer, "description" varchar(255), "first_name_on_card" varchar(255), "last_name_on_card" varchar(255), "card_type" varchar(255), "postal_address_id" integer, "credit_card_account_purpose_id" integer, "credit_card_token" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "credit_card_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "credit_card_account_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "credit_card_account_id" integer, "role_type_id" integer, "party_id" integer, "credit_card_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_credit_card_account_id" ON "credit_card_account_party_roles" ("credit_card_account_id")  (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_account_id')  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_role_type_id" ON "credit_card_account_party_roles" ("role_type_id")  (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_account_id')  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_party_id" ON "credit_card_account_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_account_id')  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_credit_card_id" ON "credit_card_account_party_roles" ("credit_card_id")  (0.2ms) CREATE TABLE "credit_card_account_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "accepted_credit_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "organization_id" integer, "card_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "bank_account_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "bank_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "routing_number" varchar(255), "crypted_private_account_number" varchar(255), "name_on_account" varchar(255), "bank_account_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("bank_accounts")  (0.2ms) CREATE INDEX "bank_accounts_account_type_idx" ON "bank_accounts" ("bank_account_type_id")  (27.5ms) ALTER TABLE "order_txns" ADD "payment_gateway_txn_id" varchar(255)  (0.5ms) ALTER TABLE "order_txns" ADD "credit_card_id" integer  (0.5ms) ALTER TABLE "order_txns" ADD "bill_to_first_name" varchar(255)  (0.4ms) ALTER TABLE "order_txns" ADD "bill_to_last_name" varchar(255)  (0.4ms) ALTER TABLE "order_txns" ADD "bill_to_city" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_state" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_postal_code" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_country" varchar(255)  (0.7ms) CREATE TEMPORARY TABLE "altered_order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('order_txn_record_idx')  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.1ms) CREATE INDEX "temp_order_txn_record_idx" ON "altered_order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.1ms) CREATE INDEX "temp_index_altered_order_txns_on_order_txn_type_id" ON "altered_order_txns" ("order_txn_type_id")  (0.1ms) SELECT * FROM "order_txns"  (0.5ms) DROP TABLE "order_txns"  (0.3ms) CREATE TABLE "order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))   (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_index_altered_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.0ms) PRAGMA index_list("order_txns")  (0.2ms) CREATE INDEX "index_order_txns_on_order_txn_type_id" ON "order_txns" ("order_txn_type_id")  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.2ms) CREATE INDEX "order_txn_record_idx" ON "order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.1ms) SELECT * FROM "altered_order_txns"  (0.3ms) DROP TABLE "altered_order_txns"  (0.2ms) CREATE TEMPORARY TABLE "altered_order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country_name" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('order_txn_record_idx')  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.1ms) CREATE INDEX "temp_order_txn_record_idx" ON "altered_order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.1ms) CREATE INDEX "temp_index_altered_order_txns_on_order_txn_type_id" ON "altered_order_txns" ("order_txn_type_id")  (0.1ms) SELECT * FROM "order_txns"  (0.3ms) DROP TABLE "order_txns"  (0.3ms) CREATE TABLE "order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country_name" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))   (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_index_altered_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.0ms) PRAGMA index_list("order_txns")  (0.2ms) CREATE INDEX "index_order_txns_on_order_txn_type_id" ON "order_txns" ("order_txn_type_id")  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.2ms) CREATE INDEX "order_txn_record_idx" ON "order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.1ms) SELECT * FROM "altered_order_txns"  (0.1ms) DROP TABLE "altered_order_txns"  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_country" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "ship_to_country" varchar(255)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234223')  (10.1ms) commit transaction  (3.1ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("accepted_credit_cards")  (0.0ms) PRAGMA index_list("agreement_item_types")  (0.0ms) PRAGMA index_info('index_agreement_item_types_on_parent_id')  (0.0ms) PRAGMA index_list("agreement_items")  (0.0ms) PRAGMA index_info('index_agreement_items_on_agreement_item_type_id')  (0.0ms) PRAGMA index_info('index_agreement_items_on_agreement_id')  (0.0ms) PRAGMA index_list("agreement_party_roles")  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_agreement_id')  (0.0ms) PRAGMA index_list("agreement_relationships")  (0.0ms) PRAGMA index_info('index_agreement_relationships_on_status_type_id')  (0.0ms) PRAGMA index_info('index_agreement_relationships_on_agreement_reln_type_id')  (0.0ms) PRAGMA index_list("agreement_reln_types")  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_parent_id')  (0.0ms) PRAGMA index_list("agreement_role_types")  (0.0ms) PRAGMA index_info('index_agreement_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("agreement_types")  (0.0ms) PRAGMA index_info('index_agreement_types_on_parent_id')  (0.0ms) PRAGMA index_list("agreements")  (0.0ms) PRAGMA index_info('index_agreements_on_product_id')  (0.0ms) PRAGMA index_info('index_agreements_on_agreement_type_id')  (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_type')  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("attribute_types")  (0.0ms) PRAGMA index_info(':attribute_types_iid_idx')  (0.0ms) PRAGMA index_list("attribute_values")  (0.0ms) PRAGMA index_info('attribute_values_value_idx')  (0.0ms) PRAGMA index_info('attribute_values_attributed_type_idx')  (0.0ms) PRAGMA index_info('attribute_values_attributed_record_idx')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("bank_account_types")  (0.0ms) PRAGMA index_list("bank_accounts")  (0.0ms) PRAGMA index_info('bank_accounts_account_type_idx')  (0.0ms) PRAGMA index_list("base_txn_contexts")  (0.0ms) PRAGMA index_info('txn_context_record_idx')  (0.0ms) PRAGMA index_list("biz_acct_txn_tasks")  (0.0ms) PRAGMA index_info('index_biz_acct_txn_tasks_on_biz_txn_account_id')  (0.0ms) PRAGMA index_info('index_biz_acct_txn_tasks_on_biz_txn_task_id')  (0.0ms) PRAGMA index_list("biz_txn_acct_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_biz_txn_acct_pty_rtype_id')  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_biz_txn_acct_root_id')  (0.0ms) PRAGMA index_list("biz_txn_acct_pty_rtypes")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_pty_rtypes_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_acct_rel_types")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_rel_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_acct_relationships")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_relationships_on_status_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_acct_relationships_on_biz_txn_acct_rel_type_id')  (0.0ms) PRAGMA index_list("biz_txn_acct_roots")  (0.0ms) PRAGMA index_info('btai_2')  (0.0ms) PRAGMA index_list("biz_txn_acct_status_types")  (0.0ms) PRAGMA index_list("biz_txn_acct_statuses")  (0.0ms) PRAGMA index_list("biz_txn_acct_types")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_agreement_role_types")  (0.0ms) PRAGMA index_info('index_biz_txn_agreement_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_agreement_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_agreement_roles_on_biz_txn_agreement_role_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_agreement_roles_on_agreement_id')  (0.0ms) PRAGMA index_list("biz_txn_event_descs")  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_locale_id')  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_language_id')  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_biz_txn_event_id')  (0.0ms) PRAGMA index_list("biz_txn_events")  (0.0ms) PRAGMA index_info('btai_1')  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_acct_root_id')  (0.0ms) PRAGMA index_list("biz_txn_party_role_types")  (0.0ms) PRAGMA index_info('index_biz_txn_party_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_biz_txn_party_role_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_biz_txn_event_id')  (0.0ms) PRAGMA index_list("biz_txn_rel_types")  (0.0ms) PRAGMA index_info('index_biz_txn_rel_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_relationships")  (0.0ms) PRAGMA index_info('index_biz_txn_relationships_on_status_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_relationships_on_biz_txn_rel_type_id')  (0.0ms) PRAGMA index_list("biz_txn_statuses")  (0.0ms) PRAGMA index_list("biz_txn_task_types")  (0.0ms) PRAGMA index_info('index_biz_txn_task_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_tasks")  (0.0ms) PRAGMA index_list("biz_txn_types")  (0.0ms) PRAGMA index_info('biz_txn_type_nested_set_idx')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("charge_line_payment_txns")  (0.0ms) PRAGMA index_info('index_charge_line_payment_txns_on_charge_line_id')  (0.0ms) PRAGMA index_info('payment_txn_idx')  (0.0ms) PRAGMA index_list("charge_lines")  (0.0ms) PRAGMA index_info('charged_item_idx')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("configuration_item_types")  (0.0ms) PRAGMA index_list("configuration_item_types_configuration_options")  (0.0ms) PRAGMA index_info('conf_item_type_conf_opt_id_opt_idx')  (0.0ms) PRAGMA index_info('conf_item_type_conf_opt_id_item_idx')  (0.0ms) PRAGMA index_list("configuration_item_types_configurations")  (0.0ms) PRAGMA index_info('conf_config_type_uniq_idx')  (0.0ms) PRAGMA index_info('conf_id_idx')  (0.0ms) PRAGMA index_info('conf_conf_type_id_item_idx')  (0.0ms) PRAGMA index_list("configuration_items")  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_option_id')  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_item_type_id')  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_id')  (0.0ms) PRAGMA index_list("configuration_items_configuration_options")  (0.0ms) PRAGMA index_info('conf_item_conf_opt_id_opt_idx')  (0.0ms) PRAGMA index_info('conf_item_conf_opt_id_item_idx')  (0.0ms) PRAGMA index_list("configuration_options")  (0.0ms) PRAGMA index_info('index_configuration_options_on_user_defined')  (0.0ms) PRAGMA index_info('index_configuration_options_on_internal_identifier')  (0.0ms) PRAGMA index_info('index_configuration_options_on_value')  (0.0ms) PRAGMA index_list("configurations")  (0.0ms) PRAGMA index_info('index_configurations_on_is_template')  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_account_id')  (0.0ms) PRAGMA index_list("credit_card_account_purposes")  (0.0ms) PRAGMA index_list("credit_card_accounts")  (0.0ms) PRAGMA index_list("credit_cards")  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("fee_types")  (0.0ms) PRAGMA index_list("fees")  (0.0ms) PRAGMA index_info('index_fees_on_money_id')  (0.0ms) PRAGMA index_info('index_fees_on_fee_type_id')  (0.0ms) PRAGMA index_info('fee_record_idx')  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_directory')  (0.0ms) PRAGMA index_info('index_file_assets_on_name')  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("financial_txn_accounts")  (0.0ms) PRAGMA index_list("financial_txn_assns")  (0.0ms) PRAGMA index_list("financial_txns")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.1ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("gl_accounts")  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("line_item_role_types")  (0.0ms) PRAGMA index_info('index_line_item_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("loyalty_program_codes")  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_biz_txn_acct_root_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_line_item_role_type_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_order_line_item_id')  (0.0ms) PRAGMA index_list("order_line_item_types")  (0.0ms) PRAGMA index_info('index_order_line_item_types_on_parent_id')  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_offer_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_type_id')  (0.1ms) PRAGMA index_info('index_order_line_items_on_product_instance_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.0ms) PRAGMA index_list("order_txn_types")  (0.0ms) PRAGMA index_info('index_order_txn_types_on_parent_id')  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('order_txn_record_idx')  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("payment_gateway_actions")  (0.0ms) PRAGMA index_info('index_payment_gateway_actions_on_internal_identifier')  (0.0ms) PRAGMA index_list("payment_gateways")  (0.0ms) PRAGMA index_list("payments")  (0.0ms) PRAGMA index_info('index_payments_on_financial_txn_id')  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("price_component_types")  (0.0ms) PRAGMA index_list("price_components")  (0.0ms) PRAGMA index_info('priced_component_idx')  (0.0ms) PRAGMA index_info('index_price_components_on_price_id')  (0.0ms) PRAGMA index_info('index_price_components_on_pricing_plan_component_id')  (0.0ms) PRAGMA index_info('index_price_components_on_money_id')  (0.0ms) PRAGMA index_list("price_plan_comp_gl_accounts")  (0.0ms) PRAGMA index_list("prices")  (0.0ms) PRAGMA index_info('priced_item_idx')  (0.0ms) PRAGMA index_info('index_prices_on_pricing_plan_id')  (0.0ms) PRAGMA index_info('index_prices_on_money_id')  (0.0ms) PRAGMA index_list("pricing_plan_assignments")  (0.0ms) PRAGMA index_info('priceable_item_idx')  (0.0ms) PRAGMA index_info('index_pricing_plan_assignments_on_pricing_plan_id')  (0.0ms) PRAGMA index_list("pricing_plan_components")  (0.0ms) PRAGMA index_info('index_pricing_plan_components_on_price_component_type_id')  (0.0ms) PRAGMA index_list("pricing_plans")  (0.0ms) PRAGMA index_list("prod_availability_status_types")  (0.0ms) PRAGMA index_list("prod_instance_reln_types")  (0.0ms) PRAGMA index_info('index_prod_instance_reln_types_on_parent_id')  (0.0ms) PRAGMA index_list("prod_instance_relns")  (0.0ms) PRAGMA index_info('index_prod_instance_relns_on_status_type_id')  (0.0ms) PRAGMA index_info('index_prod_instance_relns_on_prod_instance_reln_type_id')  (0.0ms) PRAGMA index_list("prod_instance_role_types")  (0.0ms) PRAGMA index_info('index_prod_instance_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("prod_type_reln_types")  (0.0ms) PRAGMA index_info('index_prod_type_reln_types_on_parent_id')  (0.0ms) PRAGMA index_list("prod_type_relns")  (0.0ms) PRAGMA index_info('index_prod_type_relns_on_status_type_id')  (0.0ms) PRAGMA index_info('index_prod_type_relns_on_prod_type_reln_type_id')  (0.0ms) PRAGMA index_list("prod_type_role_types")  (0.0ms) PRAGMA index_info('index_prod_type_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("product_instance_status_types")  (0.0ms) PRAGMA index_list("product_instances")  (0.0ms) PRAGMA index_info('index_product_instances_on_product_type_id')  (0.0ms) PRAGMA index_info('bpi_2')  (0.0ms) PRAGMA index_info('index_product_instances_on_parent_id')  (0.0ms) PRAGMA index_list("product_offers")  (0.0ms) PRAGMA index_info('bpi_3')  (0.0ms) PRAGMA index_list("product_types")  (0.0ms) PRAGMA index_info('bpi_1')  (0.1ms) PRAGMA index_info('index_product_types_on_parent_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("simple_product_offers")  (0.0ms) PRAGMA index_info('index_simple_product_offers_on_product_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_configurations")  (0.0ms) PRAGMA index_info('index_valid_configurations_on_configuration_id')  (0.0ms) PRAGMA index_info('configured_item_poly_idx')  (0.1ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("valid_price_plan_components")  (0.0ms) PRAGMA index_info('index_valid_price_plan_components_on_pricing_plan_component_id')  (0.0ms) PRAGMA index_info('index_valid_price_plan_components_on_pricing_plan_id')  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") Connecting to database specified by database.yml NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (40.3ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (3.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20101011152441'  (0.1ms) begin transaction SQL (5.7ms) INSERT INTO "payment_gateway_actions" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["description", "capture"], ["internal_identifier", "capture"], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]] SQL (0.1ms) INSERT INTO "payment_gateway_actions" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["description", "Authorize"], ["internal_identifier", "authorize"], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]] SQL (0.1ms) INSERT INTO "payment_gateway_actions" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["description", "Full Reverse Of Authorization"], ["internal_identifier", "full_reverse_of_authorization"], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]]  (4.5ms) commit transaction  (3.6ms) insert into data_migrations (version) values ('20101011152441')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20101014142230'  (0.1ms) begin transaction BizTxnType Load (0.1ms) SELECT "biz_txn_types".* FROM "biz_txn_types"  BizTxnType Load (0.3ms) SELECT "biz_txn_types".* FROM "biz_txn_types" ORDER BY "biz_txn_types"."rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "biz_txn_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["description", "Payment Transaction"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "payment_txn"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]]  (4.9ms) commit transaction  (5.2ms) insert into data_migrations (version) values ('20101014142230')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110324010232'  (0.0ms) begin transaction ProdTypeRelnType Load (0.2ms) SELECT "prod_type_reln_types".* FROM "prod_type_reln_types" ORDER BY "prod_type_reln_types"."rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "prod_type_reln_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["description", "Product Type Package Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_type_package_reln"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]] ProdTypeRoleType Load (0.2ms) SELECT "prod_type_role_types".* FROM "prod_type_role_types" ORDER BY "prod_type_role_types"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "prod_type_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["description", "Product Type Package"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_type_package"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]] ProdTypeRoleType Load (0.1ms) SELECT "prod_type_role_types".* FROM "prod_type_role_types" ORDER BY "prod_type_role_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "prod_type_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["description", "Packaged Product Type"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "packaged_product_type"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]] ProdInstanceRelnType Load (0.2ms) SELECT "prod_instance_reln_types".* FROM "prod_instance_reln_types" ORDER BY "prod_instance_reln_types"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "prod_instance_reln_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["description", "Product Instance Package Relantionship"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_instance_package_reln"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]] ProdInstanceRoleType Load (0.3ms) SELECT "prod_instance_role_types".* FROM "prod_instance_role_types" ORDER BY "prod_instance_role_types"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "prod_instance_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["description", "Product Instance Package"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_instance_package"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]] ProdInstanceRoleType Load (0.2ms) SELECT "prod_instance_role_types".* FROM "prod_instance_role_types" ORDER BY "prod_instance_role_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "prod_instance_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["description", "Packaged Product Instance"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "packaged_product_instance"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]]  (6.6ms) commit transaction  (5.1ms) insert into data_migrations (version) values ('20110324010232')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935'  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]]  (5.0ms) commit transaction  (5.6ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110527160807'  (0.0ms) begin transaction ProdAvailabilityStatusType Load (0.1ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types"  ProdAvailabilityStatusType Load (0.2ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types" ORDER BY "prod_availability_status_types"."rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "prod_availability_status_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["description", "Available"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "available"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]] ProdAvailabilityStatusType Load (0.1ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types" ORDER BY "prod_availability_status_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "prod_availability_status_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["description", "Sold"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "sold"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]] ProdAvailabilityStatusType Load (0.1ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types" ORDER BY "prod_availability_status_types"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "prod_availability_status_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["description", "Shipped"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipped"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]]  (4.3ms) commit transaction  (3.6ms) insert into data_migrations (version) values ('20110527160807')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110605231556'  (0.0ms) begin transaction BizTxnPartyRoleType Load (0.2ms) SELECT "biz_txn_party_role_types".* FROM "biz_txn_party_role_types" ORDER BY "biz_txn_party_role_types"."rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "biz_txn_party_role_types" ("comments", "created_at", "description", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["description", "Order Roles"], ["internal_identifier", "order_roles"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]] BizTxnPartyRoleType Load (0.1ms) SELECT "biz_txn_party_role_types".* FROM "biz_txn_party_role_types" ORDER BY "biz_txn_party_role_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "biz_txn_party_role_types" ("comments", "created_at", "description", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["description", "Payor"], ["internal_identifier", "payor"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00]] BizTxnPartyRoleType Load (0.1ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 1]] BizTxnPartyRoleType Load (0.0ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.4ms) UPDATE "biz_txn_party_role_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "biz_txn_party_role_types"."id" IN (SELECT "biz_txn_party_role_types"."id" FROM "biz_txn_party_role_types" ORDER BY "biz_txn_party_role_types"."lft") BizTxnPartyRoleType Load (0.0ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 1]] BizTxnPartyRoleType Load (0.1ms) SELECT "biz_txn_party_role_types".* FROM "biz_txn_party_role_types" WHERE ("biz_txn_party_role_types"."lft" >= 3 AND "biz_txn_party_role_types"."lft" < 4) AND ("biz_txn_party_role_types".id != 2) ORDER BY "biz_txn_party_role_types"."lft" BizTxnPartyRoleType Load (0.0ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 2]]  (4.6ms) commit transaction  (3.6ms) insert into data_migrations (version) values ('20110605231556')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135'  (0.0ms) begin transaction GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" SQL (0.8ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:30 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (41.9ms) commit transaction  (5.2ms) insert into data_migrations (version) values ('20110609150135')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201729'  (0.0ms) begin transaction ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.3ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Role Exists (0.1ms) SELECT 1 AS one FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.3ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] Role Exists (0.1ms) SELECT 1 AS one FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.1ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "TrueNorth Logo"], ["internal_identifier", "truenorth_logo_background"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["value", "truenorth.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Planet"], ["internal_identifier", "planet_desktop_background"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["value", "ext-all.css"]]  (0.2ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.4ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2012-12-13 23:42:31.514259' WHERE "preference_types"."id" = 3  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2012-12-13 23:42:31.517628' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 8)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 3, "updated_at" = '2012-12-13 23:42:31.519930' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 11)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 11, "updated_at" = '2012-12-13 23:42:31.521480' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "note_types"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1 Widget Exists (0.0ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.3ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.3ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (1)  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 1]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (1) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1 Widget Exists (0.0ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 2]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (2) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 2 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1 Widget Exists (0.0ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 3]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (3) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 3 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1 Widget Exists (0.0ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 4]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 4 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (4)  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 4]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 4 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (4) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1 Widget Exists (0.0ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 5]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 5 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (5) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 5 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.2ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1 Widget Exists (0.0ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 6]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (6)  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 6]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (6) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Widget Exists (0.0ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1 Widget Exists (0.0ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 7]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 7 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (7)  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 7]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 7 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (7) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 7 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" IS NULL LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.2ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:31 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" IS NULL AND "applications"."id" != 4) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["weight", nil]] SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2012-12-13 23:42:32.031010', "updated_at" = '2012-12-13 23:42:32.031010' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]]  (0.1ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2012-12-13 23:42:32.056703', "updated_at" = '2012-12-13 23:42:32.056703' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "security_answer_1", "security_answer_2", "security_question_1", "security_question_2", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["security_answer_1", nil], ["security_answer_2", nil], ["security_question_1", nil], ["security_question_2", nil], ["type", nil], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Desktop"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 3 LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["preference_option_id", 3], ["preference_type_id", 1], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-13 23:42:32.219146' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 11 LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-13 23:42:32.225228' WHERE "user_preferences"."id" = 2  (0.2ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2012-12-13 23:42:32.226280' WHERE "app_containers"."type" IN ('Desktop') AND "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Organizer"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-13 23:42:32.246138' WHERE "user_preferences"."id" = 3  (0.2ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2012-12-13 23:42:32.247212' WHERE "app_containers"."type" IN ('Organizer') AND "app_containers"."id" = 2 SQL (0.2ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Mobile"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["user_id", nil]]  (0.2ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2012-12-13 23:42:32.264441' WHERE "app_containers"."type" IN ('Mobile') AND "app_containers"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.2ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'HSSp1apa6V6CyYpiGVw6', "crypted_password" = '$2a$10$yA9BZjCzINQHwdo/NwdT.u7nTwNI6YhFpyE07R14OQYhAbufZV.26', "updated_at" = '2012-12-13 23:42:32.415680' WHERE "users"."id" = 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (8) Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1 User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "security_answer_1", "security_answer_2", "security_question_1", "security_question_2", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["security_answer_1", nil], ["security_answer_2", nil], ["security_question_1", nil], ["security_question_2", nil], ["type", nil], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["username", "truenorth"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Desktop"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 4], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 3 LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["preference_option_id", 3], ["preference_type_id", 1], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-13 23:42:32.437365' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 4], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 11 LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-13 23:42:32.441913' WHERE "user_preferences"."id" = 5  (0.1ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2012-12-13 23:42:32.442619' WHERE "app_containers"."type" IN ('Desktop') AND "app_containers"."id" = 4 SQL (0.1ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Organizer"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 5], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-13 23:42:32.448601' WHERE "user_preferences"."id" = 6  (0.1ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2012-12-13 23:42:32.449302' WHERE "app_containers"."type" IN ('Organizer') AND "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Mobile"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["user_id", nil]]  (0.1ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2012-12-13 23:42:32.451383' WHERE "app_containers"."type" IN ('Mobile') AND "app_containers"."id" = 6 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = 'bu4vKcBfkLxr9C6z6Yog', "crypted_password" = '$2a$10$HyPQcNSjtsib8zgYTzVAZOSqAVLV3efzwuM/9H7/0tNt1vjl9p5em', "updated_at" = '2012-12-13 23:42:32.576647' WHERE "users"."id" = 2  (0.1ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2012-12-13 23:42:32.577962' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (9) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1  (0.2ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1 Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 1) LIMIT 1 Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 1) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 2) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 3) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1 Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (5, 4) Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 2) LIMIT 1  (15.4ms) commit transaction  (6.9ms) insert into data_migrations (version) values ('20110728201729')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110728201730'  (0.1ms) begin transaction Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.ProductManager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'product_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.5ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", "Products"], ["icon", "icon-product"], ["internal_identifier", "product_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.ProductManager"], ["shortcut_id", "product_manager-win"], ["type", "DesktopApplication"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.3ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.ProductManager' AND "applications"."id" != 5) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'product_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (5.7ms) commit transaction  (3.6ms) insert into data_migrations (version) values ('20110728201730')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201731'  (0.0ms) begin transaction Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.OrderManager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'order_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", "Orders"], ["icon", "icon-package"], ["internal_identifier", "order_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.OrderManager"], ["shortcut_id", "order_manager-win"], ["type", "DesktopApplication"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3, 5) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8, 12) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 6 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 6], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3, 5) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8, 12) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 6 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 6], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.OrderManager' AND "applications"."id" != 6) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'order_manager' AND "applications"."id" != 6 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (6.5ms) commit transaction  (4.4ms) insert into data_migrations (version) values ('20110728201731')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201732'  (0.0ms) begin transaction Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Organizer.Applications.OrderManagement.Base' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'order_management' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", "Orders"], ["icon", "icon-package"], ["internal_identifier", "order_management"], ["javascript_class_name", "Compass.ErpApp.Organizer.Applications.OrderManagement.Base"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Application"], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]]  (9.4ms) commit transaction  (5.4ms) insert into data_migrations (version) values ('20110728201732')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201733'  (0.0ms) begin transaction PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'truenorth_logo_background' LIMIT 1  (0.2ms) UPDATE "preference_options" SET "value" = 'truenorth_tech.png', "updated_at" = '2012-12-13 23:42:32.835982' WHERE "preference_options"."id" = 3 PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'grey_gradient_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 5  (0.2ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 5 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.1ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 5]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'purple_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 6  (0.1ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 6 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.0ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 6]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'planet_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 7  (0.1ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 7 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.0ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 7]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'portablemind_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 8  (0.1ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 8 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.0ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 8]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'access_extjs_theme' LIMIT 1  (0.3ms) UPDATE "preference_options" SET "value" = 'extjs:ext-all-access', "updated_at" = '2012-12-13 23:42:32.845997' WHERE "preference_options"."id" = 9 PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'gray_extjs_theme' LIMIT 1  (0.1ms) UPDATE "preference_options" SET "value" = 'extjs:ext-all-gray', "updated_at" = '2012-12-13 23:42:32.847467' WHERE "preference_options"."id" = 10 PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'blue_extjs_theme' LIMIT 1  (0.1ms) UPDATE "preference_options" SET "value" = 'extjs:ext-all', "updated_at" = '2012-12-13 23:42:32.848495' WHERE "preference_options"."id" = 11 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", "Clifton Default"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["value", "clifton:clifton"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", "Clifton Green"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["value", "clifton:clifton-green"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", "Clifton Yellow"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["value", "clifton:clifton-yellow"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", "Clifton Pink"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["value", "clifton:clifton-pink"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", "Clifton Blue"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["value", "clifton:clifton-blue"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE "preference_types"."internal_identifier" = 'extjs_theme' LIMIT 1  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 12)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 13)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 14)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 15)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 16) AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'AppContainer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'AppContainer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 4 and preferenced_record_type = 'AppContainer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 5 and preferenced_record_type = 'AppContainer') LIMIT 1  (6.6ms) commit transaction  (4.2ms) insert into data_migrations (version) values ('20110728201733')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110802200222'  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob\npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Fri, 14 Dec 2012 07:00:01 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]]  (4.8ms) commit transaction  (4.9ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110816161238'  (0.0ms) begin transaction Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.AuditLogViewer' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'audit_log_viewer' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", "Audit Log Viewer"], ["icon", "icon-history"], ["internal_identifier", "audit_log_viewer"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.AuditLogViewer"], ["shortcut_id", "audit_log_viewer-win"], ["type", "DesktopApplication"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Application"], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 8], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 8], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.AuditLogViewer' AND "applications"."id" != 8) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'audit_log_viewer' AND "applications"."id" != 8 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (8.0ms) commit transaction  (4.8ms) insert into data_migrations (version) values ('20110816161238')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.0ms) begin transaction DesktopApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'file_manager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Application"], ["created_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:32 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 9], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 9], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 9) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 9 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 9) User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (8) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 9) User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (9)  (6.8ms) commit transaction  (4.8ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838'  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["version", #]]  (3.5ms) commit transaction  (3.7ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183739'  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] DesktopApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" INNER JOIN "capable_models" ON "capabilities_capable_models"."capable_model_id" = "capable_models"."id" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["resource", "User"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" INNER JOIN "capable_models" ON "capabilities_capable_models"."capable_model_id" = "capable_models"."id" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["resource", "User"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Widget' AND "capable_models"."capable_model_record_id" IN (1) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" INNER JOIN "capable_models" ON "capabilities_capable_models"."capable_model_id" = "capable_models"."id" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["resource", "Note"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (12)  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" INNER JOIN "capable_models" ON "capabilities_capable_models"."capable_model_id" = "capable_models"."id" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["resource", "Note"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 4]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 4 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (13)  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 2) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" INNER JOIN "capable_models" ON "capabilities_capable_models"."capable_model_id" = "capable_models"."id" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["resource", "Note"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 5]]  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (5.7ms) commit transaction  (5.2ms) insert into data_migrations (version) values ('20111108183739')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20111108183740'  (0.1ms) begin transaction OrganizerApplication Load (0.3ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (4) SQL (0.2ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (11) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Widget' AND "capable_models"."capable_model_record_id" IN (6) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (9) Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (4) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (11)  (0.3ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (6)  (0.2ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] SQL (0.1ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1 Widget Exists (0.0ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 8]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 8 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (15)  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 8]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 9]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 9 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (16)  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 9]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 10]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 10 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (17)  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 10]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" IS NULL AND "applications"."id" != 4) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (6.4ms) commit transaction  (5.2ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706'  (0.0ms) begin transaction AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.3ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.1ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 3 AND "audit_log_types"."lft" < 4) AND ("audit_log_types".id != 2) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 5 AND "audit_log_types"."lft" < 6) AND ("audit_log_types".id != 3) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 7 AND "audit_log_types"."lft" < 8) AND ("audit_log_types".id != 4) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 9 AND "audit_log_types"."lft" < 10) AND ("audit_log_types".id != 5) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 11 AND "audit_log_types"."lft" < 12) AND ("audit_log_types".id != 6) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (4.4ms) commit transaction  (3.8ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20120109173616'  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "Download"], ["internal_identifier", "download"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] Role Exists (0.1ms) SELECT 1 AS one FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('file_downloader') LIMIT 1 SQL (0.2ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "File Downloader"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "file_downloader"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]]  (6.7ms) commit transaction  (6.7ms) insert into data_migrations (version) values ('20120109173616')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20120229160222'  (0.1ms) begin transaction Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'userinfo' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (4) SQL (0.2ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (11) Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'userinfo' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'userinfo' LIMIT 1 SQL (0.4ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "User Info"], ["icon", "icon-user"], ["internal_identifier", "userinfo"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["xtype", "userinfo"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["secured_record_id", 11], ["secured_record_type", "Widget"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 11], ["capable_model_record_type", "Widget"], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 11) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" IS NULL AND "applications"."id" != 4) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (18, 1) Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'userinfo' AND "widgets"."id" != 11) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'userinfo' AND "widgets"."id" != 11) LIMIT 1  (7.1ms) commit transaction  (5.0ms) insert into data_migrations (version) values ('20120229160222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20120229174343'  (0.0ms) begin transaction Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'order_management' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (4) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (11) Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'partyorderstab' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'order_management' LIMIT 1 SQL (0.4ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "Order Managament"], ["icon", "icon-grid"], ["internal_identifier", "order_management"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["xtype", "partyorderstab"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["secured_record_id", 12], ["secured_record_type", "Widget"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 12], ["capable_model_record_type", "Widget"], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 12) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" IS NULL AND "applications"."id" != 4) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1) Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'partyorderstab' AND "widgets"."id" != 12) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'order_management' AND "widgets"."id" != 12) LIMIT 1  (8.4ms) commit transaction  (5.7ms) insert into data_migrations (version) values ('20120229174343')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20120405193721'  (0.1ms) begin transaction  (0.0ms) commit transaction  (5.1ms) insert into data_migrations (version) values ('20120405193721')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20120411180756'  (0.1ms) begin transaction Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" IS NULL LIMIT 1 Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'MobileApplication') LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" IS NULL LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'MobileApplication') LIMIT 1  (0.1ms) commit transaction  (4.2ms) insert into data_migrations (version) values ('20120411180756')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20120418164215'  (0.0ms) begin transaction Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.ConfigurationManagement' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'configuration_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["description", "Configuration Management"], ["icon", "icon-grid"], ["internal_identifier", "configuration_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.ConfigurationManagement"], ["shortcut_id", "configuration_management-win"], ["type", "DesktopApplication"], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Application"], ["created_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00], ["updated_at", Thu, 13 Dec 2012 23:42:33 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3, 5, 6, 8, 9) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8, 12, 13, 15, 16) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 6 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 8 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 9 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 10 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 10], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3, 5, 6, 8, 9) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8, 12, 13, 15, 16) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 6 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 8 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 9 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 10 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 10], ["preferenced_record_type", "Application"]]  (7.3ms) commit transaction  (4.7ms) insert into data_migrations (version) values ('20120418164215')  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 GlAccount Load (0.3ms) SELECT "gl_accounts".* FROM "gl_accounts" ORDER BY "gl_accounts"."rgt" desc LIMIT 1 SQL (7.9ms) INSERT INTO "gl_accounts" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Thu, 13 Dec 2012 23:42:34 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", nil], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Thu, 13 Dec 2012 23:42:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "price_plan_comp_gl_accounts" ("created_at", "gl_account_id", "mapping_rule_klass", "pricing_plan_component_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Thu, 13 Dec 2012 23:42:34 UTC +00:00], ["gl_account_id", nil], ["mapping_rule_klass", nil], ["pricing_plan_component_id", nil], ["updated_at", Thu, 13 Dec 2012 23:42:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction Connecting to database specified by database.yml NoteType Load (26.7ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (98.7ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (40.8ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (372.9ms) SELECT "role_types".* FROM "role_types" Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (40.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (4.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (3.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseErpServices (20121213234212)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal(3,8), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.2ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.2ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("individuals")  (0.2ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" decimal(8,2), "currency_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.2ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.2ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("categories")  (0.2ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("category_classifications")  (0.2ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.2ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)   (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.2ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)   (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.2ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.2ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.2ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.2ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.2ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234212')  (6.3ms) commit transaction Migrating to FinancialAccountingServices (20121213234213)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "gl_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "price_plan_comp_gl_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pricing_plan_component_id" integer, "gl_account_id" integer, "mapping_rule_klass" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234213')  (6.2ms) commit transaction Migrating to BaseTechServices (20121213234214)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "security_question_1" varchar(255), "security_answer_1" varchar(255), "security_question_2" varchar(255), "security_answer_2" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.1ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.2ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("sessions")  (0.2ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.2ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) PRAGMA index_list("audit_logs")  (0.2ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.2ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.2ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "width" varchar(255), "height" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "index_file_assets_on_name" ON "file_assets" ("name")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_name')  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "index_file_assets_on_directory" ON "file_assets" ("directory")  (0.2ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("capable_models")  (0.2ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer)  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234214')  (7.1ms) commit transaction Migrating to CreateHasAttributeTables (20121213234215)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "attribute_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "data_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("attribute_types")  (0.1ms) CREATE INDEX ":attribute_types_iid_idx" ON "attribute_types" ("internal_identifier")  (0.1ms) CREATE TABLE "attribute_values" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attributed_record_id" integer, "attributed_record_type" varchar(255), "attribute_type_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("attribute_values")  (0.2ms) CREATE INDEX "attribute_values_attributed_record_idx" ON "attribute_values" ("attributed_record_id", "attributed_record_type")  (0.0ms) PRAGMA index_list("attribute_values")  (0.0ms) PRAGMA index_info('attribute_values_attributed_record_idx')  (0.1ms) CREATE INDEX "attribute_values_attributed_type_idx" ON "attribute_values" ("attribute_type_id")  (0.0ms) PRAGMA index_list("attribute_values")  (0.0ms) PRAGMA index_info('attribute_values_attributed_type_idx')  (0.0ms) PRAGMA index_info('attribute_values_attributed_record_idx')  (0.1ms) CREATE INDEX "attribute_values_value_idx" ON "attribute_values" ("value")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234215')  (6.3ms) commit transaction Migrating to BaseOrders (20121213234216)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("order_txns")  (0.1ms) CREATE INDEX "index_order_txns_on_order_txn_type_id" ON "order_txns" ("order_txn_type_id")  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.1ms) CREATE INDEX "order_txn_record_idx" ON "order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.2ms) CREATE TABLE "order_txn_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("order_txn_types")  (0.1ms) CREATE INDEX "index_order_txn_types_on_parent_id" ON "order_txn_types" ("parent_id")  (0.2ms) CREATE TABLE "order_line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_txn_id" integer, "order_line_item_type_id" integer, "product_id" integer, "product_description" varchar(255), "product_instance_id" integer, "product_instance_description" varchar(255), "product_type_id" integer, "product_type_description" varchar(255), "sold_price" decimal(8,2), "sold_price_uom" integer, "sold_amount" integer, "sold_amount_uom" integer, "product_offer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("order_line_items")  (0.1ms) CREATE INDEX "index_order_line_items_on_order_txn_id" ON "order_line_items" ("order_txn_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_order_line_item_type_id" ON "order_line_items" ("order_line_item_type_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_id" ON "order_line_items" ("product_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_instance_id" ON "order_line_items" ("product_instance_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_instance_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_type_id" ON "order_line_items" ("product_type_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_instance_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_offer_id" ON "order_line_items" ("product_offer_id")  (0.2ms) CREATE TABLE "order_line_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("order_line_item_types")  (0.1ms) CREATE INDEX "index_order_line_item_types_on_parent_id" ON "order_line_item_types" ("parent_id")  (0.2ms) CREATE TABLE "order_line_item_pty_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "order_line_item_id" integer, "party_id" integer, "line_item_role_type_id" integer, "biz_txn_acct_root_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_order_line_item_id" ON "order_line_item_pty_roles" ("order_line_item_id")  (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_order_line_item_id')  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_party_id" ON "order_line_item_pty_roles" ("party_id")  (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_order_line_item_id')  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_line_item_role_type_id" ON "order_line_item_pty_roles" ("line_item_role_type_id")  (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_line_item_role_type_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_order_line_item_id')  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_biz_txn_acct_root_id" ON "order_line_item_pty_roles" ("biz_txn_acct_root_id")  (0.2ms) CREATE TABLE "line_item_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("line_item_role_types")  (0.1ms) CREATE INDEX "index_line_item_role_types_on_parent_id" ON "line_item_role_types" ("parent_id")  (0.2ms) CREATE TABLE "charge_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sti_type" varchar(255), "money_id" integer, "description" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "charged_item_id" integer, "charged_item_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("charge_lines")  (0.1ms) CREATE INDEX "charged_item_idx" ON "charge_lines" ("charged_item_id", "charged_item_type")  (0.2ms) CREATE TABLE "charge_line_payment_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "charge_line_id" integer, "payment_txn_id" integer, "payment_txn_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("charge_line_payment_txns")  (0.1ms) CREATE INDEX "payment_txn_idx" ON "charge_line_payment_txns" ("payment_txn_id", "payment_txn_type")  (0.0ms) PRAGMA index_list("charge_line_payment_txns")  (0.0ms) PRAGMA index_info('payment_txn_idx')  (0.1ms) CREATE INDEX "index_charge_line_payment_txns_on_charge_line_id" ON "charge_line_payment_txns" ("charge_line_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234216')  (6.9ms) commit transaction Migrating to BaseProducts (20121213234217)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "product_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "product_type_record_id" integer, "product_type_record_type" varchar(255), "external_identifier" varchar(255), "internal_identifier" varchar(255), "external_id_source" varchar(255), "default_image_url" varchar(255), "list_view_image_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "product_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "product_instance_record_id" integer, "product_instance_record_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "product_type_id" integer, "type" varchar(255), "prod_availability_status_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "product_offers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "product_offer_record_id" integer, "product_offer_record_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "simple_product_offers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "product_id" integer, "base_price" decimal(8,2), "uom" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "prod_instance_reln_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "prod_instance_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "prod_instance_relns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "prod_instance_reln_type_id" integer, "description" varchar(255), "prod_instance_id_from" integer, "prod_instance_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "prod_type_reln_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "prod_type_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "prod_type_relns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "prod_type_reln_type_id" integer, "description" varchar(255), "prod_type_id_from" integer, "prod_type_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "product_instance_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "prod_availability_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234217')  (6.5ms) commit transaction Migrating to BaseProductsIndexes (20121213234218)  (0.0ms) begin transaction  (0.1ms) PRAGMA index_list("product_types")  (0.4ms) CREATE INDEX "index_product_types_on_parent_id" ON "product_types" ("parent_id")  (0.0ms) PRAGMA index_list("product_types")  (0.0ms) PRAGMA index_info('index_product_types_on_parent_id')  (0.2ms) CREATE INDEX "bpi_1" ON "product_types" ("product_type_record_id", "product_type_record_type")  (0.0ms) PRAGMA index_list("product_instances")  (0.2ms) CREATE INDEX "index_product_instances_on_parent_id" ON "product_instances" ("parent_id")  (0.0ms) PRAGMA index_list("product_instances")  (0.1ms) PRAGMA index_info('index_product_instances_on_parent_id')  (0.2ms) CREATE INDEX "bpi_2" ON "product_instances" ("product_instance_record_id", "product_instance_record_type")  (0.1ms) PRAGMA index_list("product_instances")  (0.0ms) PRAGMA index_info('bpi_2')  (0.1ms) PRAGMA index_info('index_product_instances_on_parent_id')  (0.2ms) CREATE INDEX "index_product_instances_on_product_type_id" ON "product_instances" ("product_type_id")  (0.0ms) PRAGMA index_list("product_offers")  (0.2ms) CREATE INDEX "bpi_3" ON "product_offers" ("product_offer_record_id", "product_offer_record_type")  (0.0ms) PRAGMA index_list("simple_product_offers")  (0.2ms) CREATE INDEX "index_simple_product_offers_on_product_id" ON "simple_product_offers" ("product_id")  (0.0ms) PRAGMA index_list("prod_instance_reln_types")  (0.2ms) CREATE INDEX "index_prod_instance_reln_types_on_parent_id" ON "prod_instance_reln_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_instance_role_types")  (0.2ms) CREATE INDEX "index_prod_instance_role_types_on_parent_id" ON "prod_instance_role_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_instance_relns")  (0.2ms) CREATE INDEX "index_prod_instance_relns_on_prod_instance_reln_type_id" ON "prod_instance_relns" ("prod_instance_reln_type_id")  (0.0ms) PRAGMA index_list("prod_instance_relns")  (0.1ms) PRAGMA index_info('index_prod_instance_relns_on_prod_instance_reln_type_id')  (0.2ms) CREATE INDEX "index_prod_instance_relns_on_status_type_id" ON "prod_instance_relns" ("status_type_id")  (0.0ms) PRAGMA index_list("prod_type_reln_types")  (0.2ms) CREATE INDEX "index_prod_type_reln_types_on_parent_id" ON "prod_type_reln_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_type_role_types")  (0.2ms) CREATE INDEX "index_prod_type_role_types_on_parent_id" ON "prod_type_role_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_type_relns")  (0.2ms) CREATE INDEX "index_prod_type_relns_on_prod_type_reln_type_id" ON "prod_type_relns" ("prod_type_reln_type_id")  (0.0ms) PRAGMA index_list("prod_type_relns")  (0.0ms) PRAGMA index_info('index_prod_type_relns_on_prod_type_reln_type_id')  (0.2ms) CREATE INDEX "index_prod_type_relns_on_status_type_id" ON "prod_type_relns" ("status_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234218')  (8.3ms) commit transaction Migrating to BaseTxnsAndAccts (20121213234219)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "biz_txn_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "biz_txn_acct_root_id" integer, "biz_txn_type_id" integer, "entered_date" datetime, "post_date" datetime, "biz_txn_record_id" integer, "biz_txn_record_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_events")  (0.2ms) CREATE INDEX "index_biz_txn_events_on_biz_txn_acct_root_id" ON "biz_txn_events" ("biz_txn_acct_root_id")  (0.0ms) PRAGMA index_list("biz_txn_events")  (0.1ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_acct_root_id')  (0.3ms) CREATE INDEX "index_biz_txn_events_on_biz_txn_type_id" ON "biz_txn_events" ("biz_txn_type_id")  (0.1ms) PRAGMA index_list("biz_txn_events")  (0.1ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_acct_root_id')  (0.2ms) CREATE INDEX "btai_1" ON "biz_txn_events" ("biz_txn_record_id", "biz_txn_record_type")  (0.3ms) CREATE TABLE "biz_txn_event_descs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "language_id" integer, "locale_id" integer, "priority" integer, "sequence" integer, "short_description" varchar(255), "long_description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_event_descs")  (0.2ms) CREATE INDEX "index_biz_txn_event_descs_on_biz_txn_event_id" ON "biz_txn_event_descs" ("biz_txn_event_id")  (0.0ms) PRAGMA index_list("biz_txn_event_descs")  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_biz_txn_event_id')  (0.1ms) CREATE INDEX "index_biz_txn_event_descs_on_language_id" ON "biz_txn_event_descs" ("language_id")  (0.0ms) PRAGMA index_list("biz_txn_event_descs")  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_language_id')  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_biz_txn_event_id')  (0.1ms) CREATE INDEX "index_biz_txn_event_descs_on_locale_id" ON "biz_txn_event_descs" ("locale_id")  (0.2ms) CREATE TABLE "biz_txn_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_types")  (0.1ms) CREATE INDEX "biz_txn_type_nested_set_idx" ON "biz_txn_types" ("parent_id", "lft", "rgt")  (0.2ms) CREATE TABLE "biz_txn_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_rel_type_id" integer, "description" varchar(255), "txn_event_id_from" integer, "txn_event_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_relationships")  (0.1ms) CREATE INDEX "index_biz_txn_relationships_on_biz_txn_rel_type_id" ON "biz_txn_relationships" ("biz_txn_rel_type_id")  (0.0ms) PRAGMA index_list("biz_txn_relationships")  (0.0ms) PRAGMA index_info('index_biz_txn_relationships_on_biz_txn_rel_type_id')  (0.2ms) CREATE INDEX "index_biz_txn_relationships_on_status_type_id" ON "biz_txn_relationships" ("status_type_id")  (0.2ms) CREATE TABLE "biz_txn_rel_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_rel_types")  (0.2ms) CREATE INDEX "index_biz_txn_rel_types_on_parent_id" ON "biz_txn_rel_types" ("parent_id")  (0.1ms) CREATE TABLE "biz_txn_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "comments" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "biz_txn_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "biz_txn_task_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_task_types")  (0.1ms) CREATE INDEX "index_biz_txn_task_types_on_parent_id" ON "biz_txn_task_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "party_id" integer, "biz_txn_party_role_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_party_roles")  (0.1ms) CREATE INDEX "index_biz_txn_party_roles_on_biz_txn_event_id" ON "biz_txn_party_roles" ("biz_txn_event_id")  (0.0ms) PRAGMA index_list("biz_txn_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_biz_txn_event_id')  (0.1ms) CREATE INDEX "index_biz_txn_party_roles_on_party_id" ON "biz_txn_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("biz_txn_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_biz_txn_event_id')  (0.1ms) CREATE INDEX "index_biz_txn_party_roles_on_biz_txn_party_role_type_id" ON "biz_txn_party_roles" ("biz_txn_party_role_type_id")  (0.2ms) CREATE TABLE "biz_txn_party_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_party_role_types")  (0.1ms) CREATE INDEX "index_biz_txn_party_role_types_on_parent_id" ON "biz_txn_party_role_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_acct_roots" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "status" integer, "biz_txn_acct_id" integer, "biz_txn_acct_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_acct_roots")  (0.1ms) CREATE INDEX "btai_2" ON "biz_txn_acct_roots" ("biz_txn_acct_id", "biz_txn_acct_type")  (0.2ms) CREATE TABLE "biz_txn_acct_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "biz_txn_acct_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_acct_types")  (0.1ms) CREATE INDEX "index_biz_txn_acct_types_on_parent_id" ON "biz_txn_acct_types" ("parent_id")  (0.1ms) CREATE TABLE "biz_txn_acct_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "biz_txn_acct_rel_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_acct_rel_types")  (0.1ms) CREATE INDEX "index_biz_txn_acct_rel_types_on_parent_id" ON "biz_txn_acct_rel_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_acct_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_acct_rel_type_id" integer, "description" varchar(255), "biz_txn_acct_root_id_from" integer, "biz_txn_acct_root_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_acct_relationships")  (0.2ms) CREATE INDEX "index_biz_txn_acct_relationships_on_biz_txn_acct_rel_type_id" ON "biz_txn_acct_relationships" ("biz_txn_acct_rel_type_id")  (0.0ms) PRAGMA index_list("biz_txn_acct_relationships")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_relationships_on_biz_txn_acct_rel_type_id')  (0.1ms) CREATE INDEX "index_biz_txn_acct_relationships_on_status_type_id" ON "biz_txn_acct_relationships" ("status_type_id")  (0.2ms) CREATE TABLE "biz_txn_acct_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "biz_txn_acct_root_id" integer, "party_id" integer, "biz_txn_acct_pty_rtype_id" integer, "is_default_billing_acct_flag" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_acct_party_roles")  (0.1ms) CREATE INDEX "index_biz_txn_acct_party_roles_on_biz_txn_acct_root_id" ON "biz_txn_acct_party_roles" ("biz_txn_acct_root_id")  (0.0ms) PRAGMA index_list("biz_txn_acct_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_biz_txn_acct_root_id')  (0.1ms) CREATE INDEX "index_biz_txn_acct_party_roles_on_party_id" ON "biz_txn_acct_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("biz_txn_acct_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_biz_txn_acct_root_id')  (0.2ms) CREATE INDEX "index_biz_txn_acct_party_roles_on_biz_txn_acct_pty_rtype_id" ON "biz_txn_acct_party_roles" ("biz_txn_acct_pty_rtype_id")  (0.2ms) CREATE TABLE "biz_txn_acct_pty_rtypes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_acct_pty_rtypes")  (0.2ms) CREATE INDEX "index_biz_txn_acct_pty_rtypes_on_parent_id" ON "biz_txn_acct_pty_rtypes" ("parent_id")  (0.2ms) CREATE TABLE "biz_acct_txn_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_task_id" integer, "biz_txn_account_id" integer, "description" varchar(255), "comments" varchar(255), "entered_date" datetime, "requested_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_acct_txn_tasks")  (0.2ms) CREATE INDEX "index_biz_acct_txn_tasks_on_biz_txn_task_id" ON "biz_acct_txn_tasks" ("biz_txn_task_id")  (0.0ms) PRAGMA index_list("biz_acct_txn_tasks")  (0.0ms) PRAGMA index_info('index_biz_acct_txn_tasks_on_biz_txn_task_id')  (0.1ms) CREATE INDEX "index_biz_acct_txn_tasks_on_biz_txn_account_id" ON "biz_acct_txn_tasks" ("biz_txn_account_id")  (0.2ms) CREATE TABLE "biz_txn_agreement_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_agreement_role_types")  (0.2ms) CREATE INDEX "index_biz_txn_agreement_role_types_on_parent_id" ON "biz_txn_agreement_role_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_agreement_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "biz_txn_event_type" varchar(255), "agreement_id" integer, "biz_txn_agreement_role_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_agreement_roles")  (0.1ms) CREATE INDEX "index_biz_txn_agreement_roles_on_agreement_id" ON "biz_txn_agreement_roles" ("agreement_id")  (0.0ms) PRAGMA index_list("biz_txn_agreement_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_agreement_roles_on_agreement_id')  (0.2ms) CREATE INDEX "index_biz_txn_agreement_roles_on_biz_txn_agreement_role_type_id" ON "biz_txn_agreement_roles" ("biz_txn_agreement_role_type_id")  (0.2ms) CREATE TABLE "financial_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "money_id" integer, "apply_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "financial_txn_assns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "financial_txn_id" integer, "financial_txn_record_id" integer, "financial_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "financial_txn_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_number" varchar(255), "agreement_id" integer, "balance_id" integer, "balance_date" date, "calculate_balance" boolean, "payment_due_id" integer, "due_date" date, "financial_account_id" integer, "financial_account_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "base_txn_contexts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "txn_context_record_id" integer, "txn_context_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("base_txn_contexts")  (0.2ms) CREATE INDEX "txn_context_record_idx" ON "base_txn_contexts" ("txn_context_record_id", "txn_context_record_type")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234219')  (8.3ms) commit transaction Migrating to AgreementsServices (20121213234220)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "agreements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "agreement_type_id" integer, "agreement_status" varchar(255), "product_id" integer, "agreement_date" date, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "agreement_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "agreement_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agreement_id" integer, "agreement_item_type_id" integer, "agreement_item_value" varchar(255), "description" varchar(255), "agreement_item_rule_string" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "agreement_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "agreement_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "agreement_id" integer, "party_id" integer, "role_type_id" integer, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "agreement_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agreement_reln_type_id" integer, "description" varchar(255), "agreement_id_from" integer, "agreement_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "agreement_reln_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "agreement_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "loyalty_program_codes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "identifier" varchar(255), "name" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234220')  (7.9ms) commit transaction Migrating to AgreementsServicesIndexes (20121213234221)  (0.0ms) begin transaction  (0.0ms) PRAGMA index_list("agreements")  (0.4ms) CREATE INDEX "index_agreements_on_agreement_type_id" ON "agreements" ("agreement_type_id")  (0.0ms) PRAGMA index_list("agreements")  (0.0ms) PRAGMA index_info('index_agreements_on_agreement_type_id')  (0.2ms) CREATE INDEX "index_agreements_on_product_id" ON "agreements" ("product_id")  (0.0ms) PRAGMA index_list("agreement_types")  (0.2ms) CREATE INDEX "index_agreement_types_on_parent_id" ON "agreement_types" ("parent_id")  (0.0ms) PRAGMA index_list("agreement_items")  (0.2ms) CREATE INDEX "index_agreement_items_on_agreement_id" ON "agreement_items" ("agreement_id")  (0.0ms) PRAGMA index_list("agreement_items")  (0.0ms) PRAGMA index_info('index_agreement_items_on_agreement_id')  (0.2ms) CREATE INDEX "index_agreement_items_on_agreement_item_type_id" ON "agreement_items" ("agreement_item_type_id")  (0.0ms) PRAGMA index_list("agreement_item_types")  (0.2ms) CREATE INDEX "index_agreement_item_types_on_parent_id" ON "agreement_item_types" ("parent_id")  (0.0ms) PRAGMA index_list("agreement_party_roles")  (0.2ms) CREATE INDEX "index_agreement_party_roles_on_agreement_id" ON "agreement_party_roles" ("agreement_id")  (0.0ms) PRAGMA index_list("agreement_party_roles")  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_agreement_id')  (0.2ms) CREATE INDEX "index_agreement_party_roles_on_party_id" ON "agreement_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("agreement_party_roles")  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_agreement_id')  (0.2ms) CREATE INDEX "index_agreement_party_roles_on_role_type_id" ON "agreement_party_roles" ("role_type_id")  (0.0ms) PRAGMA index_list("agreement_relationships")  (0.2ms) CREATE INDEX "index_agreement_relationships_on_agreement_reln_type_id" ON "agreement_relationships" ("agreement_reln_type_id")  (0.0ms) PRAGMA index_list("agreement_relationships")  (0.0ms) PRAGMA index_info('index_agreement_relationships_on_agreement_reln_type_id')  (0.2ms) CREATE INDEX "index_agreement_relationships_on_status_type_id" ON "agreement_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("agreement_reln_types")  (0.2ms) CREATE INDEX "index_agreement_reln_types_on_parent_id" ON "agreement_reln_types" ("parent_id")  (0.0ms) PRAGMA index_list("agreement_reln_types")  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_parent_id')  (0.2ms) CREATE INDEX "index_agreement_reln_types_on_valid_from_role_type_id" ON "agreement_reln_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("agreement_reln_types")  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_parent_id')  (0.2ms) CREATE INDEX "index_agreement_reln_types_on_valid_to_role_type_id" ON "agreement_reln_types" ("valid_to_role_type_id")  (0.0ms) PRAGMA index_list("agreement_role_types")  (0.2ms) CREATE INDEX "index_agreement_role_types_on_parent_id" ON "agreement_role_types" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234221')  (8.4ms) commit transaction Migrating to BaseAppFramework (20121213234222)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.2ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.2ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("preference_types")  (0.2ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.2ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.2ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.2ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("user_preferences")  (0.2ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.2ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.2ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.2ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("app_containers")  (0.1ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.2ms) CREATE INDEX "index_app_containers_on_type" ON "app_containers" ("type")  (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "base_url" varchar(255), "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer)  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.2ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.2ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.2ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer)   (0.0ms) PRAGMA index_list("applications_widgets")  (0.2ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.2ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.3ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.2ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.2ms) CREATE TABLE "configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "active" boolean, "is_template" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) PRAGMA index_list("configurations")  (0.3ms) CREATE INDEX "index_configurations_on_is_template" ON "configurations" ("is_template")  (0.2ms) CREATE TABLE "valid_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "configured_item_id" integer, "configured_item_type" varchar(255), "configuration_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("valid_configurations")  (0.2ms) CREATE INDEX "configured_item_poly_idx" ON "valid_configurations" ("configured_item_id", "configured_item_type")  (0.0ms) PRAGMA index_list("valid_configurations")  (0.0ms) PRAGMA index_info('configured_item_poly_idx')  (0.2ms) CREATE INDEX "index_valid_configurations_on_configuration_id" ON "valid_configurations" ("configuration_id")  (0.2ms) CREATE TABLE "configuration_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "configuration_id" integer, "configuration_item_type_id" integer, "configuration_option_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("configuration_items")  (0.2ms) CREATE INDEX "index_configuration_items_on_configuration_id" ON "configuration_items" ("configuration_id")  (0.0ms) PRAGMA index_list("configuration_items")  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_id')  (0.2ms) CREATE INDEX "index_configuration_items_on_configuration_item_type_id" ON "configuration_items" ("configuration_item_type_id")  (0.0ms) PRAGMA index_list("configuration_items")  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_item_type_id')  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_id')  (0.2ms) CREATE INDEX "index_configuration_items_on_configuration_option_id" ON "configuration_items" ("configuration_option_id")  (0.2ms) CREATE TABLE "configuration_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "allow_user_defined_options" boolean DEFAULT 'f', "is_multi_optional" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "configuration_item_types_configurations" ("configuration_item_type_id" integer, "configuration_id" integer)  (0.0ms) PRAGMA index_list("configuration_item_types_configurations")  (0.2ms) CREATE INDEX "conf_conf_type_id_item_idx" ON "configuration_item_types_configurations" ("configuration_item_type_id")  (0.0ms) PRAGMA index_list("configuration_item_types_configurations")  (0.0ms) PRAGMA index_info('conf_conf_type_id_item_idx')  (0.2ms) CREATE INDEX "conf_id_idx" ON "configuration_item_types_configurations" ("configuration_id")  (0.0ms) PRAGMA index_list("configuration_item_types_configurations")  (0.0ms) PRAGMA index_info('conf_id_idx')  (0.0ms) PRAGMA index_info('conf_conf_type_id_item_idx')  (0.5ms) CREATE UNIQUE INDEX "conf_config_type_uniq_idx" ON "configuration_item_types_configurations" ("configuration_item_type_id", "configuration_id")  (0.2ms) CREATE TABLE "configuration_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "comment" text, "user_defined" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("configuration_options")  (0.2ms) CREATE INDEX "index_configuration_options_on_value" ON "configuration_options" ("value")  (0.0ms) PRAGMA index_list("configuration_options")  (0.0ms) PRAGMA index_info('index_configuration_options_on_value')  (0.2ms) CREATE INDEX "index_configuration_options_on_internal_identifier" ON "configuration_options" ("internal_identifier")  (0.0ms) PRAGMA index_list("configuration_options")  (0.0ms) PRAGMA index_info('index_configuration_options_on_internal_identifier')  (0.0ms) PRAGMA index_info('index_configuration_options_on_value')  (0.2ms) CREATE INDEX "index_configuration_options_on_user_defined" ON "configuration_options" ("user_defined")  (0.2ms) CREATE TABLE "configuration_item_types_configuration_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "configuration_item_type_id" integer, "configuration_option_id" integer, "is_default" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("configuration_item_types_configuration_options")  (0.2ms) CREATE INDEX "conf_item_type_conf_opt_id_item_idx" ON "configuration_item_types_configuration_options" ("configuration_item_type_id")  (0.0ms) PRAGMA index_list("configuration_item_types_configuration_options")  (0.0ms) PRAGMA index_info('conf_item_type_conf_opt_id_item_idx')  (0.2ms) CREATE INDEX "conf_item_type_conf_opt_id_opt_idx" ON "configuration_item_types_configuration_options" ("configuration_option_id")  (0.2ms) CREATE TABLE "configuration_items_configuration_options" ("configuration_item_id" integer, "configuration_option_id" integer)  (0.0ms) PRAGMA index_list("configuration_items_configuration_options")  (0.2ms) CREATE INDEX "conf_item_conf_opt_id_item_idx" ON "configuration_items_configuration_options" ("configuration_item_id")  (0.0ms) PRAGMA index_list("configuration_items_configuration_options")  (0.0ms) PRAGMA index_info('conf_item_conf_opt_id_item_idx')  (0.2ms) CREATE INDEX "conf_item_conf_opt_id_opt_idx" ON "configuration_items_configuration_options" ("configuration_option_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234222')  (8.0ms) commit transaction Migrating to ErpCommerceBase (20121213234223)  (0.0ms) begin transaction  (0.5ms) CREATE TABLE "fees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "fee_record_id" integer, "fee_record_type" varchar(255), "money_id" integer, "fee_type_id" integer, "description" varchar(255), "start_date" datetime, "end_date" datetime, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("fees")  (0.2ms) CREATE INDEX "fee_record_idx" ON "fees" ("fee_record_id", "fee_record_type")  (0.0ms) PRAGMA index_list("fees")  (0.0ms) PRAGMA index_info('fee_record_idx')  (0.2ms) CREATE INDEX "index_fees_on_fee_type_id" ON "fees" ("fee_type_id")  (0.0ms) PRAGMA index_list("fees")  (0.0ms) PRAGMA index_info('index_fees_on_fee_type_id')  (0.0ms) PRAGMA index_info('fee_record_idx')  (0.2ms) CREATE INDEX "index_fees_on_money_id" ON "fees" ("money_id")  (0.4ms) CREATE TABLE "fee_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "comments" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "price_component_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "pricing_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "from_date" date, "thru_date" date, "matching_rules" varchar(255), "pricing_calculation" varchar(255), "is_simple_amount" boolean, "currency_id" integer, "money_amount" decimal(8,2), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "pricing_plan_components" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price_component_type_id" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "matching_rules" varchar(255), "pricing_calculation" varchar(255), "is_simple_amount" boolean, "currency_id" integer, "money_amount" decimal(8,2), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("pricing_plan_components")  (0.2ms) CREATE INDEX "index_pricing_plan_components_on_price_component_type_id" ON "pricing_plan_components" ("price_component_type_id")  (0.2ms) CREATE TABLE "valid_price_plan_components" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pricing_plan_id" integer, "pricing_plan_component_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("valid_price_plan_components")  (0.2ms) CREATE INDEX "index_valid_price_plan_components_on_pricing_plan_id" ON "valid_price_plan_components" ("pricing_plan_id")  (0.0ms) PRAGMA index_list("valid_price_plan_components")  (0.0ms) PRAGMA index_info('index_valid_price_plan_components_on_pricing_plan_id')  (0.2ms) CREATE INDEX "index_valid_price_plan_components_on_pricing_plan_component_id" ON "valid_price_plan_components" ("pricing_plan_component_id")  (0.2ms) CREATE TABLE "pricing_plan_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pricing_plan_id" integer, "priceable_item_id" integer, "priceable_item_type" varchar(255), "priority" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("pricing_plan_assignments")  (0.2ms) CREATE INDEX "index_pricing_plan_assignments_on_pricing_plan_id" ON "pricing_plan_assignments" ("pricing_plan_id")  (0.0ms) PRAGMA index_list("pricing_plan_assignments")  (0.0ms) PRAGMA index_info('index_pricing_plan_assignments_on_pricing_plan_id')  (0.2ms) CREATE INDEX "priceable_item_idx" ON "pricing_plan_assignments" ("priceable_item_id", "priceable_item_type")  (0.2ms) CREATE TABLE "prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "priced_item_id" integer, "priced_item_type" varchar(255), "pricing_plan_id" integer, "money_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("prices")  (0.2ms) CREATE INDEX "index_prices_on_money_id" ON "prices" ("money_id")  (0.0ms) PRAGMA index_list("prices")  (0.0ms) PRAGMA index_info('index_prices_on_money_id')  (0.2ms) CREATE INDEX "index_prices_on_pricing_plan_id" ON "prices" ("pricing_plan_id")  (0.0ms) PRAGMA index_list("prices")  (0.0ms) PRAGMA index_info('index_prices_on_pricing_plan_id')  (0.0ms) PRAGMA index_info('index_prices_on_money_id')  (0.2ms) CREATE INDEX "priced_item_idx" ON "prices" ("priced_item_id", "priced_item_type")  (0.2ms) CREATE TABLE "price_components" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "pricing_plan_component_id" integer, "price_id" integer, "money_id" integer, "priced_component_id" integer, "priced_component_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("price_components")  (0.2ms) CREATE INDEX "index_price_components_on_money_id" ON "price_components" ("money_id")  (0.0ms) PRAGMA index_list("price_components")  (0.0ms) PRAGMA index_info('index_price_components_on_money_id')  (0.2ms) CREATE INDEX "index_price_components_on_pricing_plan_component_id" ON "price_components" ("pricing_plan_component_id")  (0.0ms) PRAGMA index_list("price_components")  (0.0ms) PRAGMA index_info('index_price_components_on_pricing_plan_component_id')  (0.0ms) PRAGMA index_info('index_price_components_on_money_id')  (0.2ms) CREATE INDEX "index_price_components_on_price_id" ON "price_components" ("price_id")  (0.0ms) PRAGMA index_list("price_components")  (0.0ms) PRAGMA index_info('index_price_components_on_price_id')  (0.0ms) PRAGMA index_info('index_price_components_on_pricing_plan_component_id')  (0.0ms) PRAGMA index_info('index_price_components_on_money_id')  (0.2ms) CREATE INDEX "priced_component_idx" ON "price_components" ("priced_component_id", "priced_component_type")  (0.2ms) CREATE TABLE "payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "success" boolean, "reference_number" varchar(255), "financial_txn_id" integer, "current_state" varchar(255), "authorization_code" varchar(255), "external_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("payments")  (0.2ms) CREATE INDEX "index_payments_on_financial_txn_id" ON "payments" ("financial_txn_id")  (0.3ms) CREATE TABLE "payment_gateways" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "params" varchar(255), "payment_gateway_action_id" integer, "payment_id" integer, "response" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "payment_gateway_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("payment_gateway_actions")  (0.2ms) CREATE INDEX "index_payment_gateway_actions_on_internal_identifier" ON "payment_gateway_actions" ("internal_identifier")  (0.3ms) CREATE TABLE "credit_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_private_card_number" varchar(255), "expiration_month" integer, "expiration_year" integer, "description" varchar(255), "first_name_on_card" varchar(255), "last_name_on_card" varchar(255), "card_type" varchar(255), "postal_address_id" integer, "credit_card_account_purpose_id" integer, "credit_card_token" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "credit_card_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "credit_card_account_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "credit_card_account_id" integer, "role_type_id" integer, "party_id" integer, "credit_card_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_credit_card_account_id" ON "credit_card_account_party_roles" ("credit_card_account_id")  (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_account_id')  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_role_type_id" ON "credit_card_account_party_roles" ("role_type_id")  (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_account_id')  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_party_id" ON "credit_card_account_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_account_id')  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_credit_card_id" ON "credit_card_account_party_roles" ("credit_card_id")  (0.3ms) CREATE TABLE "credit_card_account_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "accepted_credit_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "organization_id" integer, "card_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "bank_account_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "bank_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "routing_number" varchar(255), "crypted_private_account_number" varchar(255), "name_on_account" varchar(255), "bank_account_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("bank_accounts")  (0.2ms) CREATE INDEX "bank_accounts_account_type_idx" ON "bank_accounts" ("bank_account_type_id")  (0.4ms) ALTER TABLE "order_txns" ADD "payment_gateway_txn_id" varchar(255)  (0.4ms) ALTER TABLE "order_txns" ADD "credit_card_id" integer  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_first_name" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_last_name" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_city" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_state" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_postal_code" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_country" varchar(255)  (0.6ms) CREATE TEMPORARY TABLE "altered_order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('order_txn_record_idx')  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.1ms) CREATE INDEX "temp_order_txn_record_idx" ON "altered_order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.1ms) CREATE INDEX "temp_index_altered_order_txns_on_order_txn_type_id" ON "altered_order_txns" ("order_txn_type_id")  (0.1ms) SELECT * FROM "order_txns"  (0.5ms) DROP TABLE "order_txns"  (0.3ms) CREATE TABLE "order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))   (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_index_altered_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.0ms) PRAGMA index_list("order_txns")  (0.2ms) CREATE INDEX "index_order_txns_on_order_txn_type_id" ON "order_txns" ("order_txn_type_id")  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.2ms) CREATE INDEX "order_txn_record_idx" ON "order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.1ms) SELECT * FROM "altered_order_txns"  (0.3ms) DROP TABLE "altered_order_txns"  (0.2ms) CREATE TEMPORARY TABLE "altered_order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country_name" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('order_txn_record_idx')  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.1ms) CREATE INDEX "temp_order_txn_record_idx" ON "altered_order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.1ms) CREATE INDEX "temp_index_altered_order_txns_on_order_txn_type_id" ON "altered_order_txns" ("order_txn_type_id")  (0.1ms) SELECT * FROM "order_txns"  (0.3ms) DROP TABLE "order_txns"  (0.3ms) CREATE TABLE "order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country_name" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))   (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_index_altered_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.0ms) PRAGMA index_list("order_txns")  (0.2ms) CREATE INDEX "index_order_txns_on_order_txn_type_id" ON "order_txns" ("order_txn_type_id")  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.2ms) CREATE INDEX "order_txn_record_idx" ON "order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.1ms) SELECT * FROM "altered_order_txns"  (0.1ms) DROP TABLE "altered_order_txns"  (0.4ms) ALTER TABLE "order_txns" ADD "bill_to_country" varchar(255)  (0.4ms) ALTER TABLE "order_txns" ADD "ship_to_country" varchar(255)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234223')  (8.8ms) commit transaction  (3.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("accepted_credit_cards")  (0.0ms) PRAGMA index_list("agreement_item_types")  (0.0ms) PRAGMA index_info('index_agreement_item_types_on_parent_id')  (0.0ms) PRAGMA index_list("agreement_items")  (0.0ms) PRAGMA index_info('index_agreement_items_on_agreement_item_type_id')  (0.0ms) PRAGMA index_info('index_agreement_items_on_agreement_id')  (0.0ms) PRAGMA index_list("agreement_party_roles")  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_agreement_id')  (0.0ms) PRAGMA index_list("agreement_relationships")  (0.0ms) PRAGMA index_info('index_agreement_relationships_on_status_type_id')  (0.0ms) PRAGMA index_info('index_agreement_relationships_on_agreement_reln_type_id')  (0.0ms) PRAGMA index_list("agreement_reln_types")  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_parent_id')  (0.0ms) PRAGMA index_list("agreement_role_types")  (0.0ms) PRAGMA index_info('index_agreement_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("agreement_types")  (0.0ms) PRAGMA index_info('index_agreement_types_on_parent_id')  (0.0ms) PRAGMA index_list("agreements")  (0.0ms) PRAGMA index_info('index_agreements_on_product_id')  (0.0ms) PRAGMA index_info('index_agreements_on_agreement_type_id')  (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_type')  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("attribute_types")  (0.0ms) PRAGMA index_info(':attribute_types_iid_idx')  (0.0ms) PRAGMA index_list("attribute_values")  (0.0ms) PRAGMA index_info('attribute_values_value_idx')  (0.0ms) PRAGMA index_info('attribute_values_attributed_type_idx')  (0.0ms) PRAGMA index_info('attribute_values_attributed_record_idx')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("bank_account_types")  (0.0ms) PRAGMA index_list("bank_accounts")  (0.0ms) PRAGMA index_info('bank_accounts_account_type_idx')  (0.0ms) PRAGMA index_list("base_txn_contexts")  (0.0ms) PRAGMA index_info('txn_context_record_idx')  (0.0ms) PRAGMA index_list("biz_acct_txn_tasks")  (0.0ms) PRAGMA index_info('index_biz_acct_txn_tasks_on_biz_txn_account_id')  (0.0ms) PRAGMA index_info('index_biz_acct_txn_tasks_on_biz_txn_task_id')  (0.0ms) PRAGMA index_list("biz_txn_acct_party_roles")  (0.1ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_biz_txn_acct_pty_rtype_id')  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_biz_txn_acct_root_id')  (0.0ms) PRAGMA index_list("biz_txn_acct_pty_rtypes")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_pty_rtypes_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_acct_rel_types")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_rel_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_acct_relationships")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_relationships_on_status_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_acct_relationships_on_biz_txn_acct_rel_type_id')  (0.0ms) PRAGMA index_list("biz_txn_acct_roots")  (0.0ms) PRAGMA index_info('btai_2')  (0.0ms) PRAGMA index_list("biz_txn_acct_status_types")  (0.0ms) PRAGMA index_list("biz_txn_acct_statuses")  (0.0ms) PRAGMA index_list("biz_txn_acct_types")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_agreement_role_types")  (0.0ms) PRAGMA index_info('index_biz_txn_agreement_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_agreement_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_agreement_roles_on_biz_txn_agreement_role_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_agreement_roles_on_agreement_id')  (0.0ms) PRAGMA index_list("biz_txn_event_descs")  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_locale_id')  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_language_id')  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_biz_txn_event_id')  (0.0ms) PRAGMA index_list("biz_txn_events")  (0.0ms) PRAGMA index_info('btai_1')  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_acct_root_id')  (0.0ms) PRAGMA index_list("biz_txn_party_role_types")  (0.0ms) PRAGMA index_info('index_biz_txn_party_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_biz_txn_party_role_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_biz_txn_event_id')  (0.0ms) PRAGMA index_list("biz_txn_rel_types")  (0.0ms) PRAGMA index_info('index_biz_txn_rel_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_relationships")  (0.0ms) PRAGMA index_info('index_biz_txn_relationships_on_status_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_relationships_on_biz_txn_rel_type_id')  (0.0ms) PRAGMA index_list("biz_txn_statuses")  (0.0ms) PRAGMA index_list("biz_txn_task_types")  (0.0ms) PRAGMA index_info('index_biz_txn_task_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_tasks")  (0.0ms) PRAGMA index_list("biz_txn_types")  (0.0ms) PRAGMA index_info('biz_txn_type_nested_set_idx')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("charge_line_payment_txns")  (0.0ms) PRAGMA index_info('index_charge_line_payment_txns_on_charge_line_id')  (0.0ms) PRAGMA index_info('payment_txn_idx')  (0.0ms) PRAGMA index_list("charge_lines")  (0.0ms) PRAGMA index_info('charged_item_idx')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("configuration_item_types")  (0.0ms) PRAGMA index_list("configuration_item_types_configuration_options")  (0.0ms) PRAGMA index_info('conf_item_type_conf_opt_id_opt_idx')  (0.0ms) PRAGMA index_info('conf_item_type_conf_opt_id_item_idx')  (0.0ms) PRAGMA index_list("configuration_item_types_configurations")  (0.0ms) PRAGMA index_info('conf_config_type_uniq_idx')  (0.0ms) PRAGMA index_info('conf_id_idx')  (0.0ms) PRAGMA index_info('conf_conf_type_id_item_idx')  (0.0ms) PRAGMA index_list("configuration_items")  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_option_id')  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_item_type_id')  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_id')  (0.0ms) PRAGMA index_list("configuration_items_configuration_options")  (0.0ms) PRAGMA index_info('conf_item_conf_opt_id_opt_idx')  (0.0ms) PRAGMA index_info('conf_item_conf_opt_id_item_idx')  (0.0ms) PRAGMA index_list("configuration_options")  (0.0ms) PRAGMA index_info('index_configuration_options_on_user_defined')  (0.0ms) PRAGMA index_info('index_configuration_options_on_internal_identifier')  (0.0ms) PRAGMA index_info('index_configuration_options_on_value')  (0.0ms) PRAGMA index_list("configurations")  (0.0ms) PRAGMA index_info('index_configurations_on_is_template')  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_account_id')  (0.0ms) PRAGMA index_list("credit_card_account_purposes")  (0.0ms) PRAGMA index_list("credit_card_accounts")  (0.0ms) PRAGMA index_list("credit_cards")  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("fee_types")  (0.0ms) PRAGMA index_list("fees")  (0.0ms) PRAGMA index_info('index_fees_on_money_id')  (0.0ms) PRAGMA index_info('index_fees_on_fee_type_id')  (0.0ms) PRAGMA index_info('fee_record_idx')  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_directory')  (0.0ms) PRAGMA index_info('index_file_assets_on_name')  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("financial_txn_accounts")  (0.0ms) PRAGMA index_list("financial_txn_assns")  (0.0ms) PRAGMA index_list("financial_txns")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("gl_accounts")  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("line_item_role_types")  (0.0ms) PRAGMA index_info('index_line_item_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("loyalty_program_codes")  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_biz_txn_acct_root_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_line_item_role_type_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_order_line_item_id')  (0.0ms) PRAGMA index_list("order_line_item_types")  (0.0ms) PRAGMA index_info('index_order_line_item_types_on_parent_id')  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_offer_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_instance_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.0ms) PRAGMA index_list("order_txn_types")  (0.0ms) PRAGMA index_info('index_order_txn_types_on_parent_id')  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('order_txn_record_idx')  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("payment_gateway_actions")  (0.0ms) PRAGMA index_info('index_payment_gateway_actions_on_internal_identifier')  (0.0ms) PRAGMA index_list("payment_gateways")  (0.0ms) PRAGMA index_list("payments")  (0.0ms) PRAGMA index_info('index_payments_on_financial_txn_id')  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("price_component_types")  (0.0ms) PRAGMA index_list("price_components")  (0.0ms) PRAGMA index_info('priced_component_idx')  (0.0ms) PRAGMA index_info('index_price_components_on_price_id')  (0.0ms) PRAGMA index_info('index_price_components_on_pricing_plan_component_id')  (0.0ms) PRAGMA index_info('index_price_components_on_money_id')  (0.0ms) PRAGMA index_list("price_plan_comp_gl_accounts")  (0.0ms) PRAGMA index_list("prices")  (0.0ms) PRAGMA index_info('priced_item_idx')  (0.0ms) PRAGMA index_info('index_prices_on_pricing_plan_id')  (0.0ms) PRAGMA index_info('index_prices_on_money_id')  (0.0ms) PRAGMA index_list("pricing_plan_assignments")  (0.0ms) PRAGMA index_info('priceable_item_idx')  (0.0ms) PRAGMA index_info('index_pricing_plan_assignments_on_pricing_plan_id')  (0.0ms) PRAGMA index_list("pricing_plan_components")  (0.0ms) PRAGMA index_info('index_pricing_plan_components_on_price_component_type_id')  (0.0ms) PRAGMA index_list("pricing_plans")  (0.0ms) PRAGMA index_list("prod_availability_status_types")  (0.0ms) PRAGMA index_list("prod_instance_reln_types")  (0.0ms) PRAGMA index_info('index_prod_instance_reln_types_on_parent_id')  (0.0ms) PRAGMA index_list("prod_instance_relns")  (0.0ms) PRAGMA index_info('index_prod_instance_relns_on_status_type_id')  (0.0ms) PRAGMA index_info('index_prod_instance_relns_on_prod_instance_reln_type_id')  (0.0ms) PRAGMA index_list("prod_instance_role_types")  (0.0ms) PRAGMA index_info('index_prod_instance_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("prod_type_reln_types")  (0.0ms) PRAGMA index_info('index_prod_type_reln_types_on_parent_id')  (0.0ms) PRAGMA index_list("prod_type_relns")  (0.0ms) PRAGMA index_info('index_prod_type_relns_on_status_type_id')  (0.0ms) PRAGMA index_info('index_prod_type_relns_on_prod_type_reln_type_id')  (0.0ms) PRAGMA index_list("prod_type_role_types")  (0.0ms) PRAGMA index_info('index_prod_type_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("product_instance_status_types")  (0.0ms) PRAGMA index_list("product_instances")  (0.0ms) PRAGMA index_info('index_product_instances_on_product_type_id')  (0.0ms) PRAGMA index_info('bpi_2')  (0.1ms) PRAGMA index_info('index_product_instances_on_parent_id')  (0.0ms) PRAGMA index_list("product_offers")  (0.0ms) PRAGMA index_info('bpi_3')  (0.0ms) PRAGMA index_list("product_types")  (0.0ms) PRAGMA index_info('bpi_1')  (0.0ms) PRAGMA index_info('index_product_types_on_parent_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("simple_product_offers")  (0.0ms) PRAGMA index_info('index_simple_product_offers_on_product_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) PRAGMA index_list("valid_configurations")  (0.0ms) PRAGMA index_info('index_valid_configurations_on_configuration_id')  (0.0ms) PRAGMA index_info('configured_item_poly_idx')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("valid_price_plan_components")  (0.0ms) PRAGMA index_info('index_valid_price_plan_components_on_pricing_plan_component_id')  (0.0ms) PRAGMA index_info('index_valid_price_plan_components_on_pricing_plan_id')  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") Connecting to database specified by database.yml NoteType Load (3.4ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (41.4ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (4.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20101011152441'  (0.1ms) begin transaction SQL (7.0ms) INSERT INTO "payment_gateway_actions" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["description", "capture"], ["internal_identifier", "capture"], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]] SQL (0.1ms) INSERT INTO "payment_gateway_actions" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["description", "Authorize"], ["internal_identifier", "authorize"], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]] SQL (0.1ms) INSERT INTO "payment_gateway_actions" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["description", "Full Reverse Of Authorization"], ["internal_identifier", "full_reverse_of_authorization"], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]]  (7.0ms) commit transaction  (3.6ms) insert into data_migrations (version) values ('20101011152441')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20101014142230'  (0.0ms) begin transaction BizTxnType Load (0.1ms) SELECT "biz_txn_types".* FROM "biz_txn_types"  BizTxnType Load (0.3ms) SELECT "biz_txn_types".* FROM "biz_txn_types" ORDER BY "biz_txn_types"."rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "biz_txn_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["description", "Payment Transaction"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "payment_txn"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]]  (4.0ms) commit transaction  (3.5ms) insert into data_migrations (version) values ('20101014142230')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110324010232'  (0.0ms) begin transaction ProdTypeRelnType Load (0.3ms) SELECT "prod_type_reln_types".* FROM "prod_type_reln_types" ORDER BY "prod_type_reln_types"."rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "prod_type_reln_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["description", "Product Type Package Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_type_package_reln"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]] ProdTypeRoleType Load (0.3ms) SELECT "prod_type_role_types".* FROM "prod_type_role_types" ORDER BY "prod_type_role_types"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "prod_type_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["description", "Product Type Package"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_type_package"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]] ProdTypeRoleType Load (0.2ms) SELECT "prod_type_role_types".* FROM "prod_type_role_types" ORDER BY "prod_type_role_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "prod_type_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["description", "Packaged Product Type"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "packaged_product_type"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]] ProdInstanceRelnType Load (0.3ms) SELECT "prod_instance_reln_types".* FROM "prod_instance_reln_types" ORDER BY "prod_instance_reln_types"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "prod_instance_reln_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["description", "Product Instance Package Relantionship"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_instance_package_reln"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]] ProdInstanceRoleType Load (0.3ms) SELECT "prod_instance_role_types".* FROM "prod_instance_role_types" ORDER BY "prod_instance_role_types"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "prod_instance_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["description", "Product Instance Package"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_instance_package"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]] ProdInstanceRoleType Load (0.1ms) SELECT "prod_instance_role_types".* FROM "prod_instance_role_types" ORDER BY "prod_instance_role_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "prod_instance_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["description", "Packaged Product Instance"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "packaged_product_instance"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]]  (6.1ms) commit transaction  (4.6ms) insert into data_migrations (version) values ('20110324010232')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935'  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]]  (3.9ms) commit transaction  (3.6ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110527160807'  (0.0ms) begin transaction ProdAvailabilityStatusType Load (0.1ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types"  ProdAvailabilityStatusType Load (0.3ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types" ORDER BY "prod_availability_status_types"."rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "prod_availability_status_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["description", "Available"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "available"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]] ProdAvailabilityStatusType Load (0.2ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types" ORDER BY "prod_availability_status_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "prod_availability_status_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["description", "Sold"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "sold"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]] ProdAvailabilityStatusType Load (0.2ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types" ORDER BY "prod_availability_status_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "prod_availability_status_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["description", "Shipped"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipped"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]]  (4.0ms) commit transaction  (3.4ms) insert into data_migrations (version) values ('20110527160807')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110605231556'  (0.0ms) begin transaction BizTxnPartyRoleType Load (0.3ms) SELECT "biz_txn_party_role_types".* FROM "biz_txn_party_role_types" ORDER BY "biz_txn_party_role_types"."rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "biz_txn_party_role_types" ("comments", "created_at", "description", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["description", "Order Roles"], ["internal_identifier", "order_roles"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]] BizTxnPartyRoleType Load (0.1ms) SELECT "biz_txn_party_role_types".* FROM "biz_txn_party_role_types" ORDER BY "biz_txn_party_role_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "biz_txn_party_role_types" ("comments", "created_at", "description", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00], ["description", "Payor"], ["internal_identifier", "payor"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Fri, 28 Dec 2012 18:50:11 UTC +00:00]] BizTxnPartyRoleType Load (0.1ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 1]] BizTxnPartyRoleType Load (0.0ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.4ms) UPDATE "biz_txn_party_role_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "biz_txn_party_role_types"."id" IN (SELECT "biz_txn_party_role_types"."id" FROM "biz_txn_party_role_types" ORDER BY "biz_txn_party_role_types"."lft") BizTxnPartyRoleType Load (0.0ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 1]] BizTxnPartyRoleType Load (0.2ms) SELECT "biz_txn_party_role_types".* FROM "biz_txn_party_role_types" WHERE ("biz_txn_party_role_types"."lft" >= 3 AND "biz_txn_party_role_types"."lft" < 4) AND ("biz_txn_party_role_types".id != 2) ORDER BY "biz_txn_party_role_types"."lft" BizTxnPartyRoleType Load (0.0ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 2]]  (4.1ms) commit transaction  (3.4ms) insert into data_migrations (version) values ('20110605231556')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110609150135'  (0.1ms) begin transaction GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" SQL (1.0ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] SQL (0.4ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] SQL (0.4ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.5ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (63.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (38.7ms) commit transaction  (3.7ms) insert into data_migrations (version) values ('20110609150135')  (0.3ms) select count(*) as num_rows from data_migrations where version = '20110728201729'  (0.1ms) begin transaction ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.3ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.4ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.3ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.5ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.3ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.3ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.3ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.3ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.6ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.5ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.2ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Fri, 28 Dec 2012 18:50:12 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.1ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.1ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.1ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "TrueNorth Logo"], ["internal_identifier", "truenorth_logo_background"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["value", "truenorth.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Planet"], ["internal_identifier", "planet_desktop_background"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["value", "ext-all.css"]]  (0.2ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.4ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2012-12-28 18:50:13.118083' WHERE "preference_types"."id" = 3  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2012-12-28 18:50:13.121635' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 8)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 3, "updated_at" = '2012-12-28 18:50:13.124481' WHERE "preference_types"."id" = 1  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 11)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 11, "updated_at" = '2012-12-28 18:50:13.126336' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "note_types"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] Widget Exists (0.2ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.4ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.3ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.3ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.3ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (1)  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 1]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (1) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 2]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (2) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 2 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 3]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (3) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 3 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1 Widget Exists (0.0ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 4]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 4 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (4)  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 4]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 4 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (4) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.3ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.2ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 5]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 5 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (5) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 5 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.2ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.2ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 6]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (6)  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 6]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (6) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 7]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 7 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (7)  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 7]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 7 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (7) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 7 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" IS NULL LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.2ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" IS NULL AND "applications"."id" != 4) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["weight", nil]] SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2012-12-28 18:50:13.665348', "updated_at" = '2012-12-28 18:50:13.665348' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 SQL (0.4ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.1ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]]  (0.1ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2012-12-28 18:50:13.693050', "updated_at" = '2012-12-28 18:50:13.693050' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "security_answer_1", "security_answer_2", "security_question_1", "security_question_2", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["security_answer_1", nil], ["security_answer_2", nil], ["security_question_1", nil], ["security_question_2", nil], ["type", nil], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Desktop"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 3 LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["preference_option_id", 3], ["preference_type_id", 1], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["user_id", 1]]  (0.2ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-28 18:50:13.875193' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 11 LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-28 18:50:13.881764' WHERE "user_preferences"."id" = 2  (0.2ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2012-12-28 18:50:13.882832' WHERE "app_containers"."type" IN ('Desktop') AND "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Organizer"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00]] SQL (0.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-28 18:50:13.904884' WHERE "user_preferences"."id" = 3  (0.2ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2012-12-28 18:50:13.906201' WHERE "app_containers"."type" IN ('Organizer') AND "app_containers"."id" = 2 SQL (0.3ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Mobile"], ["updated_at", Fri, 28 Dec 2012 18:50:13 UTC +00:00], ["user_id", nil]]  (0.3ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2012-12-28 18:50:13.988552' WHERE "app_containers"."type" IN ('Mobile') AND "app_containers"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.3ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = '2j6jceVjykmwpgD1xCTf', "crypted_password" = '$2a$10$QP4P5Rn2e9VMjjnorDYEhO0USP0m6d0F2MwyEbkaVOog5G3blj/yW', "updated_at" = '2012-12-28 18:50:14.129560' WHERE "users"."id" = 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (8) Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "security_answer_1", "security_answer_2", "security_question_1", "security_question_2", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["security_answer_1", nil], ["security_answer_2", nil], ["security_question_1", nil], ["security_question_2", nil], ["type", nil], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["username", "truenorth"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Desktop"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 4], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 3 LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["preference_option_id", 3], ["preference_type_id", 1], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-28 18:50:14.155374' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 4], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 11 LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-28 18:50:14.160526' WHERE "user_preferences"."id" = 5  (0.2ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2012-12-28 18:50:14.161332' WHERE "app_containers"."type" IN ('Desktop') AND "app_containers"."id" = 4 SQL (0.2ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Organizer"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 5], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-28 18:50:14.168335' WHERE "user_preferences"."id" = 6  (0.2ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2012-12-28 18:50:14.169190' WHERE "app_containers"."type" IN ('Organizer') AND "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Mobile"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["user_id", nil]]  (0.1ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2012-12-28 18:50:14.171597' WHERE "app_containers"."type" IN ('Mobile') AND "app_containers"."id" = 6 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.2ms) UPDATE "users" SET "party_id" = 2, "salt" = 'rpaHeptJ9rNZFxgWJE33', "crypted_password" = '$2a$10$zbqtsEjmaJ1TATvr7U97HejgTO1n2G3vtRTqajwpxY19yhnBTnuNu', "updated_at" = '2012-12-28 18:50:14.328410' WHERE "users"."id" = 2  (0.1ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2012-12-28 18:50:14.330746' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (9) Desktop Load (0.2ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1  (0.2ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) Desktop Load (0.2ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1 Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 1) LIMIT 1 Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 1) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 2) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 3) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1 Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 2) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (5, 4) Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 2) LIMIT 1  (78.6ms) commit transaction  (26.4ms) insert into data_migrations (version) values ('20110728201729')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201730'  (0.0ms) begin transaction Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.ProductManager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'product_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.5ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", "Products"], ["icon", "icon-product"], ["internal_identifier", "product_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.ProductManager"], ["shortcut_id", "product_manager-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.3ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3) SQL (0.2ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.2ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (66.6ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3) SQL (0.3ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.2ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.ProductManager' AND "applications"."id" != 5) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'product_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (10.1ms) commit transaction  (28.4ms) insert into data_migrations (version) values ('20110728201730')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110728201731'  (0.1ms) begin transaction Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.OrderManager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'order_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.6ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", "Orders"], ["icon", "icon-package"], ["internal_identifier", "order_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.OrderManager"], ["shortcut_id", "order_manager-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] SQL (0.3ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.2ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3, 5) SQL (0.2ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8, 12) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 6 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 6], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3, 5) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8, 12) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 6 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 6], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.OrderManager' AND "applications"."id" != 6) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'order_manager' AND "applications"."id" != 6 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (35.3ms) commit transaction  (4.5ms) insert into data_migrations (version) values ('20110728201731')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110728201732'  (0.1ms) begin transaction Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Organizer.Applications.OrderManagement.Base' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'order_management' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.5ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", "Orders"], ["icon", "icon-package"], ["internal_identifier", "order_management"], ["javascript_class_name", "Compass.ErpApp.Organizer.Applications.OrderManagement.Base"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]]  (5.1ms) commit transaction  (3.5ms) insert into data_migrations (version) values ('20110728201732')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201733'  (0.0ms) begin transaction PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'truenorth_logo_background' LIMIT 1  (0.2ms) UPDATE "preference_options" SET "value" = 'truenorth_tech.png', "updated_at" = '2012-12-28 18:50:14.762846' WHERE "preference_options"."id" = 3 PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'grey_gradient_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 5  (0.2ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 5 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.1ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 5]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'purple_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 6  (0.1ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 6 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.0ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 6]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'planet_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 7  (0.2ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 7 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.0ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 7]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'portablemind_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 8  (0.1ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 8 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.0ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 8]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'access_extjs_theme' LIMIT 1  (0.3ms) UPDATE "preference_options" SET "value" = 'extjs:ext-all-access', "updated_at" = '2012-12-28 18:50:14.773814' WHERE "preference_options"."id" = 9 PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'gray_extjs_theme' LIMIT 1  (0.1ms) UPDATE "preference_options" SET "value" = 'extjs:ext-all-gray', "updated_at" = '2012-12-28 18:50:14.775417' WHERE "preference_options"."id" = 10 PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'blue_extjs_theme' LIMIT 1  (0.1ms) UPDATE "preference_options" SET "value" = 'extjs:ext-all', "updated_at" = '2012-12-28 18:50:14.776492' WHERE "preference_options"."id" = 11 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", "Clifton Default"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["value", "clifton:clifton"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", "Clifton Green"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["value", "clifton:clifton-green"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", "Clifton Yellow"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["value", "clifton:clifton-yellow"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", "Clifton Pink"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["value", "clifton:clifton-pink"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", "Clifton Blue"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["value", "clifton:clifton-blue"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE "preference_types"."internal_identifier" = 'extjs_theme' LIMIT 1  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 12)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 13)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 14)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 15)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 16) AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'AppContainer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'AppContainer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 4 and preferenced_record_type = 'AppContainer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 5 and preferenced_record_type = 'AppContainer') LIMIT 1  (7.8ms) commit transaction  (3.9ms) insert into data_migrations (version) values ('20110728201733')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110802200222'  (0.0ms) begin transaction SQL (0.7ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob\npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Sat, 29 Dec 2012 07:00:01 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]]  (3.9ms) commit transaction  (3.4ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110816161238'  (0.0ms) begin transaction Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.AuditLogViewer' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'audit_log_viewer' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", "Audit Log Viewer"], ["icon", "icon-history"], ["internal_identifier", "audit_log_viewer"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.AuditLogViewer"], ["shortcut_id", "audit_log_viewer-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 8], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 8], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.AuditLogViewer' AND "applications"."id" != 8) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'audit_log_viewer' AND "applications"."id" != 8 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (6.4ms) commit transaction  (5.3ms) insert into data_migrations (version) values ('20110816161238')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) begin transaction DesktopApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'file_manager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.5ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 9], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 9], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 9) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 9 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 Desktop Load (0.2ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 9) User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (8) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 Desktop Load (0.2ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 9) User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (9)  (7.5ms) commit transaction  (5.0ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838'  (0.0ms) begin transaction SQL (0.6ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["version", #]]  (4.3ms) commit transaction  (5.1ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183739'  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Fri, 28 Dec 2012 18:50:14 UTC +00:00]] DesktopApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" INNER JOIN "capable_models" ON "capabilities_capable_models"."capable_model_id" = "capable_models"."id" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.6ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["resource", "User"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] SQL (0.5ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.2ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" INNER JOIN "capable_models" ON "capabilities_capable_models"."capable_model_id" = "capable_models"."id" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["resource", "User"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.4ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Widget' AND "capable_models"."capable_model_record_id" IN (1) SQL (0.2ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" INNER JOIN "capable_models" ON "capabilities_capable_models"."capable_model_id" = "capable_models"."id" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["resource", "Note"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (12)  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" INNER JOIN "capable_models" ON "capabilities_capable_models"."capable_model_id" = "capable_models"."id" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["resource", "Note"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 4]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.2ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 4 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 SQL (0.3ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (13)  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 2) Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.2ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" INNER JOIN "capable_models" ON "capabilities_capable_models"."capable_model_id" = "capable_models"."id" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.4ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["resource", "Note"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (5.3ms) commit transaction  (4.9ms) insert into data_migrations (version) values ('20111108183739')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20111108183740'  (0.1ms) begin transaction OrganizerApplication Load (0.4ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.6ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (4) SQL (0.3ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (11) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.4ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Widget' AND "capable_models"."capable_model_record_id" IN (6) SQL (0.3ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (9) Application Load (0.2ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (4) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (11)  (0.3ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (6)  (0.3ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] SQL (0.5ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]] Widget Exists (0.2ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1 Widget Exists (0.2ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.5ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.3ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 8]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 8 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (15)  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 8]] Widget Exists (0.2ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1 Widget Exists (0.2ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] SQL (0.4ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 9]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 9 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (16)  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 9]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 10]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 10 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (17)  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 10]]  (0.2ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" IS NULL AND "applications"."id" != 4) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (5.9ms) commit transaction  (4.8ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706'  (0.1ms) begin transaction AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" AuditLogType Load (0.3ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.4ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 3 AND "audit_log_types"."lft" < 4) AND ("audit_log_types".id != 2) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.2ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 5 AND "audit_log_types"."lft" < 6) AND ("audit_log_types".id != 3) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 7 AND "audit_log_types"."lft" < 8) AND ("audit_log_types".id != 4) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 9 AND "audit_log_types"."lft" < 10) AND ("audit_log_types".id != 5) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 11 AND "audit_log_types"."lft" < 12) AND ("audit_log_types".id != 6) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (4.1ms) commit transaction  (3.5ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20120109173616'  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["description", "Download"], ["internal_identifier", "download"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] Role Exists (0.1ms) SELECT 1 AS one FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('file_downloader') LIMIT 1 SQL (0.2ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["description", "File Downloader"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "file_downloader"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]]  (6.0ms) commit transaction  (4.5ms) insert into data_migrations (version) values ('20120109173616')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20120229160222'  (0.0ms) begin transaction Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'userinfo' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (4) SQL (0.2ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (11) Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'userinfo' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'userinfo' LIMIT 1 SQL (0.4ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["description", "User Info"], ["icon", "icon-user"], ["internal_identifier", "userinfo"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["xtype", "userinfo"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["secured_record_id", 11], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 11], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 11) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" IS NULL AND "applications"."id" != 4) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (18, 1) Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'userinfo' AND "widgets"."id" != 11) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'userinfo' AND "widgets"."id" != 11) LIMIT 1  (7.5ms) commit transaction  (4.4ms) insert into data_migrations (version) values ('20120229160222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20120229174343'  (0.1ms) begin transaction Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'order_management' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (4) SQL (0.2ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (11) Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'partyorderstab' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'order_management' LIMIT 1 SQL (0.4ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["description", "Order Managament"], ["icon", "icon-grid"], ["internal_identifier", "order_management"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["xtype", "partyorderstab"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["secured_record_id", 12], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 12], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 12) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" IS NULL AND "applications"."id" != 4) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1) Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'partyorderstab' AND "widgets"."id" != 12) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'order_management' AND "widgets"."id" != 12) LIMIT 1  (6.8ms) commit transaction  (5.3ms) insert into data_migrations (version) values ('20120229174343')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20120405193721'  (0.1ms) begin transaction  (0.0ms) commit transaction  (4.9ms) insert into data_migrations (version) values ('20120405193721')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20120411180756'  (0.1ms) begin transaction Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" IS NULL LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'MobileApplication') LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" IS NULL LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'MobileApplication') LIMIT 1  (0.1ms) commit transaction  (3.7ms) insert into data_migrations (version) values ('20120411180756')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20120418164215'  (0.0ms) begin transaction Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.ConfigurationManagement' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'configuration_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.5ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["description", "Configuration Management"], ["icon", "icon-grid"], ["internal_identifier", "configuration_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.ConfigurationManagement"], ["shortcut_id", "configuration_management-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] SQL (0.3ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 18:50:15 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.2ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.3ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3, 5, 6, 8, 9) SQL (0.2ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8, 12, 13, 15, 16) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 6 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 8 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 9 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 10 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 10], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3, 5, 6, 8, 9) SQL (0.2ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8, 12, 13, 15, 16) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 6 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 8 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 9 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 10 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 10], ["preferenced_record_type", "Application"]]  (8.9ms) commit transaction  (3.6ms) insert into data_migrations (version) values ('20120418164215')  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 GlAccount Load (0.4ms) SELECT "gl_accounts".* FROM "gl_accounts" ORDER BY "gl_accounts"."rgt" desc LIMIT 1 SQL (22.5ms) INSERT INTO "gl_accounts" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 18:50:16 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", nil], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 18:50:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "price_plan_comp_gl_accounts" ("created_at", "gl_account_id", "mapping_rule_klass", "pricing_plan_component_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 18:50:16 UTC +00:00], ["gl_account_id", nil], ["mapping_rule_klass", nil], ["pricing_plan_component_id", nil], ["updated_at", Fri, 28 Dec 2012 18:50:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction Connecting to database specified by database.yml NoteType Load (46.9ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.9ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.8ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.6ms) SELECT "role_types".* FROM "role_types" Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.2ms) select sqlite_version(*)  (39.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (4.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (3.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseErpServices (20121213234212)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal(3,8), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.2ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("individuals")  (0.2ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("contacts")  (0.2ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.2ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.4ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" decimal(8,2), "currency_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.2ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.2ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("categories")  (0.2ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.2ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.2ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)   (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)   (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.2ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234212')  (6.8ms) commit transaction Migrating to FinancialAccountingServices (20121213234213)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "gl_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "price_plan_comp_gl_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pricing_plan_component_id" integer, "gl_account_id" integer, "mapping_rule_klass" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234213')  (8.1ms) commit transaction Migrating to BaseTechServices (20121213234214)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "security_question_1" varchar(255), "security_answer_1" varchar(255), "security_question_2" varchar(255), "security_answer_2" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.2ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.2ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.2ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.2ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "width" varchar(255), "height" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("file_assets")  (0.2ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "index_file_assets_on_name" ON "file_assets" ("name")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_name')  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "index_file_assets_on_directory" ON "file_assets" ("directory")  (0.2ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.2ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer)  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234214')  (7.4ms) commit transaction Migrating to CreateHasAttributeTables (20121213234215)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "attribute_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "data_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("attribute_types")  (0.1ms) CREATE INDEX ":attribute_types_iid_idx" ON "attribute_types" ("internal_identifier")  (0.1ms) CREATE TABLE "attribute_values" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attributed_record_id" integer, "attributed_record_type" varchar(255), "attribute_type_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("attribute_values")  (0.2ms) CREATE INDEX "attribute_values_attributed_record_idx" ON "attribute_values" ("attributed_record_id", "attributed_record_type")  (0.0ms) PRAGMA index_list("attribute_values")  (0.0ms) PRAGMA index_info('attribute_values_attributed_record_idx')  (0.1ms) CREATE INDEX "attribute_values_attributed_type_idx" ON "attribute_values" ("attribute_type_id")  (0.0ms) PRAGMA index_list("attribute_values")  (0.0ms) PRAGMA index_info('attribute_values_attributed_type_idx')  (0.0ms) PRAGMA index_info('attribute_values_attributed_record_idx')  (0.1ms) CREATE INDEX "attribute_values_value_idx" ON "attribute_values" ("value")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234215')  (5.9ms) commit transaction Migrating to BaseOrders (20121213234216)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("order_txns")  (0.1ms) CREATE INDEX "index_order_txns_on_order_txn_type_id" ON "order_txns" ("order_txn_type_id")  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.1ms) CREATE INDEX "order_txn_record_idx" ON "order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.4ms) CREATE TABLE "order_txn_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("order_txn_types")  (0.1ms) CREATE INDEX "index_order_txn_types_on_parent_id" ON "order_txn_types" ("parent_id")  (0.2ms) CREATE TABLE "order_line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_txn_id" integer, "order_line_item_type_id" integer, "product_id" integer, "product_description" varchar(255), "product_instance_id" integer, "product_instance_description" varchar(255), "product_type_id" integer, "product_type_description" varchar(255), "sold_price" decimal(8,2), "sold_price_uom" integer, "sold_amount" integer, "sold_amount_uom" integer, "product_offer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("order_line_items")  (0.1ms) CREATE INDEX "index_order_line_items_on_order_txn_id" ON "order_line_items" ("order_txn_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_order_line_item_type_id" ON "order_line_items" ("order_line_item_type_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_id" ON "order_line_items" ("product_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_instance_id" ON "order_line_items" ("product_instance_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_instance_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_type_id" ON "order_line_items" ("product_type_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_instance_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_offer_id" ON "order_line_items" ("product_offer_id")  (0.2ms) CREATE TABLE "order_line_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("order_line_item_types")  (0.1ms) CREATE INDEX "index_order_line_item_types_on_parent_id" ON "order_line_item_types" ("parent_id")  (0.2ms) CREATE TABLE "order_line_item_pty_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "order_line_item_id" integer, "party_id" integer, "line_item_role_type_id" integer, "biz_txn_acct_root_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_order_line_item_id" ON "order_line_item_pty_roles" ("order_line_item_id")  (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_order_line_item_id')  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_party_id" ON "order_line_item_pty_roles" ("party_id")  (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_order_line_item_id')  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_line_item_role_type_id" ON "order_line_item_pty_roles" ("line_item_role_type_id")  (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_line_item_role_type_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_order_line_item_id')  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_biz_txn_acct_root_id" ON "order_line_item_pty_roles" ("biz_txn_acct_root_id")  (0.2ms) CREATE TABLE "line_item_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("line_item_role_types")  (0.2ms) CREATE INDEX "index_line_item_role_types_on_parent_id" ON "line_item_role_types" ("parent_id")  (0.2ms) CREATE TABLE "charge_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sti_type" varchar(255), "money_id" integer, "description" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "charged_item_id" integer, "charged_item_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("charge_lines")  (0.1ms) CREATE INDEX "charged_item_idx" ON "charge_lines" ("charged_item_id", "charged_item_type")  (0.2ms) CREATE TABLE "charge_line_payment_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "charge_line_id" integer, "payment_txn_id" integer, "payment_txn_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("charge_line_payment_txns")  (0.1ms) CREATE INDEX "payment_txn_idx" ON "charge_line_payment_txns" ("payment_txn_id", "payment_txn_type")  (0.0ms) PRAGMA index_list("charge_line_payment_txns")  (0.0ms) PRAGMA index_info('payment_txn_idx')  (0.1ms) CREATE INDEX "index_charge_line_payment_txns_on_charge_line_id" ON "charge_line_payment_txns" ("charge_line_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234216')  (6.8ms) commit transaction Migrating to BaseProducts (20121213234217)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "product_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "product_type_record_id" integer, "product_type_record_type" varchar(255), "external_identifier" varchar(255), "internal_identifier" varchar(255), "external_id_source" varchar(255), "default_image_url" varchar(255), "list_view_image_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "product_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "product_instance_record_id" integer, "product_instance_record_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "product_type_id" integer, "type" varchar(255), "prod_availability_status_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "product_offers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "product_offer_record_id" integer, "product_offer_record_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "simple_product_offers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "product_id" integer, "base_price" decimal(8,2), "uom" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "prod_instance_reln_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "prod_instance_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "prod_instance_relns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "prod_instance_reln_type_id" integer, "description" varchar(255), "prod_instance_id_from" integer, "prod_instance_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "prod_type_reln_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "prod_type_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "prod_type_relns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "prod_type_reln_type_id" integer, "description" varchar(255), "prod_type_id_from" integer, "prod_type_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "product_instance_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "prod_availability_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234217')  (6.5ms) commit transaction Migrating to BaseProductsIndexes (20121213234218)  (0.0ms) begin transaction  (0.0ms) PRAGMA index_list("product_types")  (0.3ms) CREATE INDEX "index_product_types_on_parent_id" ON "product_types" ("parent_id")  (0.0ms) PRAGMA index_list("product_types")  (0.0ms) PRAGMA index_info('index_product_types_on_parent_id')  (0.1ms) CREATE INDEX "bpi_1" ON "product_types" ("product_type_record_id", "product_type_record_type")  (0.0ms) PRAGMA index_list("product_instances")  (0.1ms) CREATE INDEX "index_product_instances_on_parent_id" ON "product_instances" ("parent_id")  (0.0ms) PRAGMA index_list("product_instances")  (0.0ms) PRAGMA index_info('index_product_instances_on_parent_id')  (0.1ms) CREATE INDEX "bpi_2" ON "product_instances" ("product_instance_record_id", "product_instance_record_type")  (0.0ms) PRAGMA index_list("product_instances")  (0.0ms) PRAGMA index_info('bpi_2')  (0.0ms) PRAGMA index_info('index_product_instances_on_parent_id')  (0.1ms) CREATE INDEX "index_product_instances_on_product_type_id" ON "product_instances" ("product_type_id")  (0.0ms) PRAGMA index_list("product_offers")  (0.1ms) CREATE INDEX "bpi_3" ON "product_offers" ("product_offer_record_id", "product_offer_record_type")  (0.0ms) PRAGMA index_list("simple_product_offers")  (0.1ms) CREATE INDEX "index_simple_product_offers_on_product_id" ON "simple_product_offers" ("product_id")  (0.0ms) PRAGMA index_list("prod_instance_reln_types")  (0.1ms) CREATE INDEX "index_prod_instance_reln_types_on_parent_id" ON "prod_instance_reln_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_instance_role_types")  (0.1ms) CREATE INDEX "index_prod_instance_role_types_on_parent_id" ON "prod_instance_role_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_instance_relns")  (0.1ms) CREATE INDEX "index_prod_instance_relns_on_prod_instance_reln_type_id" ON "prod_instance_relns" ("prod_instance_reln_type_id")  (0.0ms) PRAGMA index_list("prod_instance_relns")  (0.0ms) PRAGMA index_info('index_prod_instance_relns_on_prod_instance_reln_type_id')  (0.1ms) CREATE INDEX "index_prod_instance_relns_on_status_type_id" ON "prod_instance_relns" ("status_type_id")  (0.0ms) PRAGMA index_list("prod_type_reln_types")  (0.2ms) CREATE INDEX "index_prod_type_reln_types_on_parent_id" ON "prod_type_reln_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_type_role_types")  (0.1ms) CREATE INDEX "index_prod_type_role_types_on_parent_id" ON "prod_type_role_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_type_relns")  (0.1ms) CREATE INDEX "index_prod_type_relns_on_prod_type_reln_type_id" ON "prod_type_relns" ("prod_type_reln_type_id")  (0.0ms) PRAGMA index_list("prod_type_relns")  (0.0ms) PRAGMA index_info('index_prod_type_relns_on_prod_type_reln_type_id')  (0.1ms) CREATE INDEX "index_prod_type_relns_on_status_type_id" ON "prod_type_relns" ("status_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234218')  (11.1ms) commit transaction Migrating to BaseTxnsAndAccts (20121213234219)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "biz_txn_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "biz_txn_acct_root_id" integer, "biz_txn_type_id" integer, "entered_date" datetime, "post_date" datetime, "biz_txn_record_id" integer, "biz_txn_record_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_events")  (0.1ms) CREATE INDEX "index_biz_txn_events_on_biz_txn_acct_root_id" ON "biz_txn_events" ("biz_txn_acct_root_id")  (0.0ms) PRAGMA index_list("biz_txn_events")  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_acct_root_id')  (0.2ms) CREATE INDEX "index_biz_txn_events_on_biz_txn_type_id" ON "biz_txn_events" ("biz_txn_type_id")  (0.0ms) PRAGMA index_list("biz_txn_events")  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_acct_root_id')  (0.1ms) CREATE INDEX "btai_1" ON "biz_txn_events" ("biz_txn_record_id", "biz_txn_record_type")  (0.2ms) CREATE TABLE "biz_txn_event_descs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "language_id" integer, "locale_id" integer, "priority" integer, "sequence" integer, "short_description" varchar(255), "long_description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_event_descs")  (0.1ms) CREATE INDEX "index_biz_txn_event_descs_on_biz_txn_event_id" ON "biz_txn_event_descs" ("biz_txn_event_id")  (0.0ms) PRAGMA index_list("biz_txn_event_descs")  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_biz_txn_event_id')  (0.1ms) CREATE INDEX "index_biz_txn_event_descs_on_language_id" ON "biz_txn_event_descs" ("language_id")  (0.0ms) PRAGMA index_list("biz_txn_event_descs")  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_language_id')  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_biz_txn_event_id')  (0.1ms) CREATE INDEX "index_biz_txn_event_descs_on_locale_id" ON "biz_txn_event_descs" ("locale_id")  (0.2ms) CREATE TABLE "biz_txn_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_types")  (0.2ms) CREATE INDEX "biz_txn_type_nested_set_idx" ON "biz_txn_types" ("parent_id", "lft", "rgt")  (0.2ms) CREATE TABLE "biz_txn_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_rel_type_id" integer, "description" varchar(255), "txn_event_id_from" integer, "txn_event_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_relationships")  (0.2ms) CREATE INDEX "index_biz_txn_relationships_on_biz_txn_rel_type_id" ON "biz_txn_relationships" ("biz_txn_rel_type_id")  (0.0ms) PRAGMA index_list("biz_txn_relationships")  (0.0ms) PRAGMA index_info('index_biz_txn_relationships_on_biz_txn_rel_type_id')  (0.1ms) CREATE INDEX "index_biz_txn_relationships_on_status_type_id" ON "biz_txn_relationships" ("status_type_id")  (0.2ms) CREATE TABLE "biz_txn_rel_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_rel_types")  (0.2ms) CREATE INDEX "index_biz_txn_rel_types_on_parent_id" ON "biz_txn_rel_types" ("parent_id")  (0.1ms) CREATE TABLE "biz_txn_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "comments" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "biz_txn_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "biz_txn_task_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_task_types")  (0.2ms) CREATE INDEX "index_biz_txn_task_types_on_parent_id" ON "biz_txn_task_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "party_id" integer, "biz_txn_party_role_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_party_roles")  (0.1ms) CREATE INDEX "index_biz_txn_party_roles_on_biz_txn_event_id" ON "biz_txn_party_roles" ("biz_txn_event_id")  (0.0ms) PRAGMA index_list("biz_txn_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_biz_txn_event_id')  (0.1ms) CREATE INDEX "index_biz_txn_party_roles_on_party_id" ON "biz_txn_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("biz_txn_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_biz_txn_event_id')  (0.2ms) CREATE INDEX "index_biz_txn_party_roles_on_biz_txn_party_role_type_id" ON "biz_txn_party_roles" ("biz_txn_party_role_type_id")  (0.2ms) CREATE TABLE "biz_txn_party_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_party_role_types")  (0.2ms) CREATE INDEX "index_biz_txn_party_role_types_on_parent_id" ON "biz_txn_party_role_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_acct_roots" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "status" integer, "biz_txn_acct_id" integer, "biz_txn_acct_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_acct_roots")  (0.2ms) CREATE INDEX "btai_2" ON "biz_txn_acct_roots" ("biz_txn_acct_id", "biz_txn_acct_type")  (0.2ms) CREATE TABLE "biz_txn_acct_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "biz_txn_acct_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_acct_types")  (0.2ms) CREATE INDEX "index_biz_txn_acct_types_on_parent_id" ON "biz_txn_acct_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_acct_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "biz_txn_acct_rel_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_acct_rel_types")  (0.2ms) CREATE INDEX "index_biz_txn_acct_rel_types_on_parent_id" ON "biz_txn_acct_rel_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_acct_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_acct_rel_type_id" integer, "description" varchar(255), "biz_txn_acct_root_id_from" integer, "biz_txn_acct_root_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_acct_relationships")  (0.1ms) CREATE INDEX "index_biz_txn_acct_relationships_on_biz_txn_acct_rel_type_id" ON "biz_txn_acct_relationships" ("biz_txn_acct_rel_type_id")  (0.0ms) PRAGMA index_list("biz_txn_acct_relationships")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_relationships_on_biz_txn_acct_rel_type_id')  (0.1ms) CREATE INDEX "index_biz_txn_acct_relationships_on_status_type_id" ON "biz_txn_acct_relationships" ("status_type_id")  (0.2ms) CREATE TABLE "biz_txn_acct_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "biz_txn_acct_root_id" integer, "party_id" integer, "biz_txn_acct_pty_rtype_id" integer, "is_default_billing_acct_flag" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_acct_party_roles")  (0.2ms) CREATE INDEX "index_biz_txn_acct_party_roles_on_biz_txn_acct_root_id" ON "biz_txn_acct_party_roles" ("biz_txn_acct_root_id")  (0.0ms) PRAGMA index_list("biz_txn_acct_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_biz_txn_acct_root_id')  (0.2ms) CREATE INDEX "index_biz_txn_acct_party_roles_on_party_id" ON "biz_txn_acct_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("biz_txn_acct_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_biz_txn_acct_root_id')  (0.2ms) CREATE INDEX "index_biz_txn_acct_party_roles_on_biz_txn_acct_pty_rtype_id" ON "biz_txn_acct_party_roles" ("biz_txn_acct_pty_rtype_id")  (0.2ms) CREATE TABLE "biz_txn_acct_pty_rtypes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_acct_pty_rtypes")  (0.2ms) CREATE INDEX "index_biz_txn_acct_pty_rtypes_on_parent_id" ON "biz_txn_acct_pty_rtypes" ("parent_id")  (0.2ms) CREATE TABLE "biz_acct_txn_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_task_id" integer, "biz_txn_account_id" integer, "description" varchar(255), "comments" varchar(255), "entered_date" datetime, "requested_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_acct_txn_tasks")  (0.2ms) CREATE INDEX "index_biz_acct_txn_tasks_on_biz_txn_task_id" ON "biz_acct_txn_tasks" ("biz_txn_task_id")  (0.0ms) PRAGMA index_list("biz_acct_txn_tasks")  (0.0ms) PRAGMA index_info('index_biz_acct_txn_tasks_on_biz_txn_task_id')  (0.2ms) CREATE INDEX "index_biz_acct_txn_tasks_on_biz_txn_account_id" ON "biz_acct_txn_tasks" ("biz_txn_account_id")  (0.2ms) CREATE TABLE "biz_txn_agreement_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_agreement_role_types")  (0.2ms) CREATE INDEX "index_biz_txn_agreement_role_types_on_parent_id" ON "biz_txn_agreement_role_types" ("parent_id")  (0.3ms) CREATE TABLE "biz_txn_agreement_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "biz_txn_event_type" varchar(255), "agreement_id" integer, "biz_txn_agreement_role_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_agreement_roles")  (0.2ms) CREATE INDEX "index_biz_txn_agreement_roles_on_agreement_id" ON "biz_txn_agreement_roles" ("agreement_id")  (0.0ms) PRAGMA index_list("biz_txn_agreement_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_agreement_roles_on_agreement_id')  (0.2ms) CREATE INDEX "index_biz_txn_agreement_roles_on_biz_txn_agreement_role_type_id" ON "biz_txn_agreement_roles" ("biz_txn_agreement_role_type_id")  (0.2ms) CREATE TABLE "financial_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "money_id" integer, "apply_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "financial_txn_assns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "financial_txn_id" integer, "financial_txn_record_id" integer, "financial_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "financial_txn_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_number" varchar(255), "agreement_id" integer, "balance_id" integer, "balance_date" date, "calculate_balance" boolean, "payment_due_id" integer, "due_date" date, "financial_account_id" integer, "financial_account_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "base_txn_contexts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "txn_context_record_id" integer, "txn_context_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("base_txn_contexts")  (0.2ms) CREATE INDEX "txn_context_record_idx" ON "base_txn_contexts" ("txn_context_record_id", "txn_context_record_type")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234219')  (8.5ms) commit transaction Migrating to AgreementsServices (20121213234220)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "agreements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "agreement_type_id" integer, "agreement_status" varchar(255), "product_id" integer, "agreement_date" date, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "agreement_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "agreement_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agreement_id" integer, "agreement_item_type_id" integer, "agreement_item_value" varchar(255), "description" varchar(255), "agreement_item_rule_string" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "agreement_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "agreement_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "agreement_id" integer, "party_id" integer, "role_type_id" integer, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "agreement_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agreement_reln_type_id" integer, "description" varchar(255), "agreement_id_from" integer, "agreement_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "agreement_reln_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "agreement_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "loyalty_program_codes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "identifier" varchar(255), "name" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234220')  (6.7ms) commit transaction Migrating to AgreementsServicesIndexes (20121213234221)  (0.0ms) begin transaction  (0.0ms) PRAGMA index_list("agreements")  (0.4ms) CREATE INDEX "index_agreements_on_agreement_type_id" ON "agreements" ("agreement_type_id")  (0.0ms) PRAGMA index_list("agreements")  (0.0ms) PRAGMA index_info('index_agreements_on_agreement_type_id')  (0.2ms) CREATE INDEX "index_agreements_on_product_id" ON "agreements" ("product_id")  (0.0ms) PRAGMA index_list("agreement_types")  (0.2ms) CREATE INDEX "index_agreement_types_on_parent_id" ON "agreement_types" ("parent_id")  (0.0ms) PRAGMA index_list("agreement_items")  (0.2ms) CREATE INDEX "index_agreement_items_on_agreement_id" ON "agreement_items" ("agreement_id")  (0.0ms) PRAGMA index_list("agreement_items")  (0.0ms) PRAGMA index_info('index_agreement_items_on_agreement_id')  (0.2ms) CREATE INDEX "index_agreement_items_on_agreement_item_type_id" ON "agreement_items" ("agreement_item_type_id")  (0.0ms) PRAGMA index_list("agreement_item_types")  (0.2ms) CREATE INDEX "index_agreement_item_types_on_parent_id" ON "agreement_item_types" ("parent_id")  (0.0ms) PRAGMA index_list("agreement_party_roles")  (0.2ms) CREATE INDEX "index_agreement_party_roles_on_agreement_id" ON "agreement_party_roles" ("agreement_id")  (0.0ms) PRAGMA index_list("agreement_party_roles")  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_agreement_id')  (0.2ms) CREATE INDEX "index_agreement_party_roles_on_party_id" ON "agreement_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("agreement_party_roles")  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_agreement_id')  (0.2ms) CREATE INDEX "index_agreement_party_roles_on_role_type_id" ON "agreement_party_roles" ("role_type_id")  (0.0ms) PRAGMA index_list("agreement_relationships")  (0.2ms) CREATE INDEX "index_agreement_relationships_on_agreement_reln_type_id" ON "agreement_relationships" ("agreement_reln_type_id")  (0.0ms) PRAGMA index_list("agreement_relationships")  (0.0ms) PRAGMA index_info('index_agreement_relationships_on_agreement_reln_type_id')  (0.2ms) CREATE INDEX "index_agreement_relationships_on_status_type_id" ON "agreement_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("agreement_reln_types")  (0.2ms) CREATE INDEX "index_agreement_reln_types_on_parent_id" ON "agreement_reln_types" ("parent_id")  (0.0ms) PRAGMA index_list("agreement_reln_types")  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_parent_id')  (0.2ms) CREATE INDEX "index_agreement_reln_types_on_valid_from_role_type_id" ON "agreement_reln_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("agreement_reln_types")  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_parent_id')  (0.2ms) CREATE INDEX "index_agreement_reln_types_on_valid_to_role_type_id" ON "agreement_reln_types" ("valid_to_role_type_id")  (0.0ms) PRAGMA index_list("agreement_role_types")  (0.2ms) CREATE INDEX "index_agreement_role_types_on_parent_id" ON "agreement_role_types" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234221')  (7.8ms) commit transaction Migrating to BaseAppFramework (20121213234222)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.2ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.2ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("preference_types")  (0.2ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.2ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.2ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.2ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("user_preferences")  (0.2ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.2ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.2ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.2ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.2ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("app_containers")  (0.2ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.2ms) CREATE INDEX "index_app_containers_on_type" ON "app_containers" ("type")  (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "base_url" varchar(255), "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer)  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.2ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.2ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.2ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer)   (0.0ms) PRAGMA index_list("applications_widgets")  (0.2ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.2ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.2ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.2ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.2ms) CREATE TABLE "configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "active" boolean, "is_template" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("configurations")  (0.2ms) CREATE INDEX "index_configurations_on_is_template" ON "configurations" ("is_template")  (0.2ms) CREATE TABLE "valid_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "configured_item_id" integer, "configured_item_type" varchar(255), "configuration_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("valid_configurations")  (0.2ms) CREATE INDEX "configured_item_poly_idx" ON "valid_configurations" ("configured_item_id", "configured_item_type")  (0.0ms) PRAGMA index_list("valid_configurations")  (0.0ms) PRAGMA index_info('configured_item_poly_idx')  (0.2ms) CREATE INDEX "index_valid_configurations_on_configuration_id" ON "valid_configurations" ("configuration_id")  (0.2ms) CREATE TABLE "configuration_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "configuration_id" integer, "configuration_item_type_id" integer, "configuration_option_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("configuration_items")  (0.2ms) CREATE INDEX "index_configuration_items_on_configuration_id" ON "configuration_items" ("configuration_id")  (0.0ms) PRAGMA index_list("configuration_items")  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_id')  (0.2ms) CREATE INDEX "index_configuration_items_on_configuration_item_type_id" ON "configuration_items" ("configuration_item_type_id")  (0.0ms) PRAGMA index_list("configuration_items")  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_item_type_id')  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_id')  (0.2ms) CREATE INDEX "index_configuration_items_on_configuration_option_id" ON "configuration_items" ("configuration_option_id")  (0.2ms) CREATE TABLE "configuration_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "allow_user_defined_options" boolean DEFAULT 'f', "is_multi_optional" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "configuration_item_types_configurations" ("configuration_item_type_id" integer, "configuration_id" integer)  (0.0ms) PRAGMA index_list("configuration_item_types_configurations")  (0.2ms) CREATE INDEX "conf_conf_type_id_item_idx" ON "configuration_item_types_configurations" ("configuration_item_type_id")  (0.0ms) PRAGMA index_list("configuration_item_types_configurations")  (0.0ms) PRAGMA index_info('conf_conf_type_id_item_idx')  (0.2ms) CREATE INDEX "conf_id_idx" ON "configuration_item_types_configurations" ("configuration_id")  (0.0ms) PRAGMA index_list("configuration_item_types_configurations")  (0.0ms) PRAGMA index_info('conf_id_idx')  (0.0ms) PRAGMA index_info('conf_conf_type_id_item_idx')  (0.5ms) CREATE UNIQUE INDEX "conf_config_type_uniq_idx" ON "configuration_item_types_configurations" ("configuration_item_type_id", "configuration_id")  (0.2ms) CREATE TABLE "configuration_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "comment" text, "user_defined" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("configuration_options")  (0.2ms) CREATE INDEX "index_configuration_options_on_value" ON "configuration_options" ("value")  (0.0ms) PRAGMA index_list("configuration_options")  (0.0ms) PRAGMA index_info('index_configuration_options_on_value')  (0.2ms) CREATE INDEX "index_configuration_options_on_internal_identifier" ON "configuration_options" ("internal_identifier")  (0.0ms) PRAGMA index_list("configuration_options")  (0.0ms) PRAGMA index_info('index_configuration_options_on_internal_identifier')  (0.0ms) PRAGMA index_info('index_configuration_options_on_value')  (0.2ms) CREATE INDEX "index_configuration_options_on_user_defined" ON "configuration_options" ("user_defined")  (0.2ms) CREATE TABLE "configuration_item_types_configuration_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "configuration_item_type_id" integer, "configuration_option_id" integer, "is_default" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("configuration_item_types_configuration_options")  (0.2ms) CREATE INDEX "conf_item_type_conf_opt_id_item_idx" ON "configuration_item_types_configuration_options" ("configuration_item_type_id")  (0.0ms) PRAGMA index_list("configuration_item_types_configuration_options")  (0.0ms) PRAGMA index_info('conf_item_type_conf_opt_id_item_idx')  (0.2ms) CREATE INDEX "conf_item_type_conf_opt_id_opt_idx" ON "configuration_item_types_configuration_options" ("configuration_option_id")  (0.2ms) CREATE TABLE "configuration_items_configuration_options" ("configuration_item_id" integer, "configuration_option_id" integer)  (0.0ms) PRAGMA index_list("configuration_items_configuration_options")  (0.2ms) CREATE INDEX "conf_item_conf_opt_id_item_idx" ON "configuration_items_configuration_options" ("configuration_item_id")  (0.0ms) PRAGMA index_list("configuration_items_configuration_options")  (0.0ms) PRAGMA index_info('conf_item_conf_opt_id_item_idx')  (0.2ms) CREATE INDEX "conf_item_conf_opt_id_opt_idx" ON "configuration_items_configuration_options" ("configuration_option_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234222')  (8.2ms) commit transaction Migrating to ErpCommerceBase (20121213234223)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "fees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "fee_record_id" integer, "fee_record_type" varchar(255), "money_id" integer, "fee_type_id" integer, "description" varchar(255), "start_date" datetime, "end_date" datetime, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("fees")  (0.2ms) CREATE INDEX "fee_record_idx" ON "fees" ("fee_record_id", "fee_record_type")  (0.0ms) PRAGMA index_list("fees")  (0.0ms) PRAGMA index_info('fee_record_idx')  (0.2ms) CREATE INDEX "index_fees_on_fee_type_id" ON "fees" ("fee_type_id")  (0.0ms) PRAGMA index_list("fees")  (0.0ms) PRAGMA index_info('index_fees_on_fee_type_id')  (0.0ms) PRAGMA index_info('fee_record_idx')  (0.2ms) CREATE INDEX "index_fees_on_money_id" ON "fees" ("money_id")  (0.3ms) CREATE TABLE "fee_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "comments" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "price_component_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "pricing_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "from_date" date, "thru_date" date, "matching_rules" varchar(255), "pricing_calculation" varchar(255), "is_simple_amount" boolean, "currency_id" integer, "money_amount" decimal(8,2), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "pricing_plan_components" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price_component_type_id" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "matching_rules" varchar(255), "pricing_calculation" varchar(255), "is_simple_amount" boolean, "currency_id" integer, "money_amount" decimal(8,2), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("pricing_plan_components")  (0.2ms) CREATE INDEX "index_pricing_plan_components_on_price_component_type_id" ON "pricing_plan_components" ("price_component_type_id")  (0.2ms) CREATE TABLE "valid_price_plan_components" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pricing_plan_id" integer, "pricing_plan_component_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("valid_price_plan_components")  (0.2ms) CREATE INDEX "index_valid_price_plan_components_on_pricing_plan_id" ON "valid_price_plan_components" ("pricing_plan_id")  (0.0ms) PRAGMA index_list("valid_price_plan_components")  (0.0ms) PRAGMA index_info('index_valid_price_plan_components_on_pricing_plan_id')  (0.2ms) CREATE INDEX "index_valid_price_plan_components_on_pricing_plan_component_id" ON "valid_price_plan_components" ("pricing_plan_component_id")  (0.2ms) CREATE TABLE "pricing_plan_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pricing_plan_id" integer, "priceable_item_id" integer, "priceable_item_type" varchar(255), "priority" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("pricing_plan_assignments")  (0.2ms) CREATE INDEX "index_pricing_plan_assignments_on_pricing_plan_id" ON "pricing_plan_assignments" ("pricing_plan_id")  (0.0ms) PRAGMA index_list("pricing_plan_assignments")  (0.0ms) PRAGMA index_info('index_pricing_plan_assignments_on_pricing_plan_id')  (0.2ms) CREATE INDEX "priceable_item_idx" ON "pricing_plan_assignments" ("priceable_item_id", "priceable_item_type")  (0.4ms) CREATE TABLE "prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "priced_item_id" integer, "priced_item_type" varchar(255), "pricing_plan_id" integer, "money_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("prices")  (0.2ms) CREATE INDEX "index_prices_on_money_id" ON "prices" ("money_id")  (0.0ms) PRAGMA index_list("prices")  (0.0ms) PRAGMA index_info('index_prices_on_money_id')  (0.2ms) CREATE INDEX "index_prices_on_pricing_plan_id" ON "prices" ("pricing_plan_id")  (0.0ms) PRAGMA index_list("prices")  (0.0ms) PRAGMA index_info('index_prices_on_pricing_plan_id')  (0.0ms) PRAGMA index_info('index_prices_on_money_id')  (0.2ms) CREATE INDEX "priced_item_idx" ON "prices" ("priced_item_id", "priced_item_type")  (0.2ms) CREATE TABLE "price_components" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "pricing_plan_component_id" integer, "price_id" integer, "money_id" integer, "priced_component_id" integer, "priced_component_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("price_components")  (0.2ms) CREATE INDEX "index_price_components_on_money_id" ON "price_components" ("money_id")  (0.0ms) PRAGMA index_list("price_components")  (0.0ms) PRAGMA index_info('index_price_components_on_money_id')  (0.2ms) CREATE INDEX "index_price_components_on_pricing_plan_component_id" ON "price_components" ("pricing_plan_component_id")  (0.0ms) PRAGMA index_list("price_components")  (0.0ms) PRAGMA index_info('index_price_components_on_pricing_plan_component_id')  (0.0ms) PRAGMA index_info('index_price_components_on_money_id')  (0.2ms) CREATE INDEX "index_price_components_on_price_id" ON "price_components" ("price_id")  (0.0ms) PRAGMA index_list("price_components")  (0.0ms) PRAGMA index_info('index_price_components_on_price_id')  (0.0ms) PRAGMA index_info('index_price_components_on_pricing_plan_component_id')  (0.0ms) PRAGMA index_info('index_price_components_on_money_id')  (0.2ms) CREATE INDEX "priced_component_idx" ON "price_components" ("priced_component_id", "priced_component_type")  (0.2ms) CREATE TABLE "payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "success" boolean, "reference_number" varchar(255), "financial_txn_id" integer, "current_state" varchar(255), "authorization_code" varchar(255), "external_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("payments")  (0.2ms) CREATE INDEX "index_payments_on_financial_txn_id" ON "payments" ("financial_txn_id")  (0.3ms) CREATE TABLE "payment_gateways" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "params" varchar(255), "payment_gateway_action_id" integer, "payment_id" integer, "response" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "payment_gateway_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("payment_gateway_actions")  (0.2ms) CREATE INDEX "index_payment_gateway_actions_on_internal_identifier" ON "payment_gateway_actions" ("internal_identifier")  (0.2ms) CREATE TABLE "credit_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_private_card_number" varchar(255), "expiration_month" integer, "expiration_year" integer, "description" varchar(255), "first_name_on_card" varchar(255), "last_name_on_card" varchar(255), "card_type" varchar(255), "postal_address_id" integer, "credit_card_account_purpose_id" integer, "credit_card_token" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "credit_card_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "credit_card_account_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "credit_card_account_id" integer, "role_type_id" integer, "party_id" integer, "credit_card_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_credit_card_account_id" ON "credit_card_account_party_roles" ("credit_card_account_id")  (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_account_id')  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_role_type_id" ON "credit_card_account_party_roles" ("role_type_id")  (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_account_id')  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_party_id" ON "credit_card_account_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_account_id')  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_credit_card_id" ON "credit_card_account_party_roles" ("credit_card_id")  (0.3ms) CREATE TABLE "credit_card_account_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "accepted_credit_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "organization_id" integer, "card_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "bank_account_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "bank_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "routing_number" varchar(255), "crypted_private_account_number" varchar(255), "name_on_account" varchar(255), "bank_account_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("bank_accounts")  (0.2ms) CREATE INDEX "bank_accounts_account_type_idx" ON "bank_accounts" ("bank_account_type_id")  (0.5ms) ALTER TABLE "order_txns" ADD "payment_gateway_txn_id" varchar(255)  (0.4ms) ALTER TABLE "order_txns" ADD "credit_card_id" integer  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_first_name" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_last_name" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_city" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_state" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_postal_code" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_country" varchar(255)  (0.6ms) CREATE TEMPORARY TABLE "altered_order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('order_txn_record_idx')  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.1ms) CREATE INDEX "temp_order_txn_record_idx" ON "altered_order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.1ms) CREATE INDEX "temp_index_altered_order_txns_on_order_txn_type_id" ON "altered_order_txns" ("order_txn_type_id")  (0.1ms) SELECT * FROM "order_txns"  (0.5ms) DROP TABLE "order_txns"  (0.3ms) CREATE TABLE "order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))   (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_index_altered_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.0ms) PRAGMA index_list("order_txns")  (0.2ms) CREATE INDEX "index_order_txns_on_order_txn_type_id" ON "order_txns" ("order_txn_type_id")  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.2ms) CREATE INDEX "order_txn_record_idx" ON "order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.1ms) SELECT * FROM "altered_order_txns"  (0.4ms) DROP TABLE "altered_order_txns"  (0.2ms) CREATE TEMPORARY TABLE "altered_order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country_name" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('order_txn_record_idx')  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.1ms) CREATE INDEX "temp_order_txn_record_idx" ON "altered_order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.1ms) CREATE INDEX "temp_index_altered_order_txns_on_order_txn_type_id" ON "altered_order_txns" ("order_txn_type_id")  (0.1ms) SELECT * FROM "order_txns"  (0.3ms) DROP TABLE "order_txns"  (0.3ms) CREATE TABLE "order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country_name" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))   (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_index_altered_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.0ms) PRAGMA index_list("order_txns")  (0.2ms) CREATE INDEX "index_order_txns_on_order_txn_type_id" ON "order_txns" ("order_txn_type_id")  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.2ms) CREATE INDEX "order_txn_record_idx" ON "order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.1ms) SELECT * FROM "altered_order_txns"  (0.1ms) DROP TABLE "altered_order_txns"  (0.4ms) ALTER TABLE "order_txns" ADD "bill_to_country" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "ship_to_country" varchar(255)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234223')  (8.8ms) commit transaction  (3.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("accepted_credit_cards")  (0.0ms) PRAGMA index_list("agreement_item_types")  (0.0ms) PRAGMA index_info('index_agreement_item_types_on_parent_id')  (0.0ms) PRAGMA index_list("agreement_items")  (0.0ms) PRAGMA index_info('index_agreement_items_on_agreement_item_type_id')  (0.0ms) PRAGMA index_info('index_agreement_items_on_agreement_id')  (0.0ms) PRAGMA index_list("agreement_party_roles")  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_agreement_id')  (0.0ms) PRAGMA index_list("agreement_relationships")  (0.0ms) PRAGMA index_info('index_agreement_relationships_on_status_type_id')  (0.0ms) PRAGMA index_info('index_agreement_relationships_on_agreement_reln_type_id')  (0.1ms) PRAGMA index_list("agreement_reln_types")  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_parent_id')  (0.0ms) PRAGMA index_list("agreement_role_types")  (0.0ms) PRAGMA index_info('index_agreement_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("agreement_types")  (0.0ms) PRAGMA index_info('index_agreement_types_on_parent_id')  (0.0ms) PRAGMA index_list("agreements")  (0.0ms) PRAGMA index_info('index_agreements_on_product_id')  (0.0ms) PRAGMA index_info('index_agreements_on_agreement_type_id')  (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_type')  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("attribute_types")  (0.0ms) PRAGMA index_info(':attribute_types_iid_idx')  (0.0ms) PRAGMA index_list("attribute_values")  (0.0ms) PRAGMA index_info('attribute_values_value_idx')  (0.0ms) PRAGMA index_info('attribute_values_attributed_type_idx')  (0.0ms) PRAGMA index_info('attribute_values_attributed_record_idx')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("bank_account_types")  (0.0ms) PRAGMA index_list("bank_accounts")  (0.0ms) PRAGMA index_info('bank_accounts_account_type_idx')  (0.0ms) PRAGMA index_list("base_txn_contexts")  (0.0ms) PRAGMA index_info('txn_context_record_idx')  (0.0ms) PRAGMA index_list("biz_acct_txn_tasks")  (0.0ms) PRAGMA index_info('index_biz_acct_txn_tasks_on_biz_txn_account_id')  (0.0ms) PRAGMA index_info('index_biz_acct_txn_tasks_on_biz_txn_task_id')  (0.0ms) PRAGMA index_list("biz_txn_acct_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_biz_txn_acct_pty_rtype_id')  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_biz_txn_acct_root_id')  (0.0ms) PRAGMA index_list("biz_txn_acct_pty_rtypes")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_pty_rtypes_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_acct_rel_types")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_rel_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_acct_relationships")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_relationships_on_status_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_acct_relationships_on_biz_txn_acct_rel_type_id')  (0.0ms) PRAGMA index_list("biz_txn_acct_roots")  (0.0ms) PRAGMA index_info('btai_2')  (0.0ms) PRAGMA index_list("biz_txn_acct_status_types")  (0.0ms) PRAGMA index_list("biz_txn_acct_statuses")  (0.0ms) PRAGMA index_list("biz_txn_acct_types")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_agreement_role_types")  (0.0ms) PRAGMA index_info('index_biz_txn_agreement_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_agreement_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_agreement_roles_on_biz_txn_agreement_role_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_agreement_roles_on_agreement_id')  (0.0ms) PRAGMA index_list("biz_txn_event_descs")  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_locale_id')  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_language_id')  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_biz_txn_event_id')  (0.0ms) PRAGMA index_list("biz_txn_events")  (0.0ms) PRAGMA index_info('btai_1')  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_acct_root_id')  (0.0ms) PRAGMA index_list("biz_txn_party_role_types")  (0.0ms) PRAGMA index_info('index_biz_txn_party_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_biz_txn_party_role_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_biz_txn_event_id')  (0.0ms) PRAGMA index_list("biz_txn_rel_types")  (0.0ms) PRAGMA index_info('index_biz_txn_rel_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_relationships")  (0.0ms) PRAGMA index_info('index_biz_txn_relationships_on_status_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_relationships_on_biz_txn_rel_type_id')  (0.0ms) PRAGMA index_list("biz_txn_statuses")  (0.0ms) PRAGMA index_list("biz_txn_task_types")  (0.0ms) PRAGMA index_info('index_biz_txn_task_types_on_parent_id')  (0.0ms) PRAGMA index_list("biz_txn_tasks")  (0.0ms) PRAGMA index_list("biz_txn_types")  (0.0ms) PRAGMA index_info('biz_txn_type_nested_set_idx')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("charge_line_payment_txns")  (0.0ms) PRAGMA index_info('index_charge_line_payment_txns_on_charge_line_id')  (0.0ms) PRAGMA index_info('payment_txn_idx')  (0.0ms) PRAGMA index_list("charge_lines")  (0.0ms) PRAGMA index_info('charged_item_idx')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("configuration_item_types")  (0.0ms) PRAGMA index_list("configuration_item_types_configuration_options")  (0.0ms) PRAGMA index_info('conf_item_type_conf_opt_id_opt_idx')  (0.0ms) PRAGMA index_info('conf_item_type_conf_opt_id_item_idx')  (0.0ms) PRAGMA index_list("configuration_item_types_configurations")  (0.0ms) PRAGMA index_info('conf_config_type_uniq_idx')  (0.0ms) PRAGMA index_info('conf_id_idx')  (0.0ms) PRAGMA index_info('conf_conf_type_id_item_idx')  (0.0ms) PRAGMA index_list("configuration_items")  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_option_id')  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_item_type_id')  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_id')  (0.0ms) PRAGMA index_list("configuration_items_configuration_options")  (0.0ms) PRAGMA index_info('conf_item_conf_opt_id_opt_idx')  (0.0ms) PRAGMA index_info('conf_item_conf_opt_id_item_idx')  (0.0ms) PRAGMA index_list("configuration_options")  (0.0ms) PRAGMA index_info('index_configuration_options_on_user_defined')  (0.0ms) PRAGMA index_info('index_configuration_options_on_internal_identifier')  (0.0ms) PRAGMA index_info('index_configuration_options_on_value')  (0.0ms) PRAGMA index_list("configurations")  (0.0ms) PRAGMA index_info('index_configurations_on_is_template')  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_account_id')  (0.0ms) PRAGMA index_list("credit_card_account_purposes")  (0.0ms) PRAGMA index_list("credit_card_accounts")  (0.0ms) PRAGMA index_list("credit_cards")  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("fee_types")  (0.0ms) PRAGMA index_list("fees")  (0.0ms) PRAGMA index_info('index_fees_on_money_id')  (0.0ms) PRAGMA index_info('index_fees_on_fee_type_id')  (0.0ms) PRAGMA index_info('fee_record_idx')  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_directory')  (0.0ms) PRAGMA index_info('index_file_assets_on_name')  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("financial_txn_accounts")  (0.0ms) PRAGMA index_list("financial_txn_assns")  (0.0ms) PRAGMA index_list("financial_txns")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("gl_accounts")  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("line_item_role_types")  (0.0ms) PRAGMA index_info('index_line_item_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("loyalty_program_codes")  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_biz_txn_acct_root_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_line_item_role_type_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_order_line_item_id')  (0.0ms) PRAGMA index_list("order_line_item_types")  (0.0ms) PRAGMA index_info('index_order_line_item_types_on_parent_id')  (0.1ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_offer_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_instance_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.0ms) PRAGMA index_list("order_txn_types")  (0.0ms) PRAGMA index_info('index_order_txn_types_on_parent_id')  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('order_txn_record_idx')  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("payment_gateway_actions")  (0.0ms) PRAGMA index_info('index_payment_gateway_actions_on_internal_identifier')  (0.0ms) PRAGMA index_list("payment_gateways")  (0.0ms) PRAGMA index_list("payments")  (0.0ms) PRAGMA index_info('index_payments_on_financial_txn_id')  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("price_component_types")  (0.0ms) PRAGMA index_list("price_components")  (0.0ms) PRAGMA index_info('priced_component_idx')  (0.0ms) PRAGMA index_info('index_price_components_on_price_id')  (0.0ms) PRAGMA index_info('index_price_components_on_pricing_plan_component_id')  (0.0ms) PRAGMA index_info('index_price_components_on_money_id')  (0.0ms) PRAGMA index_list("price_plan_comp_gl_accounts")  (0.0ms) PRAGMA index_list("prices")  (0.0ms) PRAGMA index_info('priced_item_idx')  (0.0ms) PRAGMA index_info('index_prices_on_pricing_plan_id')  (0.0ms) PRAGMA index_info('index_prices_on_money_id')  (0.0ms) PRAGMA index_list("pricing_plan_assignments")  (0.0ms) PRAGMA index_info('priceable_item_idx')  (0.0ms) PRAGMA index_info('index_pricing_plan_assignments_on_pricing_plan_id')  (0.0ms) PRAGMA index_list("pricing_plan_components")  (0.0ms) PRAGMA index_info('index_pricing_plan_components_on_price_component_type_id')  (0.0ms) PRAGMA index_list("pricing_plans")  (0.0ms) PRAGMA index_list("prod_availability_status_types")  (0.0ms) PRAGMA index_list("prod_instance_reln_types")  (0.0ms) PRAGMA index_info('index_prod_instance_reln_types_on_parent_id')  (0.0ms) PRAGMA index_list("prod_instance_relns")  (0.0ms) PRAGMA index_info('index_prod_instance_relns_on_status_type_id')  (0.0ms) PRAGMA index_info('index_prod_instance_relns_on_prod_instance_reln_type_id')  (0.0ms) PRAGMA index_list("prod_instance_role_types")  (0.0ms) PRAGMA index_info('index_prod_instance_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("prod_type_reln_types")  (0.0ms) PRAGMA index_info('index_prod_type_reln_types_on_parent_id')  (0.0ms) PRAGMA index_list("prod_type_relns")  (0.0ms) PRAGMA index_info('index_prod_type_relns_on_status_type_id')  (0.0ms) PRAGMA index_info('index_prod_type_relns_on_prod_type_reln_type_id')  (0.0ms) PRAGMA index_list("prod_type_role_types")  (0.0ms) PRAGMA index_info('index_prod_type_role_types_on_parent_id')  (0.0ms) PRAGMA index_list("product_instance_status_types")  (0.0ms) PRAGMA index_list("product_instances")  (0.0ms) PRAGMA index_info('index_product_instances_on_product_type_id')  (0.0ms) PRAGMA index_info('bpi_2')  (0.0ms) PRAGMA index_info('index_product_instances_on_parent_id')  (0.0ms) PRAGMA index_list("product_offers")  (0.0ms) PRAGMA index_info('bpi_3')  (0.0ms) PRAGMA index_list("product_types")  (0.0ms) PRAGMA index_info('bpi_1')  (0.0ms) PRAGMA index_info('index_product_types_on_parent_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("simple_product_offers")  (0.0ms) PRAGMA index_info('index_simple_product_offers_on_product_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_configurations")  (0.0ms) PRAGMA index_info('index_valid_configurations_on_configuration_id')  (0.0ms) PRAGMA index_info('configured_item_poly_idx')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("valid_price_plan_components")  (0.0ms) PRAGMA index_info('index_valid_price_plan_components_on_pricing_plan_component_id')  (0.0ms) PRAGMA index_info('index_valid_price_plan_components_on_pricing_plan_id')  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") Connecting to database specified by database.yml NoteType Load (6.2ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.8ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.7ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.8ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (5.8ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (4.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20101011152441'  (0.1ms) begin transaction SQL (83.3ms) INSERT INTO "payment_gateway_actions" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:33 UTC +00:00], ["description", "capture"], ["internal_identifier", "capture"], ["updated_at", Fri, 28 Dec 2012 19:19:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "payment_gateway_actions" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:33 UTC +00:00], ["description", "Authorize"], ["internal_identifier", "authorize"], ["updated_at", Fri, 28 Dec 2012 19:19:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "payment_gateway_actions" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:33 UTC +00:00], ["description", "Full Reverse Of Authorization"], ["internal_identifier", "full_reverse_of_authorization"], ["updated_at", Fri, 28 Dec 2012 19:19:33 UTC +00:00]]  (10.4ms) commit transaction  (3.7ms) insert into data_migrations (version) values ('20101011152441')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20101014142230'  (0.1ms) begin transaction BizTxnType Load (1.1ms) SELECT "biz_txn_types".* FROM "biz_txn_types"  BizTxnType Load (0.3ms) SELECT "biz_txn_types".* FROM "biz_txn_types" ORDER BY "biz_txn_types"."rgt" desc LIMIT 1 SQL (1.3ms) INSERT INTO "biz_txn_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:33 UTC +00:00], ["description", "Payment Transaction"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "payment_txn"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 19:19:33 UTC +00:00]]  (4.3ms) commit transaction  (3.5ms) insert into data_migrations (version) values ('20101014142230')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110324010232'  (0.0ms) begin transaction ProdTypeRelnType Load (3.0ms) SELECT "prod_type_reln_types".* FROM "prod_type_reln_types" ORDER BY "prod_type_reln_types"."rgt" desc LIMIT 1 SQL (1.0ms) INSERT INTO "prod_type_reln_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:33 UTC +00:00], ["description", "Product Type Package Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_type_package_reln"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 19:19:33 UTC +00:00]] ProdTypeRoleType Load (1.0ms) SELECT "prod_type_role_types".* FROM "prod_type_role_types" ORDER BY "prod_type_role_types"."rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "prod_type_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["description", "Product Type Package"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_type_package"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00]] ProdTypeRoleType Load (0.1ms) SELECT "prod_type_role_types".* FROM "prod_type_role_types" ORDER BY "prod_type_role_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "prod_type_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["description", "Packaged Product Type"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "packaged_product_type"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00]] ProdInstanceRelnType Load (1.1ms) SELECT "prod_instance_reln_types".* FROM "prod_instance_reln_types" ORDER BY "prod_instance_reln_types"."rgt" desc LIMIT 1 SQL (1.0ms) INSERT INTO "prod_instance_reln_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["description", "Product Instance Package Relantionship"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_instance_package_reln"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00]] ProdInstanceRoleType Load (1.2ms) SELECT "prod_instance_role_types".* FROM "prod_instance_role_types" ORDER BY "prod_instance_role_types"."rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "prod_instance_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["description", "Product Instance Package"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_instance_package"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00]] ProdInstanceRoleType Load (0.2ms) SELECT "prod_instance_role_types".* FROM "prod_instance_role_types" ORDER BY "prod_instance_role_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "prod_instance_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["description", "Packaged Product Instance"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "packaged_product_instance"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00]]  (6.2ms) commit transaction  (4.9ms) insert into data_migrations (version) values ('20110324010232')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935'  (0.0ms) begin transaction SQL (2.0ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00]]  (6.1ms) commit transaction  (3.7ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110527160807'  (0.0ms) begin transaction ProdAvailabilityStatusType Load (6.8ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types"  ProdAvailabilityStatusType Load (0.2ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types" ORDER BY "prod_availability_status_types"."rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "prod_availability_status_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["description", "Available"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "available"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00]] ProdAvailabilityStatusType Load (0.1ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types" ORDER BY "prod_availability_status_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "prod_availability_status_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["description", "Sold"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "sold"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00]] ProdAvailabilityStatusType Load (0.1ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types" ORDER BY "prod_availability_status_types"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "prod_availability_status_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["description", "Shipped"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipped"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00]]  (7.1ms) commit transaction  (3.4ms) insert into data_migrations (version) values ('20110527160807')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110605231556'  (0.0ms) begin transaction BizTxnPartyRoleType Load (1.2ms) SELECT "biz_txn_party_role_types".* FROM "biz_txn_party_role_types" ORDER BY "biz_txn_party_role_types"."rgt" desc LIMIT 1 SQL (1.2ms) INSERT INTO "biz_txn_party_role_types" ("comments", "created_at", "description", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["description", "Order Roles"], ["internal_identifier", "order_roles"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00]] BizTxnPartyRoleType Load (0.2ms) SELECT "biz_txn_party_role_types".* FROM "biz_txn_party_role_types" ORDER BY "biz_txn_party_role_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "biz_txn_party_role_types" ("comments", "created_at", "description", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["description", "Payor"], ["internal_identifier", "payor"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00]] BizTxnPartyRoleType Load (0.1ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 1]] BizTxnPartyRoleType Load (0.0ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.4ms) UPDATE "biz_txn_party_role_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "biz_txn_party_role_types"."id" IN (SELECT "biz_txn_party_role_types"."id" FROM "biz_txn_party_role_types" ORDER BY "biz_txn_party_role_types"."lft") BizTxnPartyRoleType Load (0.0ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 1]] BizTxnPartyRoleType Load (0.2ms) SELECT "biz_txn_party_role_types".* FROM "biz_txn_party_role_types" WHERE ("biz_txn_party_role_types"."lft" >= 3 AND "biz_txn_party_role_types"."lft" < 4) AND ("biz_txn_party_role_types".id != 2) ORDER BY "biz_txn_party_role_types"."lft" BizTxnPartyRoleType Load (0.0ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 2]]  (4.1ms) commit transaction  (3.4ms) insert into data_migrations (version) values ('20110605231556')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135'  (0.0ms) begin transaction GeoCountry Load (0.8ms) SELECT "geo_countries".* FROM "geo_countries" SQL (1.5ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.5ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (65.8ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:34 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (9.6ms) commit transaction  (55.6ms) insert into data_migrations (version) values ('20110609150135')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110728201729'  (0.1ms) begin transaction ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (6.8ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] Role Load (0.7ms) SELECT "roles".* FROM "roles" Role Exists (0.1ms) SELECT 1 AS one FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.3ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] Role Exists (0.1ms) SELECT 1 AS one FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.1ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (1.4ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "TrueNorth Logo"], ["internal_identifier", "truenorth_logo_background"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["value", "truenorth.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Planet"], ["internal_identifier", "planet_desktop_background"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["value", "ext-all.css"]]  (0.8ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.4ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2012-12-28 19:19:35.532404' WHERE "preference_types"."id" = 3  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2012-12-28 19:19:35.536357' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 8)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 3, "updated_at" = '2012-12-28 19:19:35.539026' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 11)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 11, "updated_at" = '2012-12-28 19:19:35.540711' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "note_types"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] Widget Exists (0.2ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (1.4ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (22.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (1.6ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.6ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.3ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (1)  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 1]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (1) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 2]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (2) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 2 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 3]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (3) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 3 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 4]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 4 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (4)  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 4]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 4 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (4) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 5]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 5 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (5) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 5 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.2ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.2ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 6]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (6)  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 6]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (6) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1 Widget Exists (0.0ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:35 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 7]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 7 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (7)  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 7]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 7 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (7) CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 7 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" IS NULL LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" IS NULL AND "applications"."id" != 4) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (9.9ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["weight", nil]] SQL (2.8ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2012-12-28 19:19:36.154568', "updated_at" = '2012-12-28 19:19:36.154568' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 SQL (1.1ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00]] SQL (0.2ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00]]  (0.1ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2012-12-28 19:19:36.194206', "updated_at" = '2012-12-28 19:19:36.194206' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1 User Exists (1.0ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1 User Exists (0.5ms) SELECT 1 AS one FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (2.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "security_answer_1", "security_answer_2", "security_question_1", "security_question_2", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["security_answer_1", nil], ["security_answer_2", nil], ["security_question_1", nil], ["security_question_2", nil], ["type", nil], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["username", "admin"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Desktop"], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 3 LIMIT 1 SQL (2.0ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["preference_option_id", 3], ["preference_type_id", 1], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00]] SQL (0.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-28 19:19:36.392900' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 11 LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00]] SQL (0.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-28 19:19:36.399574' WHERE "user_preferences"."id" = 2  (0.2ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2012-12-28 19:19:36.400705' WHERE "app_containers"."type" IN ('Desktop') AND "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Organizer"], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00]] SQL (0.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-28 19:19:36.422138' WHERE "user_preferences"."id" = 3  (0.2ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2012-12-28 19:19:36.423350' WHERE "app_containers"."type" IN ('Organizer') AND "app_containers"."id" = 2 SQL (0.4ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Mobile"], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["user_id", nil]]  (0.4ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2012-12-28 19:19:36.451155' WHERE "app_containers"."type" IN ('Mobile') AND "app_containers"."id" = 3 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.2ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'yvdRX4WBS5fW8XHs9qbp', "crypted_password" = '$2a$10$PXJZGADeS1UYHxzLULUD4edKWS45vfIPQvGJnETAtpV9taU52IDEK', "updated_at" = '2012-12-28 19:19:36.608012' WHERE "users"."id" = 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (8) Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "security_answer_1", "security_answer_2", "security_question_1", "security_question_2", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["security_answer_1", nil], ["security_answer_2", nil], ["security_question_1", nil], ["security_question_2", nil], ["type", nil], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["username", "truenorth"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00]] SQL (0.2ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Desktop"], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 4], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 3 LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["preference_option_id", 3], ["preference_type_id", 1], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00]] SQL (0.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-28 19:19:36.635990' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 4], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 11 LIMIT 1 SQL (0.3ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["user_id", 2]]  (0.2ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-28 19:19:36.644181' WHERE "user_preferences"."id" = 5  (0.2ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2012-12-28 19:19:36.645625' WHERE "app_containers"."type" IN ('Desktop') AND "app_containers"."id" = 4 SQL (0.2ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Organizer"], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 5], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00]] SQL (0.2ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2012-12-28 19:19:36.653226' WHERE "user_preferences"."id" = 6  (0.2ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2012-12-28 19:19:36.654193' WHERE "app_containers"."type" IN ('Organizer') AND "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Mobile"], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["user_id", nil]]  (0.2ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2012-12-28 19:19:36.656560' WHERE "app_containers"."type" IN ('Mobile') AND "app_containers"."id" = 6 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.2ms) UPDATE "users" SET "party_id" = 2, "salt" = 'DNS7v8YxqMFmw6mE6hyy', "crypted_password" = '$2a$10$z7fWn7QF.oTiYEwTrconIuI0Uu4SX6n336K9TbhTLOtSmo4hqqoP6', "updated_at" = '2012-12-28 19:19:36.792585' WHERE "users"."id" = 2  (0.1ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2012-12-28 19:19:36.794424' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (9) Desktop Load (0.2ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1  (0.2ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) Desktop Load (0.2ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1 Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 1) LIMIT 1 Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 1) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 2) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 3) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1 Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (5, 4) Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 2) LIMIT 1  (39.9ms) commit transaction  (12.4ms) insert into data_migrations (version) values ('20110728201729')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110728201730'  (0.1ms) begin transaction Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.ProductManager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'product_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.5ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["description", "Products"], ["icon", "icon-product"], ["internal_identifier", "product_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.ProductManager"], ["shortcut_id", "product_manager-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:36 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.3ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3) SQL (5.6ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.ProductManager' AND "applications"."id" != 5) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'product_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (6.1ms) commit transaction  (3.7ms) insert into data_migrations (version) values ('20110728201730')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201731'  (0.0ms) begin transaction Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.OrderManager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'order_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Orders"], ["icon", "icon-package"], ["internal_identifier", "order_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.OrderManager"], ["shortcut_id", "order_manager-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3, 5) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8, 12) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 6 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 6], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3, 5) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8, 12) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 6 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 6], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.OrderManager' AND "applications"."id" != 6) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'order_manager' AND "applications"."id" != 6 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (6.2ms) commit transaction  (3.6ms) insert into data_migrations (version) values ('20110728201731')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201732'  (0.1ms) begin transaction Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Organizer.Applications.OrderManagement.Base' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'order_management' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.5ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Orders"], ["icon", "icon-package"], ["internal_identifier", "order_management"], ["javascript_class_name", "Compass.ErpApp.Organizer.Applications.OrderManagement.Base"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]]  (4.9ms) commit transaction  (3.5ms) insert into data_migrations (version) values ('20110728201732')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110728201733'  (0.1ms) begin transaction PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'truenorth_logo_background' LIMIT 1  (0.3ms) UPDATE "preference_options" SET "value" = 'truenorth_tech.png', "updated_at" = '2012-12-28 19:19:37.164733' WHERE "preference_options"."id" = 3 PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'grey_gradient_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 5  (0.2ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 5 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.1ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 5]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'purple_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 6  (0.1ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 6 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.0ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 6]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'planet_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 7  (0.1ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 7 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.0ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 7]] PreferenceOption Load (0.2ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'portablemind_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 8  (0.3ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 8 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.0ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 8]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'access_extjs_theme' LIMIT 1  (0.3ms) UPDATE "preference_options" SET "value" = 'extjs:ext-all-access', "updated_at" = '2012-12-28 19:19:37.177475' WHERE "preference_options"."id" = 9 PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'gray_extjs_theme' LIMIT 1  (0.1ms) UPDATE "preference_options" SET "value" = 'extjs:ext-all-gray', "updated_at" = '2012-12-28 19:19:37.179239' WHERE "preference_options"."id" = 10 PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'blue_extjs_theme' LIMIT 1  (0.1ms) UPDATE "preference_options" SET "value" = 'extjs:ext-all', "updated_at" = '2012-12-28 19:19:37.180543' WHERE "preference_options"."id" = 11 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Clifton Default"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["value", "clifton:clifton"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Clifton Green"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["value", "clifton:clifton-green"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Clifton Yellow"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["value", "clifton:clifton-yellow"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Clifton Pink"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["value", "clifton:clifton-pink"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Clifton Blue"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["value", "clifton:clifton-blue"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE "preference_types"."internal_identifier" = 'extjs_theme' LIMIT 1  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 12)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 13)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 14)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 15)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 16) AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'AppContainer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'AppContainer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 4 and preferenced_record_type = 'AppContainer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 5 and preferenced_record_type = 'AppContainer') LIMIT 1  (24.0ms) commit transaction  (3.8ms) insert into data_migrations (version) values ('20110728201733')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110802200222'  (0.1ms) begin transaction SQL (18.6ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob\npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Sat, 29 Dec 2012 07:00:01 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]]  (4.3ms) commit transaction  (3.5ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110816161238'  (0.1ms) begin transaction Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.AuditLogViewer' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'audit_log_viewer' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Audit Log Viewer"], ["icon", "icon-history"], ["internal_identifier", "audit_log_viewer"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.AuditLogViewer"], ["shortcut_id", "audit_log_viewer-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 8], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 8], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.AuditLogViewer' AND "applications"."id" != 8) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'audit_log_viewer' AND "applications"."id" != 8 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (6.1ms) commit transaction  (3.5ms) insert into data_migrations (version) values ('20110816161238')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.0ms) begin transaction DesktopApplication Load (0.3ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'file_manager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 9], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 9], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 9) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 9 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 Desktop Load (0.2ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 9) User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (8) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 9) User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 SQL (0.1ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (9)  (6.3ms) commit transaction  (3.5ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838'  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["version", #]]  (3.8ms) commit transaction  (3.7ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183739'  (0.0ms) begin transaction SQL (3.0ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] DesktopApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (7.6ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" INNER JOIN "capable_models" ON "capabilities_capable_models"."capable_model_id" = "capable_models"."id" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (6.5ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["resource", "User"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 1]]  (53.2ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" INNER JOIN "capable_models" ON "capabilities_capable_models"."capable_model_id" = "capable_models"."id" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["resource", "User"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Widget' AND "capable_models"."capable_model_record_id" IN (1) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" INNER JOIN "capable_models" ON "capabilities_capable_models"."capable_model_id" = "capable_models"."id" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["resource", "Note"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (12)  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" INNER JOIN "capable_models" ON "capabilities_capable_models"."capable_model_id" = "capable_models"."id" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["resource", "Note"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 4]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 4 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (13)  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 2) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" INNER JOIN "capable_models" ON "capabilities_capable_models"."capable_model_id" = "capable_models"."id" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["resource", "Note"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1) Capability Load (0.0ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (7.4ms) commit transaction  (7.1ms) insert into data_migrations (version) values ('20111108183739')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740'  (0.1ms) begin transaction OrganizerApplication Load (0.3ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (4) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (11) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Widget' AND "capable_models"."capable_model_record_id" IN (6) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (9) Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (4) SQL (0.1ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (11)  (0.3ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (6)  (0.2ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] SQL (0.1ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 8]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 8 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (15)  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 8]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 9]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 9 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (16)  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 9]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 10]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 10 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 SQL (0.2ms) SELECT "roles".*, "t0"."secured_model_id" AS ar_association_key_name FROM "roles" INNER JOIN "roles_secured_models" "t0" ON "roles"."id" = "t0"."role_id" WHERE "t0"."secured_model_id" IN (17)  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 2) Widget Load (0.0ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."id" = ? LIMIT 1 [["id", 10]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" IS NULL AND "applications"."id" != 4) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (6.0ms) commit transaction  (5.6ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706'  (0.1ms) begin transaction AuditLogType Load (19.6ms) SELECT "audit_log_types".* FROM "audit_log_types" AuditLogType Load (0.3ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.3ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 3 AND "audit_log_types"."lft" < 4) AND ("audit_log_types".id != 2) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 5 AND "audit_log_types"."lft" < 6) AND ("audit_log_types".id != 3) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 7 AND "audit_log_types"."lft" < 8) AND ("audit_log_types".id != 4) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 9 AND "audit_log_types"."lft" < 10) AND ("audit_log_types".id != 5) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 11 AND "audit_log_types"."lft" < 12) AND ("audit_log_types".id != 6) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (6.6ms) commit transaction  (5.0ms) insert into data_migrations (version) values ('20111111144706')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20120109173616'  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Download"], ["internal_identifier", "download"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] Role Exists (0.1ms) SELECT 1 AS one FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('file_downloader') LIMIT 1 SQL (0.2ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "File Downloader"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "file_downloader"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]]  (4.6ms) commit transaction  (3.6ms) insert into data_migrations (version) values ('20120109173616')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20120229160222'  (0.1ms) begin transaction Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'userinfo' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (4) SQL (0.2ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (11) Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'userinfo' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'userinfo' LIMIT 1 SQL (0.5ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "User Info"], ["icon", "icon-user"], ["internal_identifier", "userinfo"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["xtype", "userinfo"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["secured_record_id", 11], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 11], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 11) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" IS NULL AND "applications"."id" != 4) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (18, 1) Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'userinfo' AND "widgets"."id" != 11) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'userinfo' AND "widgets"."id" != 11) LIMIT 1  (6.3ms) commit transaction  (3.5ms) insert into data_migrations (version) values ('20120229160222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20120229174343'  (0.1ms) begin transaction Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'order_management' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (4) SQL (0.2ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (11) Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."xtype" = 'partyorderstab' LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE "widgets"."internal_identifier" = 'order_management' LIMIT 1 SQL (0.5ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["description", "Order Managament"], ["icon", "icon-grid"], ["internal_identifier", "order_management"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["xtype", "partyorderstab"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["secured_record_id", 12], ["secured_record_type", "Widget"], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 12], ["capable_model_record_type", "Widget"], ["created_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:37 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 12) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" IS NULL AND "applications"."id" != 4) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1) Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."xtype" = 'partyorderstab' AND "widgets"."id" != 12) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE ("widgets"."internal_identifier" = 'order_management' AND "widgets"."id" != 12) LIMIT 1  (9.6ms) commit transaction  (5.7ms) insert into data_migrations (version) values ('20120229174343')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20120405193721'  (0.0ms) begin transaction  (0.0ms) commit transaction  (5.2ms) insert into data_migrations (version) values ('20120405193721')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20120411180756'  (0.0ms) begin transaction Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" IS NULL LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'MobileApplication') LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" IS NULL LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'MobileApplication') LIMIT 1  (0.1ms) commit transaction  (4.3ms) insert into data_migrations (version) values ('20120411180756')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20120418164215'  (0.1ms) begin transaction Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.ConfigurationManagement' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."internal_identifier" = 'configuration_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Fri, 28 Dec 2012 19:19:38 UTC +00:00], ["description", "Configuration Management"], ["icon", "icon-grid"], ["internal_identifier", "configuration_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.ConfigurationManagement"], ["shortcut_id", "configuration_management-win"], ["type", "DesktopApplication"], ["updated_at", Fri, 28 Dec 2012 19:19:38 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Application"], ["created_at", Fri, 28 Dec 2012 19:19:38 UTC +00:00], ["updated_at", Fri, 28 Dec 2012 19:19:38 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3, 5, 6, 8, 9) SQL (0.2ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8, 12, 13, 15, 16) ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 6 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 8 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 9 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 10 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 10], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.2ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Application') CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_type" = 'Application' AND "capable_models"."capable_model_record_id" IN (1, 2, 3, 5, 6, 8, 9) SQL (0.2ms) SELECT "capabilities".*, "t0"."capable_model_id" AS ar_association_key_name FROM "capabilities" INNER JOIN "capabilities_capable_models" "t0" ON "capabilities"."id" = "t0"."capability_id" WHERE "t0"."capable_model_id" IN (5, 7, 8, 12, 13, 15, 16) ValidPreferenceType Load (0.2ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.2ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.2ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 3 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.3ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 6 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 8 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 9 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 10 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 10], ["preferenced_record_type", "Application"]]  (18.5ms) commit transaction  (4.2ms) insert into data_migrations (version) values ('20120418164215')  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 GlAccount Load (0.3ms) SELECT "gl_accounts".* FROM "gl_accounts" ORDER BY "gl_accounts"."rgt" desc LIMIT 1 SQL (63.4ms) INSERT INTO "gl_accounts" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Fri, 28 Dec 2012 19:19:38 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", nil], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Fri, 28 Dec 2012 19:19:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "price_plan_comp_gl_accounts" ("created_at", "gl_account_id", "mapping_rule_klass", "pricing_plan_component_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 28 Dec 2012 19:19:39 UTC +00:00], ["gl_account_id", nil], ["mapping_rule_klass", nil], ["pricing_plan_component_id", nil], ["updated_at", Fri, 28 Dec 2012 19:19:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction Connecting to database specified by database.yml NoteType Load (13.4ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.9ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.8ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.8ms) SELECT "role_types".* FROM "role_types" Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (118.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (3.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (3.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseErpServices (20121213234212)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal(3,8), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("relationship_types")  (0.2ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.2ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.2ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.2ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("individuals")  (0.2ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.2ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.1ms) PRAGMA index_list("contacts")  (0.1ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.3ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("contact_types")  (0.2ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.2ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" decimal(8,2), "currency_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("money")  (0.2ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.2ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("currencies")  (0.2ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.2ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("categories")  (0.2ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.2ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)   (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.2ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)   (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.2ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.2ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.2ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.2ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234212')  (6.6ms) commit transaction Migrating to FinancialAccountingServices (20121213234213)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "gl_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "price_plan_comp_gl_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pricing_plan_component_id" integer, "gl_account_id" integer, "mapping_rule_klass" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234213')  (6.4ms) commit transaction Migrating to BaseTechServices (20121213234214)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "security_question_1" varchar(255), "security_answer_1" varchar(255), "security_question_2" varchar(255), "security_answer_2" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) PRAGMA index_list("users")  (0.1ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.1ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.1ms) PRAGMA index_info('activity_idx')  (0.1ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.2ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("sessions")  (0.2ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.2ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.2ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "width" varchar(255), "height" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "index_file_assets_on_name" ON "file_assets" ("name")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_name')  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "index_file_assets_on_directory" ON "file_assets" ("directory")  (0.2ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("capabilities")  (0.2ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer)  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234214')  (15.2ms) commit transaction Migrating to CreateHasAttributeTables (20121213234215)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "attribute_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "data_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("attribute_types")  (0.1ms) CREATE INDEX ":attribute_types_iid_idx" ON "attribute_types" ("internal_identifier")  (0.1ms) CREATE TABLE "attribute_values" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attributed_record_id" integer, "attributed_record_type" varchar(255), "attribute_type_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("attribute_values")  (0.2ms) CREATE INDEX "attribute_values_attributed_record_idx" ON "attribute_values" ("attributed_record_id", "attributed_record_type")  (0.0ms) PRAGMA index_list("attribute_values")  (0.0ms) PRAGMA index_info('attribute_values_attributed_record_idx')  (0.2ms) CREATE INDEX "attribute_values_attributed_type_idx" ON "attribute_values" ("attribute_type_id")  (0.0ms) PRAGMA index_list("attribute_values")  (0.0ms) PRAGMA index_info('attribute_values_attributed_type_idx')  (0.0ms) PRAGMA index_info('attribute_values_attributed_record_idx')  (0.1ms) CREATE INDEX "attribute_values_value_idx" ON "attribute_values" ("value")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234215')  (8.4ms) commit transaction Migrating to BaseOrders (20121213234216)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("order_txns")  (0.2ms) CREATE INDEX "index_order_txns_on_order_txn_type_id" ON "order_txns" ("order_txn_type_id")  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.1ms) CREATE INDEX "order_txn_record_idx" ON "order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.2ms) CREATE TABLE "order_txn_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("order_txn_types")  (0.1ms) CREATE INDEX "index_order_txn_types_on_parent_id" ON "order_txn_types" ("parent_id")  (0.2ms) CREATE TABLE "order_line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_txn_id" integer, "order_line_item_type_id" integer, "product_id" integer, "product_description" varchar(255), "product_instance_id" integer, "product_instance_description" varchar(255), "product_type_id" integer, "product_type_description" varchar(255), "sold_price" decimal(8,2), "sold_price_uom" integer, "sold_amount" integer, "sold_amount_uom" integer, "product_offer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("order_line_items")  (0.1ms) CREATE INDEX "index_order_line_items_on_order_txn_id" ON "order_line_items" ("order_txn_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_order_line_item_type_id" ON "order_line_items" ("order_line_item_type_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_id" ON "order_line_items" ("product_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_instance_id" ON "order_line_items" ("product_instance_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_instance_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_type_id" ON "order_line_items" ("product_type_id")  (0.0ms) PRAGMA index_list("order_line_items")  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_instance_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_product_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_line_item_type_id')  (0.0ms) PRAGMA index_info('index_order_line_items_on_order_txn_id')  (0.1ms) CREATE INDEX "index_order_line_items_on_product_offer_id" ON "order_line_items" ("product_offer_id")  (0.2ms) CREATE TABLE "order_line_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("order_line_item_types")  (0.1ms) CREATE INDEX "index_order_line_item_types_on_parent_id" ON "order_line_item_types" ("parent_id")  (0.2ms) CREATE TABLE "order_line_item_pty_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "order_line_item_id" integer, "party_id" integer, "line_item_role_type_id" integer, "biz_txn_acct_root_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_order_line_item_id" ON "order_line_item_pty_roles" ("order_line_item_id")  (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_order_line_item_id')  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_party_id" ON "order_line_item_pty_roles" ("party_id")  (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_order_line_item_id')  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_line_item_role_type_id" ON "order_line_item_pty_roles" ("line_item_role_type_id")  (0.0ms) PRAGMA index_list("order_line_item_pty_roles")  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_line_item_role_type_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_order_line_item_pty_roles_on_order_line_item_id')  (0.1ms) CREATE INDEX "index_order_line_item_pty_roles_on_biz_txn_acct_root_id" ON "order_line_item_pty_roles" ("biz_txn_acct_root_id")  (0.2ms) CREATE TABLE "line_item_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("line_item_role_types")  (0.1ms) CREATE INDEX "index_line_item_role_types_on_parent_id" ON "line_item_role_types" ("parent_id")  (0.2ms) CREATE TABLE "charge_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sti_type" varchar(255), "money_id" integer, "description" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "charged_item_id" integer, "charged_item_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("charge_lines")  (0.1ms) CREATE INDEX "charged_item_idx" ON "charge_lines" ("charged_item_id", "charged_item_type")  (0.1ms) CREATE TABLE "charge_line_payment_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "charge_line_id" integer, "payment_txn_id" integer, "payment_txn_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("charge_line_payment_txns")  (0.1ms) CREATE INDEX "payment_txn_idx" ON "charge_line_payment_txns" ("payment_txn_id", "payment_txn_type")  (0.0ms) PRAGMA index_list("charge_line_payment_txns")  (0.0ms) PRAGMA index_info('payment_txn_idx')  (0.1ms) CREATE INDEX "index_charge_line_payment_txns_on_charge_line_id" ON "charge_line_payment_txns" ("charge_line_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234216')  (7.0ms) commit transaction Migrating to BaseProducts (20121213234217)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "product_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "product_type_record_id" integer, "product_type_record_type" varchar(255), "external_identifier" varchar(255), "internal_identifier" varchar(255), "external_id_source" varchar(255), "default_image_url" varchar(255), "list_view_image_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "product_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "product_instance_record_id" integer, "product_instance_record_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "product_type_id" integer, "type" varchar(255), "prod_availability_status_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "product_offers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "product_offer_record_id" integer, "product_offer_record_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "simple_product_offers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "product_id" integer, "base_price" decimal(8,2), "uom" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "prod_instance_reln_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "prod_instance_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "prod_instance_relns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "prod_instance_reln_type_id" integer, "description" varchar(255), "prod_instance_id_from" integer, "prod_instance_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "prod_type_reln_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "prod_type_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "prod_type_relns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "prod_type_reln_type_id" integer, "description" varchar(255), "prod_type_id_from" integer, "prod_type_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "product_instance_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "prod_availability_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234217')  (6.5ms) commit transaction Migrating to BaseProductsIndexes (20121213234218)  (0.0ms) begin transaction  (0.1ms) PRAGMA index_list("product_types")  (0.5ms) CREATE INDEX "index_product_types_on_parent_id" ON "product_types" ("parent_id")  (0.0ms) PRAGMA index_list("product_types")  (0.0ms) PRAGMA index_info('index_product_types_on_parent_id')  (0.1ms) CREATE INDEX "bpi_1" ON "product_types" ("product_type_record_id", "product_type_record_type")  (0.0ms) PRAGMA index_list("product_instances")  (0.1ms) CREATE INDEX "index_product_instances_on_parent_id" ON "product_instances" ("parent_id")  (0.0ms) PRAGMA index_list("product_instances")  (0.0ms) PRAGMA index_info('index_product_instances_on_parent_id')  (0.2ms) CREATE INDEX "bpi_2" ON "product_instances" ("product_instance_record_id", "product_instance_record_type")  (0.0ms) PRAGMA index_list("product_instances")  (0.0ms) PRAGMA index_info('bpi_2')  (0.0ms) PRAGMA index_info('index_product_instances_on_parent_id')  (0.2ms) CREATE INDEX "index_product_instances_on_product_type_id" ON "product_instances" ("product_type_id")  (0.0ms) PRAGMA index_list("product_offers")  (0.2ms) CREATE INDEX "bpi_3" ON "product_offers" ("product_offer_record_id", "product_offer_record_type")  (0.0ms) PRAGMA index_list("simple_product_offers")  (0.2ms) CREATE INDEX "index_simple_product_offers_on_product_id" ON "simple_product_offers" ("product_id")  (0.0ms) PRAGMA index_list("prod_instance_reln_types")  (0.1ms) CREATE INDEX "index_prod_instance_reln_types_on_parent_id" ON "prod_instance_reln_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_instance_role_types")  (0.1ms) CREATE INDEX "index_prod_instance_role_types_on_parent_id" ON "prod_instance_role_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_instance_relns")  (0.3ms) CREATE INDEX "index_prod_instance_relns_on_prod_instance_reln_type_id" ON "prod_instance_relns" ("prod_instance_reln_type_id")  (0.0ms) PRAGMA index_list("prod_instance_relns")  (0.0ms) PRAGMA index_info('index_prod_instance_relns_on_prod_instance_reln_type_id')  (0.2ms) CREATE INDEX "index_prod_instance_relns_on_status_type_id" ON "prod_instance_relns" ("status_type_id")  (0.0ms) PRAGMA index_list("prod_type_reln_types")  (0.2ms) CREATE INDEX "index_prod_type_reln_types_on_parent_id" ON "prod_type_reln_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_type_role_types")  (0.2ms) CREATE INDEX "index_prod_type_role_types_on_parent_id" ON "prod_type_role_types" ("parent_id")  (0.0ms) PRAGMA index_list("prod_type_relns")  (0.2ms) CREATE INDEX "index_prod_type_relns_on_prod_type_reln_type_id" ON "prod_type_relns" ("prod_type_reln_type_id")  (0.0ms) PRAGMA index_list("prod_type_relns")  (0.0ms) PRAGMA index_info('index_prod_type_relns_on_prod_type_reln_type_id')  (0.1ms) CREATE INDEX "index_prod_type_relns_on_status_type_id" ON "prod_type_relns" ("status_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234218')  (9.0ms) commit transaction Migrating to BaseTxnsAndAccts (20121213234219)  (0.0ms) begin transaction  (0.5ms) CREATE TABLE "biz_txn_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "biz_txn_acct_root_id" integer, "biz_txn_type_id" integer, "entered_date" datetime, "post_date" datetime, "biz_txn_record_id" integer, "biz_txn_record_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_events")  (0.2ms) CREATE INDEX "index_biz_txn_events_on_biz_txn_acct_root_id" ON "biz_txn_events" ("biz_txn_acct_root_id")  (0.0ms) PRAGMA index_list("biz_txn_events")  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_acct_root_id')  (0.2ms) CREATE INDEX "index_biz_txn_events_on_biz_txn_type_id" ON "biz_txn_events" ("biz_txn_type_id")  (0.0ms) PRAGMA index_list("biz_txn_events")  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_type_id')  (0.0ms) PRAGMA index_info('index_biz_txn_events_on_biz_txn_acct_root_id')  (0.1ms) CREATE INDEX "btai_1" ON "biz_txn_events" ("biz_txn_record_id", "biz_txn_record_type")  (0.2ms) CREATE TABLE "biz_txn_event_descs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "language_id" integer, "locale_id" integer, "priority" integer, "sequence" integer, "short_description" varchar(255), "long_description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_event_descs")  (0.1ms) CREATE INDEX "index_biz_txn_event_descs_on_biz_txn_event_id" ON "biz_txn_event_descs" ("biz_txn_event_id")  (0.0ms) PRAGMA index_list("biz_txn_event_descs")  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_biz_txn_event_id')  (0.1ms) CREATE INDEX "index_biz_txn_event_descs_on_language_id" ON "biz_txn_event_descs" ("language_id")  (0.0ms) PRAGMA index_list("biz_txn_event_descs")  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_language_id')  (0.0ms) PRAGMA index_info('index_biz_txn_event_descs_on_biz_txn_event_id')  (0.1ms) CREATE INDEX "index_biz_txn_event_descs_on_locale_id" ON "biz_txn_event_descs" ("locale_id")  (0.2ms) CREATE TABLE "biz_txn_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_types")  (0.1ms) CREATE INDEX "biz_txn_type_nested_set_idx" ON "biz_txn_types" ("parent_id", "lft", "rgt")  (0.2ms) CREATE TABLE "biz_txn_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_rel_type_id" integer, "description" varchar(255), "txn_event_id_from" integer, "txn_event_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_relationships")  (0.1ms) CREATE INDEX "index_biz_txn_relationships_on_biz_txn_rel_type_id" ON "biz_txn_relationships" ("biz_txn_rel_type_id")  (0.0ms) PRAGMA index_list("biz_txn_relationships")  (0.0ms) PRAGMA index_info('index_biz_txn_relationships_on_biz_txn_rel_type_id')  (0.1ms) CREATE INDEX "index_biz_txn_relationships_on_status_type_id" ON "biz_txn_relationships" ("status_type_id")  (0.2ms) CREATE TABLE "biz_txn_rel_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_rel_types")  (0.2ms) CREATE INDEX "index_biz_txn_rel_types_on_parent_id" ON "biz_txn_rel_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "comments" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "biz_txn_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "biz_txn_task_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_task_types")  (0.1ms) CREATE INDEX "index_biz_txn_task_types_on_parent_id" ON "biz_txn_task_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "party_id" integer, "biz_txn_party_role_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_party_roles")  (0.1ms) CREATE INDEX "index_biz_txn_party_roles_on_biz_txn_event_id" ON "biz_txn_party_roles" ("biz_txn_event_id")  (0.0ms) PRAGMA index_list("biz_txn_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_biz_txn_event_id')  (0.1ms) CREATE INDEX "index_biz_txn_party_roles_on_party_id" ON "biz_txn_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("biz_txn_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_biz_txn_party_roles_on_biz_txn_event_id')  (0.1ms) CREATE INDEX "index_biz_txn_party_roles_on_biz_txn_party_role_type_id" ON "biz_txn_party_roles" ("biz_txn_party_role_type_id")  (0.2ms) CREATE TABLE "biz_txn_party_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_party_role_types")  (0.1ms) CREATE INDEX "index_biz_txn_party_role_types_on_parent_id" ON "biz_txn_party_role_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_acct_roots" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "status" integer, "biz_txn_acct_id" integer, "biz_txn_acct_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_acct_roots")  (0.1ms) CREATE INDEX "btai_2" ON "biz_txn_acct_roots" ("biz_txn_acct_id", "biz_txn_acct_type")  (0.2ms) CREATE TABLE "biz_txn_acct_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) CREATE TABLE "biz_txn_acct_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_acct_types")  (0.2ms) CREATE INDEX "index_biz_txn_acct_types_on_parent_id" ON "biz_txn_acct_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_acct_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "biz_txn_acct_rel_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_acct_rel_types")  (0.1ms) CREATE INDEX "index_biz_txn_acct_rel_types_on_parent_id" ON "biz_txn_acct_rel_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_acct_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_acct_rel_type_id" integer, "description" varchar(255), "biz_txn_acct_root_id_from" integer, "biz_txn_acct_root_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_acct_relationships")  (0.2ms) CREATE INDEX "index_biz_txn_acct_relationships_on_biz_txn_acct_rel_type_id" ON "biz_txn_acct_relationships" ("biz_txn_acct_rel_type_id")  (0.0ms) PRAGMA index_list("biz_txn_acct_relationships")  (0.1ms) PRAGMA index_info('index_biz_txn_acct_relationships_on_biz_txn_acct_rel_type_id')  (0.1ms) CREATE INDEX "index_biz_txn_acct_relationships_on_status_type_id" ON "biz_txn_acct_relationships" ("status_type_id")  (0.3ms) CREATE TABLE "biz_txn_acct_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "biz_txn_acct_root_id" integer, "party_id" integer, "biz_txn_acct_pty_rtype_id" integer, "is_default_billing_acct_flag" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_acct_party_roles")  (0.2ms) CREATE INDEX "index_biz_txn_acct_party_roles_on_biz_txn_acct_root_id" ON "biz_txn_acct_party_roles" ("biz_txn_acct_root_id")  (0.0ms) PRAGMA index_list("biz_txn_acct_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_biz_txn_acct_root_id')  (0.1ms) CREATE INDEX "index_biz_txn_acct_party_roles_on_party_id" ON "biz_txn_acct_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("biz_txn_acct_party_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_biz_txn_acct_party_roles_on_biz_txn_acct_root_id')  (0.2ms) CREATE INDEX "index_biz_txn_acct_party_roles_on_biz_txn_acct_pty_rtype_id" ON "biz_txn_acct_party_roles" ("biz_txn_acct_pty_rtype_id")  (0.2ms) CREATE TABLE "biz_txn_acct_pty_rtypes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_acct_pty_rtypes")  (0.2ms) CREATE INDEX "index_biz_txn_acct_pty_rtypes_on_parent_id" ON "biz_txn_acct_pty_rtypes" ("parent_id")  (0.2ms) CREATE TABLE "biz_acct_txn_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_task_id" integer, "biz_txn_account_id" integer, "description" varchar(255), "comments" varchar(255), "entered_date" datetime, "requested_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_acct_txn_tasks")  (0.2ms) CREATE INDEX "index_biz_acct_txn_tasks_on_biz_txn_task_id" ON "biz_acct_txn_tasks" ("biz_txn_task_id")  (0.0ms) PRAGMA index_list("biz_acct_txn_tasks")  (0.0ms) PRAGMA index_info('index_biz_acct_txn_tasks_on_biz_txn_task_id')  (0.1ms) CREATE INDEX "index_biz_acct_txn_tasks_on_biz_txn_account_id" ON "biz_acct_txn_tasks" ("biz_txn_account_id")  (0.2ms) CREATE TABLE "biz_txn_agreement_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("biz_txn_agreement_role_types")  (0.2ms) CREATE INDEX "index_biz_txn_agreement_role_types_on_parent_id" ON "biz_txn_agreement_role_types" ("parent_id")  (0.2ms) CREATE TABLE "biz_txn_agreement_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "biz_txn_event_type" varchar(255), "agreement_id" integer, "biz_txn_agreement_role_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("biz_txn_agreement_roles")  (0.1ms) CREATE INDEX "index_biz_txn_agreement_roles_on_agreement_id" ON "biz_txn_agreement_roles" ("agreement_id")  (0.0ms) PRAGMA index_list("biz_txn_agreement_roles")  (0.0ms) PRAGMA index_info('index_biz_txn_agreement_roles_on_agreement_id')  (0.1ms) CREATE INDEX "index_biz_txn_agreement_roles_on_biz_txn_agreement_role_type_id" ON "biz_txn_agreement_roles" ("biz_txn_agreement_role_type_id")  (0.2ms) CREATE TABLE "financial_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "money_id" integer, "apply_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "financial_txn_assns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "financial_txn_id" integer, "financial_txn_record_id" integer, "financial_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "financial_txn_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_number" varchar(255), "agreement_id" integer, "balance_id" integer, "balance_date" date, "calculate_balance" boolean, "payment_due_id" integer, "due_date" date, "financial_account_id" integer, "financial_account_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "base_txn_contexts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "biz_txn_event_id" integer, "txn_context_record_id" integer, "txn_context_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("base_txn_contexts")  (0.2ms) CREATE INDEX "txn_context_record_idx" ON "base_txn_contexts" ("txn_context_record_id", "txn_context_record_type")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234219')  (8.2ms) commit transaction Migrating to AgreementsServices (20121213234220)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "agreements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "agreement_type_id" integer, "agreement_status" varchar(255), "product_id" integer, "agreement_date" date, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.4ms) CREATE TABLE "agreement_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "agreement_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agreement_id" integer, "agreement_item_type_id" integer, "agreement_item_value" varchar(255), "description" varchar(255), "agreement_item_rule_string" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "agreement_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "agreement_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "agreement_id" integer, "party_id" integer, "role_type_id" integer, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "agreement_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agreement_reln_type_id" integer, "description" varchar(255), "agreement_id_from" integer, "agreement_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "from_date" date, "thru_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "agreement_reln_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "agreement_role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "loyalty_program_codes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "identifier" varchar(255), "name" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234220')  (8.5ms) commit transaction Migrating to AgreementsServicesIndexes (20121213234221)  (0.0ms) begin transaction  (0.0ms) PRAGMA index_list("agreements")  (0.4ms) CREATE INDEX "index_agreements_on_agreement_type_id" ON "agreements" ("agreement_type_id")  (0.0ms) PRAGMA index_list("agreements")  (0.0ms) PRAGMA index_info('index_agreements_on_agreement_type_id')  (0.2ms) CREATE INDEX "index_agreements_on_product_id" ON "agreements" ("product_id")  (0.0ms) PRAGMA index_list("agreement_types")  (0.1ms) CREATE INDEX "index_agreement_types_on_parent_id" ON "agreement_types" ("parent_id")  (0.0ms) PRAGMA index_list("agreement_items")  (0.2ms) CREATE INDEX "index_agreement_items_on_agreement_id" ON "agreement_items" ("agreement_id")  (0.0ms) PRAGMA index_list("agreement_items")  (0.0ms) PRAGMA index_info('index_agreement_items_on_agreement_id')  (0.1ms) CREATE INDEX "index_agreement_items_on_agreement_item_type_id" ON "agreement_items" ("agreement_item_type_id")  (0.0ms) PRAGMA index_list("agreement_item_types")  (0.2ms) CREATE INDEX "index_agreement_item_types_on_parent_id" ON "agreement_item_types" ("parent_id")  (0.0ms) PRAGMA index_list("agreement_party_roles")  (0.1ms) CREATE INDEX "index_agreement_party_roles_on_agreement_id" ON "agreement_party_roles" ("agreement_id")  (0.0ms) PRAGMA index_list("agreement_party_roles")  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_agreement_id')  (0.2ms) CREATE INDEX "index_agreement_party_roles_on_party_id" ON "agreement_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("agreement_party_roles")  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_agreement_party_roles_on_agreement_id')  (0.2ms) CREATE INDEX "index_agreement_party_roles_on_role_type_id" ON "agreement_party_roles" ("role_type_id")  (0.0ms) PRAGMA index_list("agreement_relationships")  (0.2ms) CREATE INDEX "index_agreement_relationships_on_agreement_reln_type_id" ON "agreement_relationships" ("agreement_reln_type_id")  (0.0ms) PRAGMA index_list("agreement_relationships")  (0.0ms) PRAGMA index_info('index_agreement_relationships_on_agreement_reln_type_id')  (0.2ms) CREATE INDEX "index_agreement_relationships_on_status_type_id" ON "agreement_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("agreement_reln_types")  (0.2ms) CREATE INDEX "index_agreement_reln_types_on_parent_id" ON "agreement_reln_types" ("parent_id")  (0.0ms) PRAGMA index_list("agreement_reln_types")  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_parent_id')  (0.2ms) CREATE INDEX "index_agreement_reln_types_on_valid_from_role_type_id" ON "agreement_reln_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("agreement_reln_types")  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_info('index_agreement_reln_types_on_parent_id')  (0.2ms) CREATE INDEX "index_agreement_reln_types_on_valid_to_role_type_id" ON "agreement_reln_types" ("valid_to_role_type_id")  (0.0ms) PRAGMA index_list("agreement_role_types")  (0.2ms) CREATE INDEX "index_agreement_role_types_on_parent_id" ON "agreement_role_types" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234221')  (7.8ms) commit transaction Migrating to BaseAppFramework (20121213234222)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.2ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.2ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("preference_types")  (0.2ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.2ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.2ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.2ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("user_preferences")  (0.2ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.2ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.2ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.2ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.2ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("app_containers")  (0.2ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.2ms) CREATE INDEX "index_app_containers_on_type" ON "app_containers" ("type")  (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "base_url" varchar(255), "type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer)  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.2ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.2ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.2ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer)   (0.0ms) PRAGMA index_list("applications_widgets")  (0.2ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.2ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.3ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.2ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.2ms) CREATE TABLE "configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "active" boolean, "is_template" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("configurations")  (0.2ms) CREATE INDEX "index_configurations_on_is_template" ON "configurations" ("is_template")  (0.2ms) CREATE TABLE "valid_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "configured_item_id" integer, "configured_item_type" varchar(255), "configuration_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("valid_configurations")  (0.2ms) CREATE INDEX "configured_item_poly_idx" ON "valid_configurations" ("configured_item_id", "configured_item_type")  (0.0ms) PRAGMA index_list("valid_configurations")  (0.0ms) PRAGMA index_info('configured_item_poly_idx')  (0.2ms) CREATE INDEX "index_valid_configurations_on_configuration_id" ON "valid_configurations" ("configuration_id")  (0.2ms) CREATE TABLE "configuration_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "configuration_id" integer, "configuration_item_type_id" integer, "configuration_option_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("configuration_items")  (0.2ms) CREATE INDEX "index_configuration_items_on_configuration_id" ON "configuration_items" ("configuration_id")  (0.0ms) PRAGMA index_list("configuration_items")  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_id')  (0.2ms) CREATE INDEX "index_configuration_items_on_configuration_item_type_id" ON "configuration_items" ("configuration_item_type_id")  (0.0ms) PRAGMA index_list("configuration_items")  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_item_type_id')  (0.0ms) PRAGMA index_info('index_configuration_items_on_configuration_id')  (0.2ms) CREATE INDEX "index_configuration_items_on_configuration_option_id" ON "configuration_items" ("configuration_option_id")  (0.2ms) CREATE TABLE "configuration_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "allow_user_defined_options" boolean DEFAULT 'f', "is_multi_optional" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "configuration_item_types_configurations" ("configuration_item_type_id" integer, "configuration_id" integer)  (0.0ms) PRAGMA index_list("configuration_item_types_configurations")  (0.2ms) CREATE INDEX "conf_conf_type_id_item_idx" ON "configuration_item_types_configurations" ("configuration_item_type_id")  (0.0ms) PRAGMA index_list("configuration_item_types_configurations")  (0.0ms) PRAGMA index_info('conf_conf_type_id_item_idx')  (0.2ms) CREATE INDEX "conf_id_idx" ON "configuration_item_types_configurations" ("configuration_id")  (0.0ms) PRAGMA index_list("configuration_item_types_configurations")  (0.0ms) PRAGMA index_info('conf_id_idx')  (0.0ms) PRAGMA index_info('conf_conf_type_id_item_idx')  (0.5ms) CREATE UNIQUE INDEX "conf_config_type_uniq_idx" ON "configuration_item_types_configurations" ("configuration_item_type_id", "configuration_id")  (0.2ms) CREATE TABLE "configuration_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "comment" text, "user_defined" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("configuration_options")  (0.2ms) CREATE INDEX "index_configuration_options_on_value" ON "configuration_options" ("value")  (0.0ms) PRAGMA index_list("configuration_options")  (0.0ms) PRAGMA index_info('index_configuration_options_on_value')  (0.2ms) CREATE INDEX "index_configuration_options_on_internal_identifier" ON "configuration_options" ("internal_identifier")  (0.0ms) PRAGMA index_list("configuration_options")  (0.0ms) PRAGMA index_info('index_configuration_options_on_internal_identifier')  (0.0ms) PRAGMA index_info('index_configuration_options_on_value')  (0.2ms) CREATE INDEX "index_configuration_options_on_user_defined" ON "configuration_options" ("user_defined")  (0.2ms) CREATE TABLE "configuration_item_types_configuration_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "configuration_item_type_id" integer, "configuration_option_id" integer, "is_default" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("configuration_item_types_configuration_options")  (0.2ms) CREATE INDEX "conf_item_type_conf_opt_id_item_idx" ON "configuration_item_types_configuration_options" ("configuration_item_type_id")  (0.0ms) PRAGMA index_list("configuration_item_types_configuration_options")  (0.0ms) PRAGMA index_info('conf_item_type_conf_opt_id_item_idx')  (0.2ms) CREATE INDEX "conf_item_type_conf_opt_id_opt_idx" ON "configuration_item_types_configuration_options" ("configuration_option_id")  (0.2ms) CREATE TABLE "configuration_items_configuration_options" ("configuration_item_id" integer, "configuration_option_id" integer)  (0.0ms) PRAGMA index_list("configuration_items_configuration_options")  (0.2ms) CREATE INDEX "conf_item_conf_opt_id_item_idx" ON "configuration_items_configuration_options" ("configuration_item_id")  (0.0ms) PRAGMA index_list("configuration_items_configuration_options")  (0.0ms) PRAGMA index_info('conf_item_conf_opt_id_item_idx')  (0.2ms) CREATE INDEX "conf_item_conf_opt_id_opt_idx" ON "configuration_items_configuration_options" ("configuration_option_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234222')  (8.4ms) commit transaction Migrating to ErpCommerceBase (20121213234223)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "fees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "fee_record_id" integer, "fee_record_type" varchar(255), "money_id" integer, "fee_type_id" integer, "description" varchar(255), "start_date" datetime, "end_date" datetime, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) PRAGMA index_list("fees")  (0.3ms) CREATE INDEX "fee_record_idx" ON "fees" ("fee_record_id", "fee_record_type")  (0.0ms) PRAGMA index_list("fees")  (0.0ms) PRAGMA index_info('fee_record_idx')  (0.2ms) CREATE INDEX "index_fees_on_fee_type_id" ON "fees" ("fee_type_id")  (0.0ms) PRAGMA index_list("fees")  (0.0ms) PRAGMA index_info('index_fees_on_fee_type_id')  (0.0ms) PRAGMA index_info('fee_record_idx')  (0.2ms) CREATE INDEX "index_fees_on_money_id" ON "fees" ("money_id")  (0.3ms) CREATE TABLE "fee_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "comments" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "price_component_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) CREATE TABLE "pricing_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "from_date" date, "thru_date" date, "matching_rules" varchar(255), "pricing_calculation" varchar(255), "is_simple_amount" boolean, "currency_id" integer, "money_amount" decimal(8,2), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "pricing_plan_components" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price_component_type_id" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "matching_rules" varchar(255), "pricing_calculation" varchar(255), "is_simple_amount" boolean, "currency_id" integer, "money_amount" decimal(8,2), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("pricing_plan_components")  (0.2ms) CREATE INDEX "index_pricing_plan_components_on_price_component_type_id" ON "pricing_plan_components" ("price_component_type_id")  (0.2ms) CREATE TABLE "valid_price_plan_components" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pricing_plan_id" integer, "pricing_plan_component_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("valid_price_plan_components")  (0.2ms) CREATE INDEX "index_valid_price_plan_components_on_pricing_plan_id" ON "valid_price_plan_components" ("pricing_plan_id")  (0.0ms) PRAGMA index_list("valid_price_plan_components")  (0.0ms) PRAGMA index_info('index_valid_price_plan_components_on_pricing_plan_id')  (0.2ms) CREATE INDEX "index_valid_price_plan_components_on_pricing_plan_component_id" ON "valid_price_plan_components" ("pricing_plan_component_id")  (0.2ms) CREATE TABLE "pricing_plan_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pricing_plan_id" integer, "priceable_item_id" integer, "priceable_item_type" varchar(255), "priority" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("pricing_plan_assignments")  (0.2ms) CREATE INDEX "index_pricing_plan_assignments_on_pricing_plan_id" ON "pricing_plan_assignments" ("pricing_plan_id")  (0.0ms) PRAGMA index_list("pricing_plan_assignments")  (0.0ms) PRAGMA index_info('index_pricing_plan_assignments_on_pricing_plan_id')  (0.2ms) CREATE INDEX "priceable_item_idx" ON "pricing_plan_assignments" ("priceable_item_id", "priceable_item_type")  (0.2ms) CREATE TABLE "prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "priced_item_id" integer, "priced_item_type" varchar(255), "pricing_plan_id" integer, "money_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("prices")  (0.2ms) CREATE INDEX "index_prices_on_money_id" ON "prices" ("money_id")  (0.0ms) PRAGMA index_list("prices")  (0.0ms) PRAGMA index_info('index_prices_on_money_id')  (0.2ms) CREATE INDEX "index_prices_on_pricing_plan_id" ON "prices" ("pricing_plan_id")  (0.0ms) PRAGMA index_list("prices")  (0.0ms) PRAGMA index_info('index_prices_on_pricing_plan_id')  (0.0ms) PRAGMA index_info('index_prices_on_money_id')  (0.2ms) CREATE INDEX "priced_item_idx" ON "prices" ("priced_item_id", "priced_item_type")  (0.2ms) CREATE TABLE "price_components" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "pricing_plan_component_id" integer, "price_id" integer, "money_id" integer, "priced_component_id" integer, "priced_component_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("price_components")  (0.2ms) CREATE INDEX "index_price_components_on_money_id" ON "price_components" ("money_id")  (0.0ms) PRAGMA index_list("price_components")  (0.0ms) PRAGMA index_info('index_price_components_on_money_id')  (0.2ms) CREATE INDEX "index_price_components_on_pricing_plan_component_id" ON "price_components" ("pricing_plan_component_id")  (0.0ms) PRAGMA index_list("price_components")  (0.0ms) PRAGMA index_info('index_price_components_on_pricing_plan_component_id')  (0.0ms) PRAGMA index_info('index_price_components_on_money_id')  (0.2ms) CREATE INDEX "index_price_components_on_price_id" ON "price_components" ("price_id")  (0.0ms) PRAGMA index_list("price_components")  (0.0ms) PRAGMA index_info('index_price_components_on_price_id')  (0.0ms) PRAGMA index_info('index_price_components_on_pricing_plan_component_id')  (0.0ms) PRAGMA index_info('index_price_components_on_money_id')  (0.2ms) CREATE INDEX "priced_component_idx" ON "price_components" ("priced_component_id", "priced_component_type")  (0.2ms) CREATE TABLE "payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "success" boolean, "reference_number" varchar(255), "financial_txn_id" integer, "current_state" varchar(255), "authorization_code" varchar(255), "external_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("payments")  (0.2ms) CREATE INDEX "index_payments_on_financial_txn_id" ON "payments" ("financial_txn_id")  (0.2ms) CREATE TABLE "payment_gateways" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "params" varchar(255), "payment_gateway_action_id" integer, "payment_id" integer, "response" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "payment_gateway_actions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("payment_gateway_actions")  (0.2ms) CREATE INDEX "index_payment_gateway_actions_on_internal_identifier" ON "payment_gateway_actions" ("internal_identifier")  (0.2ms) CREATE TABLE "credit_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_private_card_number" varchar(255), "expiration_month" integer, "expiration_year" integer, "description" varchar(255), "first_name_on_card" varchar(255), "last_name_on_card" varchar(255), "card_type" varchar(255), "postal_address_id" integer, "credit_card_account_purpose_id" integer, "credit_card_token" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "credit_card_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "credit_card_account_party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "credit_card_account_id" integer, "role_type_id" integer, "party_id" integer, "credit_card_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_credit_card_account_id" ON "credit_card_account_party_roles" ("credit_card_account_id")  (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_account_id')  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_role_type_id" ON "credit_card_account_party_roles" ("role_type_id")  (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_account_id')  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_party_id" ON "credit_card_account_party_roles" ("party_id")  (0.0ms) PRAGMA index_list("credit_card_account_party_roles")  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_party_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_credit_card_account_party_roles_on_credit_card_account_id')  (0.2ms) CREATE INDEX "index_credit_card_account_party_roles_on_credit_card_id" ON "credit_card_account_party_roles" ("credit_card_id")  (0.3ms) CREATE TABLE "credit_card_account_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "accepted_credit_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "organization_id" integer, "card_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "bank_account_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "bank_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "routing_number" varchar(255), "crypted_private_account_number" varchar(255), "name_on_account" varchar(255), "bank_account_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("bank_accounts")  (0.2ms) CREATE INDEX "bank_accounts_account_type_idx" ON "bank_accounts" ("bank_account_type_id")  (0.4ms) ALTER TABLE "order_txns" ADD "payment_gateway_txn_id" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "credit_card_id" integer  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_first_name" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_last_name" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_city" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_state" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_postal_code" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_country" varchar(255)  (0.6ms) CREATE TEMPORARY TABLE "altered_order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('order_txn_record_idx')  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.1ms) CREATE INDEX "temp_order_txn_record_idx" ON "altered_order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.1ms) CREATE INDEX "temp_index_altered_order_txns_on_order_txn_type_id" ON "altered_order_txns" ("order_txn_type_id")  (0.1ms) SELECT * FROM "order_txns"  (0.6ms) DROP TABLE "order_txns"  (0.3ms) CREATE TABLE "order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))   (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_index_altered_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.0ms) PRAGMA index_list("order_txns")  (0.2ms) CREATE INDEX "index_order_txns_on_order_txn_type_id" ON "order_txns" ("order_txn_type_id")  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.2ms) CREATE INDEX "order_txn_record_idx" ON "order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.1ms) SELECT * FROM "altered_order_txns"  (0.3ms) DROP TABLE "altered_order_txns"  (0.2ms) CREATE TEMPORARY TABLE "altered_order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country_name" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('order_txn_record_idx')  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.1ms) CREATE INDEX "temp_order_txn_record_idx" ON "altered_order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.1ms) CREATE INDEX "temp_index_altered_order_txns_on_order_txn_type_id" ON "altered_order_txns" ("order_txn_type_id")  (0.2ms) SELECT * FROM "order_txns"  (0.4ms) DROP TABLE "order_txns"  (0.3ms) CREATE TABLE "order_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state_machine" varchar(255), "description" varchar(255), "order_txn_type_id" integer, "email" varchar(255), "phone_number" varchar(255), "ship_to_first_name" varchar(255), "ship_to_last_name" varchar(255), "ship_to_address_line_1" varchar(255), "ship_to_address_line_2" varchar(255), "bill_to_address_line_1" varchar(255), "bill_to_address_line_2" varchar(255), "ship_to_city" varchar(255), "ship_to_state" varchar(255), "ship_to_postal_code" varchar(255), "ship_to_country_name" varchar(255), "customer_ip" varchar(255), "order_number" integer, "status" varchar(255), "error_message" varchar(255), "order_txn_record_id" integer, "order_txn_record_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payment_gateway_txn_id" varchar(255), "credit_card_id" integer, "bill_to_first_name" varchar(255), "bill_to_last_name" varchar(255), "bill_to_city" varchar(255), "bill_to_state" varchar(255), "bill_to_postal_code" varchar(255), "bill_to_country_name" varchar(255))   (0.0ms) PRAGMA index_list("altered_order_txns")  (0.0ms) PRAGMA index_info('temp_index_altered_order_txns_on_order_txn_type_id')  (0.0ms) PRAGMA index_info('temp_order_txn_record_idx')  (0.0ms) PRAGMA index_list("order_txns")  (0.2ms) CREATE INDEX "index_order_txns_on_order_txn_type_id" ON "order_txns" ("order_txn_type_id")  (0.0ms) PRAGMA index_list("order_txns")  (0.0ms) PRAGMA index_info('index_order_txns_on_order_txn_type_id')  (0.2ms) CREATE INDEX "order_txn_record_idx" ON "order_txns" ("order_txn_record_id", "order_txn_record_type")  (0.1ms) SELECT * FROM "altered_order_txns"  (0.1ms) DROP TABLE "altered_order_txns"  (0.3ms) ALTER TABLE "order_txns" ADD "bill_to_country" varchar(255)  (0.3ms) ALTER TABLE "order_txns" ADD "ship_to_country" varchar(255)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121213234223')  (9.1ms) commit transaction Migrating to CreateGroups (20130107180909)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130107180909')  (4.6ms) commit transaction Migrating to UpgradeSecurity (20130107180910)  (0.0ms) begin transaction  (0.5ms) CREATE TABLE "capability_accessors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capability_accessor_record_type" varchar(255), "capability_accessor_record_id" integer, "capability_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("capability_accessors")  (0.2ms) CREATE INDEX "index_capability_accessors_on_capability_id" ON "capability_accessors" ("capability_id")  (0.0ms) PRAGMA index_list("capability_accessors")  (0.0ms) PRAGMA index_info('index_capability_accessors_on_capability_id')  (0.2ms) CREATE INDEX "capability_accessor_record_index" ON "capability_accessors" ("capability_accessor_record_id", "capability_accessor_record_type")  (0.4ms) ALTER TABLE "capabilities" ADD "description" varchar(255)  (0.3ms) ALTER TABLE "capabilities" ADD "capability_resource_type" varchar(255)  (0.4ms) ALTER TABLE "capabilities" ADD "capability_resource_id" integer  (0.4ms) ALTER TABLE "capabilities" ADD "scope_type_id" integer  (0.3ms) ALTER TABLE "capabilities" ADD "scope_query" text  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.2ms) CREATE INDEX "index_capabilities_on_scope_type_id" ON "capabilities" ("scope_type_id")  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_scope_type_id')  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.2ms) CREATE INDEX "capability_resource_index" ON "capabilities" ("capability_resource_id", "capability_resource_type")  (0.2ms) CREATE TABLE "scope_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("scope_types")  (0.3ms) CREATE INDEX "index_scope_types_on_internal_identifier" ON "scope_types" ("internal_identifier")  (0.2ms) CREATE TABLE "parties_security_roles" ("party_id" integer, "security_role_id" integer)  (0.0ms) PRAGMA index_list("parties_security_roles")  (0.2ms) CREATE INDEX "index_parties_security_roles_on_party_id" ON "parties_security_roles" ("party_id")  (0.0ms) PRAGMA index_list("parties_security_roles")  (0.0ms) PRAGMA index_info('index_parties_security_roles_on_party_id')  (0.2ms) CREATE INDEX "index_parties_security_roles_on_security_role_id" ON "parties_security_roles" ("security_role_id")  (0.4ms) ALTER TABLE "roles" RENAME TO "security_roles"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130107180910')  (8.4ms) commit transaction Migrating to UpgradeSecurity2 (20130107180911)  (0.0ms) begin transaction  (0.1ms) rollback transaction Connecting to database specified by database.yml NoteType Load (4.5ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.8ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (9.6ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (1.5ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (600.1ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (53.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.2ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20101011152441'  (0.1ms) begin transaction SQL (112.5ms) INSERT INTO "payment_gateway_actions" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:33 UTC +00:00], ["description", "capture"], ["internal_identifier", "capture"], ["updated_at", Mon, 07 Jan 2013 18:09:33 UTC +00:00]] SQL (0.2ms) INSERT INTO "payment_gateway_actions" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:33 UTC +00:00], ["description", "Authorize"], ["internal_identifier", "authorize"], ["updated_at", Mon, 07 Jan 2013 18:09:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "payment_gateway_actions" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:33 UTC +00:00], ["description", "Full Reverse Of Authorization"], ["internal_identifier", "full_reverse_of_authorization"], ["updated_at", Mon, 07 Jan 2013 18:09:33 UTC +00:00]]  (10.2ms) commit transaction  (3.7ms) insert into data_migrations (version) values ('20101011152441')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20101014142230'  (0.0ms) begin transaction BizTxnType Load (20.3ms) SELECT "biz_txn_types".* FROM "biz_txn_types"  BizTxnType Load (0.3ms) SELECT "biz_txn_types".* FROM "biz_txn_types" ORDER BY "biz_txn_types"."rgt" desc LIMIT 1 SQL (3.6ms) INSERT INTO "biz_txn_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:33 UTC +00:00], ["description", "Payment Transaction"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "payment_txn"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Mon, 07 Jan 2013 18:09:33 UTC +00:00]]  (11.5ms) commit transaction  (3.5ms) insert into data_migrations (version) values ('20101014142230')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110109173616'  (0.1ms) begin transaction CapabilityType Load (18.0ms) SELECT "capability_types".* FROM "capability_types" WHERE (internal_identifier = 'download') LIMIT 1 SQL (0.6ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:33 UTC +00:00], ["description", "Download"], ["internal_identifier", "download"], ["updated_at", Mon, 07 Jan 2013 18:09:33 UTC +00:00]] ScopeType Load (8.2ms) SELECT "scope_types".* FROM "scope_types" WHERE (internal_identifier = 'instance') LIMIT 1 SQL (7.0ms) INSERT INTO "scope_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00], ["description", "Instance"], ["internal_identifier", "instance"], ["updated_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00]] ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE (internal_identifier = 'class') LIMIT 1 SQL (0.1ms) INSERT INTO "scope_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00], ["description", "Class"], ["internal_identifier", "class"], ["updated_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00]] ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE (internal_identifier = 'query') LIMIT 1 SQL (0.1ms) INSERT INTO "scope_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00], ["description", "Query"], ["internal_identifier", "query"], ["updated_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00]]  (5.1ms) commit transaction  (3.6ms) insert into data_migrations (version) values ('20110109173616')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110324010232'  (0.0ms) begin transaction ProdTypeRelnType Load (5.2ms) SELECT "prod_type_reln_types".* FROM "prod_type_reln_types" ORDER BY "prod_type_reln_types"."rgt" desc LIMIT 1 SQL (8.2ms) INSERT INTO "prod_type_reln_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00], ["description", "Product Type Package Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_type_package_reln"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00]] ProdTypeRoleType Load (41.1ms) SELECT "prod_type_role_types".* FROM "prod_type_role_types" ORDER BY "prod_type_role_types"."rgt" desc LIMIT 1 SQL (1.2ms) INSERT INTO "prod_type_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00], ["description", "Product Type Package"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_type_package"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00]] ProdTypeRoleType Load (0.2ms) SELECT "prod_type_role_types".* FROM "prod_type_role_types" ORDER BY "prod_type_role_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "prod_type_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00], ["description", "Packaged Product Type"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "packaged_product_type"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00]] ProdInstanceRelnType Load (0.9ms) SELECT "prod_instance_reln_types".* FROM "prod_instance_reln_types" ORDER BY "prod_instance_reln_types"."rgt" desc LIMIT 1 SQL (1.0ms) INSERT INTO "prod_instance_reln_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00], ["description", "Product Instance Package Relantionship"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_instance_package_reln"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00]] ProdInstanceRoleType Load (1.1ms) SELECT "prod_instance_role_types".* FROM "prod_instance_role_types" ORDER BY "prod_instance_role_types"."rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "prod_instance_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00], ["description", "Product Instance Package"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "product_instance_package"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00]] ProdInstanceRoleType Load (0.2ms) SELECT "prod_instance_role_types".* FROM "prod_instance_role_types" ORDER BY "prod_instance_role_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "prod_instance_role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00], ["description", "Packaged Product Instance"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "packaged_product_instance"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00]]  (6.4ms) commit transaction  (4.8ms) insert into data_migrations (version) values ('20110324010232')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935'  (0.0ms) begin transaction SQL (35.6ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00]]  (6.2ms) commit transaction  (3.4ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110527160807'  (0.1ms) begin transaction ProdAvailabilityStatusType Load (18.1ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types"  ProdAvailabilityStatusType Load (0.3ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types" ORDER BY "prod_availability_status_types"."rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "prod_availability_status_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00], ["description", "Available"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "available"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00]] ProdAvailabilityStatusType Load (0.3ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types" ORDER BY "prod_availability_status_types"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "prod_availability_status_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00], ["description", "Sold"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "sold"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00]] ProdAvailabilityStatusType Load (0.3ms) SELECT "prod_availability_status_types".* FROM "prod_availability_status_types" ORDER BY "prod_availability_status_types"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "prod_availability_status_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00], ["description", "Shipped"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipped"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00]]  (4.0ms) commit transaction  (3.5ms) insert into data_migrations (version) values ('20110527160807')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110605231556'  (0.0ms) begin transaction BizTxnPartyRoleType Load (1.1ms) SELECT "biz_txn_party_role_types".* FROM "biz_txn_party_role_types" ORDER BY "biz_txn_party_role_types"."rgt" desc LIMIT 1 SQL (1.0ms) INSERT INTO "biz_txn_party_role_types" ("comments", "created_at", "description", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00], ["description", "Order Roles"], ["internal_identifier", "order_roles"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00]] BizTxnPartyRoleType Load (0.2ms) SELECT "biz_txn_party_role_types".* FROM "biz_txn_party_role_types" ORDER BY "biz_txn_party_role_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "biz_txn_party_role_types" ("comments", "created_at", "description", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00], ["description", "Payor"], ["internal_identifier", "payor"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Mon, 07 Jan 2013 18:09:34 UTC +00:00]] BizTxnPartyRoleType Load (0.1ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 1]] BizTxnPartyRoleType Load (0.0ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.4ms) UPDATE "biz_txn_party_role_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "biz_txn_party_role_types"."id" IN (SELECT "biz_txn_party_role_types"."id" FROM "biz_txn_party_role_types" ORDER BY "biz_txn_party_role_types"."lft") BizTxnPartyRoleType Load (0.0ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 1]] BizTxnPartyRoleType Load (0.2ms) SELECT "biz_txn_party_role_types".* FROM "biz_txn_party_role_types" WHERE ("biz_txn_party_role_types"."lft" >= 3 AND "biz_txn_party_role_types"."lft" < 4) AND ("biz_txn_party_role_types".id != 2) ORDER BY "biz_txn_party_role_types"."lft" BizTxnPartyRoleType Load (0.0ms) SELECT "biz_txn_party_role_types"."lft", "biz_txn_party_role_types"."rgt", "biz_txn_party_role_types"."parent_id" FROM "biz_txn_party_role_types" WHERE "biz_txn_party_role_types"."id" = ? LIMIT 1 [["id", 2]]  (4.1ms) commit transaction  (3.5ms) insert into data_migrations (version) values ('20110605231556')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135'  (0.0ms) begin transaction GeoCountry Load (0.7ms) SELECT "geo_countries".* FROM "geo_countries" SQL (5.9ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] SQL (0.1ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  SQL (0.5ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (33.5ms) commit transaction  (193.8ms) insert into data_migrations (version) values ('20110609150135')  (0.3ms) select count(*) as num_rows from data_migrations where version = '20110728201729'  (0.1ms) begin transaction ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.3ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (21.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "contact_purposes"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Mon, 07 Jan 2013 18:09:35 UTC +00:00]] SecurityRole Load (0.7ms) SELECT "security_roles".* FROM "security_roles" SecurityRole Exists (0.1ms) SELECT 1 AS one FROM "security_roles" WHERE LOWER("security_roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.4ms) INSERT INTO "security_roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]] SecurityRole Exists (0.1ms) SELECT 1 AS one FROM "security_roles" WHERE LOWER("security_roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.1ms) INSERT INTO "security_roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]] SQL (29.4ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]] SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]] SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["value", "no"]] SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "TrueNorth Logo"], ["internal_identifier", "truenorth_logo_background"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["value", "truenorth.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Planet"], ["internal_identifier", "planet_desktop_background"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["value", "planet.jpg"]] SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["value", "ext-all.css"]]  (1.8ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.4ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2013-01-07 18:09:36.277348' WHERE "preference_types"."id" = 3  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2013-01-07 18:09:36.281640' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 8)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 3, "updated_at" = '2013-01-07 18:09:36.284306' WHERE "preference_types"."id" = 1  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 11)  (0.2ms) UPDATE "preference_types" SET "default_pref_option_id" = 11, "updated_at" = '2013-01-07 18:09:36.286283' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "note_types"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]] Widget Exists (0.9ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."xtype") = LOWER('shared_notesgrid') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."internal_identifier") = LOWER('shared_notes_grid') LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["xtype", "shared_notesgrid"]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE (LOWER("widgets"."xtype") = LOWER('shared_notesgrid') AND "widgets"."id" != 1) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE (LOWER("widgets"."internal_identifier") = LOWER('shared_notes_grid') AND "widgets"."id" != 1) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."xtype") = LOWER('controlpanel_userapplicationmgtpanel') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."internal_identifier") = LOWER('application_management') LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] Widget Exists (0.2ms) SELECT 1 AS one FROM "widgets" WHERE (LOWER("widgets"."xtype") = LOWER('controlpanel_userapplicationmgtpanel') AND "widgets"."id" != 2) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE (LOWER("widgets"."internal_identifier") = LOWER('application_management') AND "widgets"."id" != 2) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."xtype") = LOWER('usermanagement_rolemanagementpanel') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."internal_identifier") = LOWER('role_management') LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE (LOWER("widgets"."xtype") = LOWER('usermanagement_rolemanagementpanel') AND "widgets"."id" != 3) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE (LOWER("widgets"."internal_identifier") = LOWER('role_management') AND "widgets"."id" != 3) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."xtype") = LOWER('usermanagement_personalinfopanel') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."internal_identifier") = LOWER('user_personal_info') LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE (LOWER("widgets"."xtype") = LOWER('usermanagement_personalinfopanel') AND "widgets"."id" != 4) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE (LOWER("widgets"."internal_identifier") = LOWER('user_personal_info') AND "widgets"."id" != 4) LIMIT 1 Application Exists (0.7ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('user_management') AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]] SQL (1.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (1.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('user_management') AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('scaffold') AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 2) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('scaffold') AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."xtype") = LOWER('contactmechanismgrid') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."internal_identifier") = LOWER('party_contact_management') LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["xtype", "contactmechanismgrid"]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE (LOWER("widgets"."xtype") = LOWER('contactmechanismgrid') AND "widgets"."id" != 5) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE (LOWER("widgets"."internal_identifier") = LOWER('party_contact_management') AND "widgets"."id" != 5) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."xtype") = LOWER('partygrid') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."internal_identifier") = LOWER('party_management_widget') LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["xtype", "partygrid"]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE (LOWER("widgets"."xtype") = LOWER('partygrid') AND "widgets"."id" != 6) LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE (LOWER("widgets"."internal_identifier") = LOWER('party_management_widget') AND "widgets"."id" != 6) LIMIT 1 Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" IS NULL LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('crm') AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (3, 5)  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (3, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (3, 1) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" IS NULL AND "applications"."id" != 3) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('crm') AND "applications"."id" != 3 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (18.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["weight", nil]] SQL (5.2ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2013-01-07 18:09:36.659250', "updated_at" = '2013-01-07 18:09:36.659250' WHERE "individuals"."id" = 1 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 SQL (1.3ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]] SQL (0.2ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]]  (0.1ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2013-01-07 18:09:36.724352', "updated_at" = '2013-01-07 18:09:36.724352' WHERE "organizations"."id" = 1 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 Individual Load (0.2ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1 User Exists (2.1ms) SELECT 1 AS one FROM "users" WHERE LOWER("users"."email") = LOWER('admin@portablemind.com') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE LOWER("users"."username") = LOWER('admin') LIMIT 1 SQL (10.1ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "security_answer_1", "security_answer_2", "security_question_1", "security_question_2", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["security_answer_1", nil], ["security_answer_2", nil], ["security_question_1", nil], ["security_question_2", nil], ["type", nil], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["username", "admin"]] SQL (1.9ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Desktop"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 3 LIMIT 1 SQL (2.0ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["preference_option_id", 3], ["preference_type_id", 1], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]] SQL (2.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["user_id", 1]]  (0.2ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2013-01-07 18:09:36.943386' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 11 LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]] SQL (0.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2013-01-07 18:09:36.950291' WHERE "user_preferences"."id" = 2  (0.2ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2013-01-07 18:09:36.951519' WHERE "app_containers"."type" IN ('Desktop') AND "app_containers"."id" = 1 SQL (0.3ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Organizer"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00]] SQL (0.2ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2013-01-07 18:09:36.973787' WHERE "user_preferences"."id" = 3  (0.2ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2013-01-07 18:09:36.975005' WHERE "app_containers"."type" IN ('Organizer') AND "app_containers"."id" = 2 SQL (0.3ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Mobile"], ["updated_at", Mon, 07 Jan 2013 18:09:36 UTC +00:00], ["user_id", nil]]  (0.3ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2013-01-07 18:09:37.002361' WHERE "app_containers"."type" IN ('Mobile') AND "app_containers"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.2ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'nAaBLoQEkwUVkbZvKqRy', "crypted_password" = '$2a$10$IOYBTRYozIG3MJB6tP5o/.bzytyEK.FtQAriyq2/032FDyRXOoNPu', "updated_at" = '2013-01-07 18:09:37.246540' WHERE "users"."id" = 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE (LOWER("users"."email") = LOWER('admin@portablemind.com') AND "users"."id" != 1) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE (LOWER("users"."username") = LOWER('admin') AND "users"."id" != 1) LIMIT 1 SecurityRole Load (0.1ms) SELECT "security_roles".* FROM "security_roles" WHERE "security_roles"."internal_identifier" = 'admin' LIMIT 1 SecurityRole Load (7.5ms) SELECT "security_roles".* FROM "security_roles" INNER JOIN "parties_security_roles" ON "security_roles"."id" = "parties_security_roles"."security_role_id" WHERE "parties_security_roles"."party_id" = 1  (2.7ms) INSERT INTO "parties_security_roles" ("party_id", "security_role_id") VALUES (1, 1) User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE (LOWER("users"."email") = LOWER('admin@portablemind.com') AND "users"."id" != 1) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE (LOWER("users"."username") = LOWER('admin') AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE LOWER("users"."email") = LOWER('truenorth@gmail.com') LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE LOWER("users"."username") = LOWER('truenorth') LIMIT 1 SQL (0.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "security_answer_1", "security_answer_2", "security_question_1", "security_question_2", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["security_answer_1", nil], ["security_answer_2", nil], ["security_question_1", nil], ["security_question_2", nil], ["type", nil], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["username", "truenorth"]] SQL (0.2ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Desktop"], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 4], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 3 LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["preference_option_id", 3], ["preference_type_id", 1], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00]] SQL (0.2ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2013-01-07 18:09:37.316566' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 4], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."id" = 11 LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00]] SQL (0.2ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2013-01-07 18:09:37.323082' WHERE "user_preferences"."id" = 5  (0.2ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2013-01-07 18:09:37.324036' WHERE "app_containers"."type" IN ('Desktop') AND "app_containers"."id" = 4 SQL (0.1ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Organizer"], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 5], ["preferenced_record_type", "AppContainer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["preference_option_id", 11], ["preference_type_id", 2], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00]] SQL (0.2ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2013-01-07 18:09:37.331195' WHERE "user_preferences"."id" = 6  (0.2ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2013-01-07 18:09:37.332014' WHERE "app_containers"."type" IN ('Organizer') AND "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "app_containers" ("created_at", "description", "internal_identifier", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["type", "Mobile"], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["user_id", nil]]  (0.1ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2013-01-07 18:09:37.334394' WHERE "app_containers"."type" IN ('Mobile') AND "app_containers"."id" = 6 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE (LOWER("users"."email") = LOWER('truenorth@gmail.com') AND "users"."id" != 2) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE (LOWER("users"."username") = LOWER('truenorth') AND "users"."id" != 2) LIMIT 1  (0.2ms) UPDATE "users" SET "party_id" = 2, "salt" = 'hc1nMjqNvJJ484DRMrre', "crypted_password" = '$2a$10$y13B7/47SDXOfdoy1p7eEexckeEN77MMGd5XR1p2ZQE4JDdRw5gUi', "updated_at" = '2013-01-07 18:09:37.470497' WHERE "users"."id" = 2  (0.1ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2013-01-07 18:09:37.471934' WHERE "users"."id" = 2 SecurityRole Load (0.1ms) SELECT "security_roles".* FROM "security_roles" WHERE "security_roles"."internal_identifier" = 'admin' LIMIT 1 SecurityRole Load (0.1ms) SELECT "security_roles".* FROM "security_roles" INNER JOIN "parties_security_roles" ON "security_roles"."id" = "parties_security_roles"."security_role_id" WHERE "parties_security_roles"."party_id" = 2  (0.1ms) INSERT INTO "parties_security_roles" ("party_id", "security_role_id") VALUES (2, 1) User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE (LOWER("users"."email") = LOWER('truenorth@gmail.com') AND "users"."id" != 2) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE (LOWER("users"."username") = LOWER('truenorth') AND "users"."id" != 2) LIMIT 1 Desktop Load (0.3ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1  (1.6ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) Desktop Load (0.3ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1 Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 3) Organizer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 1) LIMIT 1 Desktop Load (0.2ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 1) Desktop Load (0.2ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 2) Desktop Load (0.2ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1 Organizer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 2) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (5, 3) Organizer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Organizer') AND (user_id = 2) LIMIT 1  (45.7ms) commit transaction  (4.0ms) insert into data_migrations (version) values ('20110728201729')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110728201730'  (0.1ms) begin transaction Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.ProductManager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('product_manager') AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.5ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["description", "Products"], ["icon", "icon-product"], ["internal_identifier", "product_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.ProductManager"], ["shortcut_id", "product_manager-win"], ["type", "DesktopApplication"], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 4 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 4], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 4 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 4], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.ProductManager' AND "applications"."id" != 4) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('product_manager') AND "applications"."id" != 4 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (7.1ms) commit transaction  (5.1ms) insert into data_migrations (version) values ('20110728201730')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110728201731'  (0.1ms) begin transaction Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.OrderManager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('order_manager') AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.6ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["description", "Orders"], ["icon", "icon-package"], ["internal_identifier", "order_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.OrderManager"], ["shortcut_id", "order_manager-win"], ["type", "DesktopApplication"], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.2ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 3 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 4 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 3 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 4 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 1 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 2 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 4 and preferenced_record_type = 'Application') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 4 AND (preferenced_record_id = 5 and preferenced_record_type = 'Application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.OrderManager' AND "applications"."id" != 5) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('order_manager') AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (23.8ms) commit transaction  (23.9ms) insert into data_migrations (version) values ('20110728201731')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110728201732'  (0.1ms) begin transaction Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Organizer.Applications.OrderManagement.Base' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('order_management') AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["description", "Orders"], ["icon", "icon-package"], ["internal_identifier", "order_management"], ["javascript_class_name", "Compass.ErpApp.Organizer.Applications.OrderManagement.Base"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00]]  (34.3ms) commit transaction  (80.6ms) insert into data_migrations (version) values ('20110728201732')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110728201733'  (0.1ms) begin transaction PreferenceOption Load (0.2ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'truenorth_logo_background' LIMIT 1  (5.9ms) UPDATE "preference_options" SET "value" = 'truenorth_tech.png', "updated_at" = '2013-01-07 18:09:37.899161' WHERE "preference_options"."id" = 3 PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'grey_gradient_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 5  (0.2ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 5 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.1ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 5]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'purple_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 6  (0.1ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 6 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.0ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 6]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'planet_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 7  (0.1ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 7 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.0ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 7]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'portablemind_desktop_background' LIMIT 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" INNER JOIN "preference_options_preference_types" ON "preference_types"."id" = "preference_options_preference_types"."preference_type_id" WHERE "preference_options_preference_types"."preference_option_id" = 8  (0.1ms) DELETE FROM "preference_options_preference_types" WHERE "preference_options_preference_types"."preference_option_id" = 8 AND "preference_options_preference_types"."preference_type_id" IN (1) SQL (0.0ms) DELETE FROM "preference_options" WHERE "preference_options"."id" = ? [["id", 8]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'access_extjs_theme' LIMIT 1  (0.3ms) UPDATE "preference_options" SET "value" = 'extjs:ext-all-access', "updated_at" = '2013-01-07 18:09:37.915858' WHERE "preference_options"."id" = 9 PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'gray_extjs_theme' LIMIT 1  (0.1ms) UPDATE "preference_options" SET "value" = 'extjs:ext-all-gray', "updated_at" = '2013-01-07 18:09:37.917609' WHERE "preference_options"."id" = 10 PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE "preference_options"."internal_identifier" = 'blue_extjs_theme' LIMIT 1  (0.1ms) UPDATE "preference_options" SET "value" = 'extjs:ext-all', "updated_at" = '2013-01-07 18:09:37.918780' WHERE "preference_options"."id" = 11 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["description", "Clifton Default"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["value", "clifton:clifton"]] SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["description", "Clifton Green"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["value", "clifton:clifton-green"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["description", "Clifton Yellow"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["value", "clifton:clifton-yellow"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["description", "Clifton Pink"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["value", "clifton:clifton-pink"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["description", "Clifton Blue"], ["internal_identifier", "clifton_extjs_theme"], ["updated_at", Mon, 07 Jan 2013 18:09:37 UTC +00:00], ["value", "clifton:clifton-blue"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE "preference_types"."internal_identifier" = 'extjs_theme' LIMIT 1  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 12)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 13)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 14)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 15)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 16) AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Desktop') AND "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "app_containers"."type" IN ('Organizer') AND "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.2ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'AppContainer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'AppContainer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 4 and preferenced_record_type = 'AppContainer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 5 and preferenced_record_type = 'AppContainer') LIMIT 1  (36.0ms) commit transaction  (6.2ms) insert into data_migrations (version) values ('20110728201733')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110802200222'  (0.1ms) begin transaction SQL (83.5ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob\npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Tue, 08 Jan 2013 07:00:01 UTC +00:00], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]]  (22.5ms) commit transaction  (36.1ms) insert into data_migrations (version) values ('20110802200222')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110816161238'  (0.1ms) begin transaction Application Exists (0.2ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.AuditLogViewer' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('audit_log_viewer') AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.6ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", "Audit Log Viewer"], ["icon", "icon-history"], ["internal_identifier", "audit_log_viewer"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.AuditLogViewer"], ["shortcut_id", "audit_log_viewer-win"], ["type", "DesktopApplication"], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 7], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 7], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.AuditLogViewer' AND "applications"."id" != 7) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('audit_log_viewer') AND "applications"."id" != 7 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (36.5ms) commit transaction  (4.8ms) insert into data_migrations (version) values ('20110816161238')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) begin transaction DesktopApplication Load (0.3ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'file_manager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('file_manager') AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.5ms) INSERT INTO "applications" ("base_url", "created_at", "description", "icon", "internal_identifier", "javascript_class_name", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["base_url", nil], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 8], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 8], ["preferenced_record_type", "Application"]] Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 8) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('file_manager') AND "applications"."id" != 8 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 Desktop Load (0.2ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 1) LIMIT 1  (18.5ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 8) User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE (LOWER("users"."email") = LOWER('admin@portablemind.com') AND "users"."id" != 1) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE (LOWER("users"."username") = LOWER('admin') AND "users"."id" != 1) LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 Desktop Load (0.2ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."type" IN ('Desktop') AND (user_id = 2) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 8) User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE (LOWER("users"."email") = LOWER('truenorth@gmail.com') AND "users"."id" != 2) LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE (LOWER("users"."username") = LOWER('truenorth') AND "users"."id" != 2) LIMIT 1  (84.9ms) commit transaction  (6.7ms) insert into data_migrations (version) values ('20110817160743')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110913145838'  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["version", #]]  (3.6ms) commit transaction  (23.6ms) insert into data_migrations (version) values ('20110913145838')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20111108183739'  (0.1ms) begin transaction SecurityRole Load (0.1ms) SELECT "security_roles".* FROM "security_roles" WHERE "security_roles"."internal_identifier" = 'admin' LIMIT 1 SecurityRole Load (0.1ms) SELECT "security_roles".* FROM "security_roles" WHERE "security_roles"."internal_identifier" = 'employee' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 SQL (0.4ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."internal_identifier" = 'class' LIMIT 1 Capability Load (32.6ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."capability_resource_type" = 'User' AND "capabilities"."capability_type_id" = 2 AND "capabilities"."scope_type_id" = 2 LIMIT 1 SQL (18.4ms) INSERT INTO "capabilities" ("capability_resource_id", "capability_resource_type", "capability_type_id", "created_at", "description", "resource", "scope_query", "scope_type_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["capability_resource_id", nil], ["capability_resource_type", "User"], ["capability_type_id", 2], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", nil], ["resource", nil], ["scope_query", nil], ["scope_type_id", 2], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."id" = 2 LIMIT 1 ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."id" = 2 LIMIT 1 ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."internal_identifier" = 'class' LIMIT 1  (0.4ms) UPDATE "capabilities" SET "capability_resource_type" = 'User', "capability_type_id" = 2, "scope_type_id" = 2, "created_at" = '2013-01-07 18:09:38.602153', "updated_at" = '2013-01-07 18:09:38.602153', "description" = 'Create User' WHERE "capabilities"."id" = 1 CapabilityAccessor Load (21.9ms) SELECT "capability_accessors".* FROM "capability_accessors" WHERE "capability_accessors"."capability_accessor_record_type" = 'SecurityRole' AND "capability_accessors"."capability_accessor_record_id" = 1 AND "capability_accessors"."capability_id" = 1 LIMIT 1 SQL (15.6ms) INSERT INTO "capability_accessors" ("capability_accessor_record_id", "capability_accessor_record_type", "capability_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["capability_accessor_record_id", 1], ["capability_accessor_record_type", "SecurityRole"], ["capability_id", 1], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] SecurityRole Load (0.1ms) SELECT "security_roles".* FROM "security_roles" WHERE "security_roles"."id" = ? LIMIT 1 [["id", 1]] CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 SQL (0.2ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."internal_identifier" = 'class' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."capability_resource_type" = 'User' AND "capabilities"."capability_type_id" = 3 AND "capabilities"."scope_type_id" = 2 LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_resource_id", "capability_resource_type", "capability_type_id", "created_at", "description", "resource", "scope_query", "scope_type_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["capability_resource_id", nil], ["capability_resource_type", "User"], ["capability_type_id", 3], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", nil], ["resource", nil], ["scope_query", nil], ["scope_type_id", 2], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."id" = 3 LIMIT 1 ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."id" = 2 LIMIT 1 ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."internal_identifier" = 'class' LIMIT 1  (0.1ms) UPDATE "capabilities" SET "capability_resource_type" = 'User', "capability_type_id" = 3, "scope_type_id" = 2, "created_at" = '2013-01-07 18:09:38.708346', "updated_at" = '2013-01-07 18:09:38.708346', "description" = 'Delete User' WHERE "capabilities"."id" = 2 CapabilityAccessor Load (0.1ms) SELECT "capability_accessors".* FROM "capability_accessors" WHERE "capability_accessors"."capability_accessor_record_type" = 'SecurityRole' AND "capability_accessors"."capability_accessor_record_id" = 1 AND "capability_accessors"."capability_id" = 2 LIMIT 1 SQL (0.1ms) INSERT INTO "capability_accessors" ("capability_accessor_record_id", "capability_accessor_record_type", "capability_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["capability_accessor_record_id", 1], ["capability_accessor_record_type", "SecurityRole"], ["capability_id", 2], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] SecurityRole Load (0.0ms) SELECT "security_roles".* FROM "security_roles" WHERE "security_roles"."id" = ? LIMIT 1 [["id", 1]] CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."internal_identifier" = 'class' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."capability_resource_type" = 'Note' AND "capabilities"."capability_type_id" = 2 AND "capabilities"."scope_type_id" = 2 LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_resource_id", "capability_resource_type", "capability_type_id", "created_at", "description", "resource", "scope_query", "scope_type_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["capability_resource_id", nil], ["capability_resource_type", "Note"], ["capability_type_id", 2], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", nil], ["resource", nil], ["scope_query", nil], ["scope_type_id", 2], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."id" = 2 LIMIT 1 ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."id" = 2 LIMIT 1 ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."internal_identifier" = 'class' LIMIT 1  (0.1ms) UPDATE "capabilities" SET "capability_resource_type" = 'Note', "capability_type_id" = 2, "scope_type_id" = 2, "created_at" = '2013-01-07 18:09:38.715048', "updated_at" = '2013-01-07 18:09:38.715048', "description" = 'Create Note' WHERE "capabilities"."id" = 3 CapabilityAccessor Load (0.1ms) SELECT "capability_accessors".* FROM "capability_accessors" WHERE "capability_accessors"."capability_accessor_record_type" = 'SecurityRole' AND "capability_accessors"."capability_accessor_record_id" = 1 AND "capability_accessors"."capability_id" = 3 LIMIT 1 SQL (0.1ms) INSERT INTO "capability_accessors" ("capability_accessor_record_id", "capability_accessor_record_type", "capability_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["capability_accessor_record_id", 1], ["capability_accessor_record_type", "SecurityRole"], ["capability_id", 3], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] SecurityRole Load (0.0ms) SELECT "security_roles".* FROM "security_roles" WHERE "security_roles"."id" = ? LIMIT 1 [["id", 1]] CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."internal_identifier" = 'class' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."capability_resource_type" = 'Note' AND "capabilities"."capability_type_id" = 2 AND "capabilities"."scope_type_id" = 2 LIMIT 1 CapabilityAccessor Load (0.1ms) SELECT "capability_accessors".* FROM "capability_accessors" WHERE "capability_accessors"."capability_accessor_record_type" = 'SecurityRole' AND "capability_accessors"."capability_accessor_record_id" = 2 AND "capability_accessors"."capability_id" = 3 LIMIT 1 SQL (0.2ms) INSERT INTO "capability_accessors" ("capability_accessor_record_id", "capability_accessor_record_type", "capability_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["capability_accessor_record_id", 2], ["capability_accessor_record_type", "SecurityRole"], ["capability_id", 3], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] SecurityRole Load (0.0ms) SELECT "security_roles".* FROM "security_roles" WHERE "security_roles"."id" = ? LIMIT 1 [["id", 2]] CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."internal_identifier" = 'class' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."capability_resource_type" = 'Note' AND "capabilities"."capability_type_id" = 4 AND "capabilities"."scope_type_id" = 2 LIMIT 1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_resource_id", "capability_resource_type", "capability_type_id", "created_at", "description", "resource", "scope_query", "scope_type_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["capability_resource_id", nil], ["capability_resource_type", "Note"], ["capability_type_id", 4], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", nil], ["resource", nil], ["scope_query", nil], ["scope_type_id", 2], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."id" = 4 LIMIT 1 ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."id" = 2 LIMIT 1 ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."internal_identifier" = 'class' LIMIT 1  (0.1ms) UPDATE "capabilities" SET "capability_resource_type" = 'Note', "capability_type_id" = 4, "scope_type_id" = 2, "created_at" = '2013-01-07 18:09:38.727001', "updated_at" = '2013-01-07 18:09:38.727001', "description" = 'View Note' WHERE "capabilities"."id" = 4 CapabilityAccessor Load (0.1ms) SELECT "capability_accessors".* FROM "capability_accessors" WHERE "capability_accessors"."capability_accessor_record_type" = 'SecurityRole' AND "capability_accessors"."capability_accessor_record_id" = 1 AND "capability_accessors"."capability_id" = 4 LIMIT 1 SQL (0.2ms) INSERT INTO "capability_accessors" ("capability_accessor_record_id", "capability_accessor_record_type", "capability_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["capability_accessor_record_id", 1], ["capability_accessor_record_type", "SecurityRole"], ["capability_id", 4], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] SecurityRole Load (0.0ms) SELECT "security_roles".* FROM "security_roles" WHERE "security_roles"."id" = ? LIMIT 1 [["id", 1]] CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."internal_identifier" = 'class' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."capability_resource_type" = 'Note' AND "capabilities"."capability_type_id" = 4 AND "capabilities"."scope_type_id" = 2 LIMIT 1 CapabilityAccessor Load (0.1ms) SELECT "capability_accessors".* FROM "capability_accessors" WHERE "capability_accessors"."capability_accessor_record_type" = 'SecurityRole' AND "capability_accessors"."capability_accessor_record_id" = 2 AND "capability_accessors"."capability_id" = 4 LIMIT 1 SQL (0.1ms) INSERT INTO "capability_accessors" ("capability_accessor_record_id", "capability_accessor_record_type", "capability_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["capability_accessor_record_id", 2], ["capability_accessor_record_type", "SecurityRole"], ["capability_id", 4], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] SecurityRole Load (0.0ms) SELECT "security_roles".* FROM "security_roles" WHERE "security_roles"."id" = ? LIMIT 1 [["id", 2]] CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."internal_identifier" = 'class' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" WHERE "capabilities"."capability_resource_type" = 'Note' AND "capabilities"."capability_type_id" = 3 AND "capabilities"."scope_type_id" = 2 LIMIT 1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_resource_id", "capability_resource_type", "capability_type_id", "created_at", "description", "resource", "scope_query", "scope_type_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["capability_resource_id", nil], ["capability_resource_type", "Note"], ["capability_type_id", 3], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", nil], ["resource", nil], ["scope_query", nil], ["scope_type_id", 2], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."id" = 3 LIMIT 1 ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."id" = 2 LIMIT 1 ScopeType Load (0.1ms) SELECT "scope_types".* FROM "scope_types" WHERE "scope_types"."internal_identifier" = 'class' LIMIT 1  (0.1ms) UPDATE "capabilities" SET "capability_resource_type" = 'Note', "capability_type_id" = 3, "scope_type_id" = 2, "created_at" = '2013-01-07 18:09:38.737534', "updated_at" = '2013-01-07 18:09:38.737534', "description" = 'Delete Note' WHERE "capabilities"."id" = 5 CapabilityAccessor Load (0.1ms) SELECT "capability_accessors".* FROM "capability_accessors" WHERE "capability_accessors"."capability_accessor_record_type" = 'SecurityRole' AND "capability_accessors"."capability_accessor_record_id" = 1 AND "capability_accessors"."capability_id" = 5 LIMIT 1 SQL (0.3ms) INSERT INTO "capability_accessors" ("capability_accessor_record_id", "capability_accessor_record_type", "capability_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["capability_accessor_record_id", 1], ["capability_accessor_record_type", "SecurityRole"], ["capability_id", 5], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] SecurityRole Load (0.0ms) SELECT "security_roles".* FROM "security_roles" WHERE "security_roles"."id" = ? LIMIT 1 [["id", 1]]  (7.6ms) commit transaction  (6.9ms) insert into data_migrations (version) values ('20111108183739')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740'  (0.1ms) begin transaction OrganizerApplication Load (0.3ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 5  (0.3ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 5 AND "applications_widgets"."application_id" IN (3) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 5]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."xtype") = LOWER('phonenumbergrid') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."internal_identifier") = LOWER('phone_number_management') LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["xtype", "phonenumbergrid"]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."xtype") = LOWER('emailaddressgrid') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."internal_identifier") = LOWER('email_address_management') LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["xtype", "emailaddressgrid"]] Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."xtype") = LOWER('postaladdressgrid') LIMIT 1 Widget Exists (0.1ms) SELECT 1 AS one FROM "widgets" WHERE LOWER("widgets"."internal_identifier") = LOWER('postal_address_management') LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["xtype", "postaladdressgrid"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (3, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (3, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (3, 9) Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE ("applications"."javascript_class_name" IS NULL AND "applications"."id" != 3) LIMIT 1 Application Exists (0.1ms) SELECT 1 AS one FROM "applications" WHERE (LOWER("applications"."internal_identifier") = LOWER('crm') AND "applications"."id" != 3 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (4.6ms) commit transaction  (5.1ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706'  (0.0ms) begin transaction AuditLogType Load (9.3ms) SELECT "audit_log_types".* FROM "audit_log_types" AuditLogType Load (0.3ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.4ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 3 AND "audit_log_types"."lft" < 4) AND ("audit_log_types".id != 2) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 5 AND "audit_log_types"."lft" < 6) AND ("audit_log_types".id != 3) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 7 AND "audit_log_types"."lft" < 8) AND ("audit_log_types".id != 4) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 9 AND "audit_log_types"."lft" < 10) AND ("audit_log_types".id != 5) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "audit_log_types"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "audit_log_types"."lft") AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" WHERE ("audit_log_types"."lft" >= 11 AND "audit_log_types"."lft" < 12) AND ("audit_log_types".id != 6) ORDER BY "audit_log_types"."lft" AuditLogType Load (0.0ms) SELECT "audit_log_types"."lft", "audit_log_types"."rgt", "audit_log_types"."parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (4.0ms) commit transaction  (3.6ms) insert into data_migrations (version) values ('20111111144706')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20120109173616'  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00], ["description", "Download"], ["internal_identifier", "download"], ["updated_at", Mon, 07 Jan 2013 18:09:38 UTC +00:00]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 GlAccount Load (0.3ms) SELECT "gl_accounts".* FROM "gl_accounts" ORDER BY "gl_accounts"."rgt" desc LIMIT 1 SQL (8.6ms) INSERT INTO "gl_accounts" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Mon, 07 Jan 2013 18:09:39 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", nil], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Mon, 07 Jan 2013 18:09:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (25.5ms) INSERT INTO "price_plan_comp_gl_accounts" ("created_at", "gl_account_id", "mapping_rule_klass", "pricing_plan_component_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 07 Jan 2013 18:09:39 UTC +00:00], ["gl_account_id", nil], ["mapping_rule_klass", nil], ["pricing_plan_component_id", nil], ["updated_at", Mon, 07 Jan 2013 18:09:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction