spec/dummy/log/development.log in ddr-models-1.2.0 vs spec/dummy/log/development.log in ddr-models-1.2.1

- old
+ new

@@ -1,71 +1,25 @@ Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_type' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_type' AND type='index' - +Migrating to CreateEvents (20141021233359) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) +  (0.1ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms) SELECT sql - FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_minted_ids_on_referent' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_minted_ids_on_referent' AND type='index' - +  (0.2ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - -  (2.4ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  -  (0.1ms) select sqlite_version(*) -  (1.9ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.2ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.6ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.1ms) SELECT sql - FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_outcome' AND type='index' @@ -76,11 +30,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (2.1ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.1ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -101,178 +55,33 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.5ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.3ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.3ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - -  (1.3ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -  (6.1ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  -  (0.1ms) select sqlite_version(*) -  (1.5ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.1ms) CREATE INDEX "index_events_on_type" ON "events" ("type") + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141021233359"]] +  (34.0ms) commit transaction +Migrating to CreateMintedIds (20141021234156) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) +  (0.8ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.2ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.4ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' - -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.6ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.6ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.4ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") -  (0.1ms)  SELECT sql - FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' - -  (1.5ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -  (1.5ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  -  (0.1ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' -  (1.2ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.2ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' - -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.1ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.1ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.6ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141021234156"]] +  (1.2ms) commit transaction +Migrating to CreateUsers (20141023150123) +  (0.1ms) begin transaction +  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141023150123"]] +  (1.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL @@ -302,11 +111,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (0.1ms)  SELECT sql +  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_referent' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -318,22 +127,22 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (1.6ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  -  (0.1ms) select sqlite_version(*) -  (1.8ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.2ms) SELECT sql +  (0.9ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (0.0ms) select sqlite_version(*) +  (1.1ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (2.0ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (1.4ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql @@ -346,11 +155,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.3ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (17.9ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -371,43 +180,41 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.4ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.4ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.2ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.1ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (0.8ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (0.8ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index'  -  (1.3ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.8ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  +  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations" -  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (3.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_type' AND type='index'  -  (0.2ms) SELECT sql +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -443,22 +250,22 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (2.1ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  -  (0.1ms) select sqlite_version(*) -  (1.7ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.2ms) SELECT sql +  (1.2ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (0.0ms) select sqlite_version(*) +  (1.1ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.6ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (1.0ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql @@ -471,12 +278,12 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.7ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") -  (0.2ms)  SELECT sql +  (0.9ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -496,29 +303,29 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.6ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.6ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.6ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.1ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (1.1ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (0.9ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index'  -  (1.5ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (1.0ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  +  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations" -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master @@ -526,11 +333,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_type' AND type='index'  -  (0.2ms) SELECT sql +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -566,22 +373,22 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (2.3ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (1.2ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)   (0.1ms) select sqlite_version(*) -  (1.6ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.1ms) SELECT sql +  (0.9ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.3ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (1.1ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql @@ -594,11 +401,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (2.2ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.9ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -619,40 +426,33 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.6ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (1.0ms) CREATE INDEX "index_events_on_type" ON "events" ("type")  (1.5ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.4ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.0ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index'  -  (1.4ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (1.0ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  +  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations" -  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -Virus scan: OK - /Users/dc/Downloads/blue-devil.png (ClamAV 0.98.3/19551/Tue Oct 28 18:38:27 2014) -Virus scan: OK - /Users/dc/Downloads/blue-devil.png (ClamAV 0.98.3/19551/Tue Oct 28 18:38:27 2014) -Virus scan: OK - /Users/dc/Downloads/blue-devil.png (ClamAV 0.98.3/19551/Tue Oct 28 18:38:27 2014) -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms)  SELECT sql + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -696,22 +496,22 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (1.8ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (1.1ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)   (0.1ms) select sqlite_version(*) -  (1.6ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (1.1ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.4ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (1.0ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql @@ -724,11 +524,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (2.6ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (1.0ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -749,31 +549,31 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.6ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.5ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.5ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.3ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (1.0ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (1.2ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index'  -  (1.5ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (2.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (1.0ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  +  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations" -  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') +  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL @@ -819,22 +619,22 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (1.7ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (1.0ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)   (0.0ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.8ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.2ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (1.3ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql @@ -847,11 +647,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.3ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.9ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -872,33 +672,33 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.4ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (0.9ms) CREATE INDEX "index_events_on_type" ON "events" ("type")  (1.3ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.6ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.0ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index'  -  (1.2ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.9ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  +  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations" -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms)  SELECT sql +  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -942,22 +742,22 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (1.6ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  -  (0.1ms) select sqlite_version(*) -  (1.9ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.2ms) SELECT sql +  (1.1ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (0.0ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.4ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (0.9ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql @@ -970,11 +770,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.6ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (1.0ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -995,33 +795,33 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.5ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (2.3ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.5ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (0.9ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (0.9ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (0.8ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index'  -  (1.8ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.9ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  +  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations" -  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (2.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms)  SELECT sql + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -1065,22 +865,22 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (1.3ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  -  (0.0ms) select sqlite_version(*) -  (1.5ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (1.5ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (0.1ms) select sqlite_version(*) +  (1.1ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.6ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (1.1ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql @@ -1093,11 +893,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.5ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (1.1ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -1118,32 +918,77 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.4ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.6ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.7ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.1ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (1.2ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (0.9ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index'  -  (1.6ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.9ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  +  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations" -  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (2.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') +  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading fedora config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/fedora.yml +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading solr config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/solr.yml + Ddr::Events::FixityCheckEvent Load (22.5ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:105' ORDER BY event_date_time DESC LIMIT 1 +Error assigning permanent ID to changeme:105: no implicit conversion of nil into String +  (0.1ms) begin transaction + SQL (21.9ms) INSERT INTO "events" ("created_at", "detail", "event_date_time", "outcome", "pid", "software", "summary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-03 16:49:22.728299"], ["detail", "Unable to assign permanent ID to changeme:105"], ["event_date_time", "2014-11-03 16:49:22.601255"], ["outcome", "failure"], ["pid", "changeme:105"], ["software", "DDR 1.1.0"], ["summary", "Assigned permanent ID"], ["type", "Ddr::Events::UpdateEvent"], ["updated_at", "2014-11-03 16:49:22.728299"]] +  (0.9ms) commit transaction +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading fedora config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/fedora.yml +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading solr config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/solr.yml + Ddr::Workflow::WorkflowState Load (0.5ms) SELECT "workflow_states".* FROM "workflow_states" +SQLite3::SQLException: no such table: workflow_states: SELECT "workflow_states".* FROM "workflow_states" +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +  (0.1ms) SELECT version FROM schema_migrations +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +  (0.1ms) SELECT version FROM schema_migrations +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateWorkflowState (20141103192146) +  (0.1ms) begin transaction +  (0.5ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (0.1ms) SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (0.1ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141103192146"]] +  (1.7ms) commit transaction + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL SELECT sql @@ -1188,94 +1033,129 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (1.4ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  -  (0.0ms) select sqlite_version(*) -  (1.3ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.5ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' -  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_workflow_states_on_workflow_state' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_workflow_states_on_workflow_state' AND type='index'  -  (1.4ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' -  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.2ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.2ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.4ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - -  (1.4ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading fedora config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/fedora.yml +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading solr config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/solr.yml +  (0.1ms) SELECT COUNT(*) FROM "workflow_states" + Ddr::Workflow::WorkflowState Load (0.3ms) SELECT "workflow_states".* FROM "workflow_states" ORDER BY "workflow_states"."id" ASC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "workflow_states" ("created_at", "pid", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["created_at", "2014-11-04 13:59:05.813799"], ["pid", "changeme:1"], ["updated_at", "2014-11-04 13:59:05.813799"], ["workflow_state", "published"]] +  (1.1ms) commit transaction + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" ORDER BY "workflow_states"."id" ASC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.3ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading fedora config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/fedora.yml +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading solr config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/solr.yml + Ddr::Workflow::WorkflowState Load (0.1ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading fedora config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/fedora.yml +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading solr config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/solr.yml + Ddr::Workflow::WorkflowState Load (0.1ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.3ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading fedora config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/fedora.yml +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading solr config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/solr.yml + Ddr::Workflow::WorkflowState Load (0.1ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.3ms) SELECT "workflow_states".* FROM "workflow_states" ORDER BY "workflow_states"."id" ASC LIMIT 1 +  (0.2ms) SELECT COUNT(*) FROM "workflow_states" + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" ORDER BY "workflow_states"."id" ASC LIMIT 1 +  (0.2ms) SELECT COUNT(*) FROM "workflow_states" + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:2' + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:2' + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading fedora config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/fedora.yml +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading solr config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/solr.yml + Ddr::Workflow::WorkflowState Load (0.1ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 +  (0.1ms) begin transaction +  (0.1ms) commit transaction + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 +  (0.1ms) begin transaction + SQL (0.8ms) UPDATE "workflow_states" SET "updated_at" = ?, "workflow_state" = ? WHERE "workflow_states"."id" = 1 [["updated_at", "2014-11-04 14:13:46.721350"], ["workflow_state", nil]] +  (1.6ms) commit transaction + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading fedora config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/fedora.yml +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading solr config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/solr.yml + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:108' ORDER BY event_date_time DESC LIMIT 1 +Error assigning permanent ID to changeme:108: no implicit conversion of nil into String +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "events" ("created_at", "detail", "event_date_time", "outcome", "pid", "software", "summary", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-11-04 14:34:07.962671"], ["detail", "Unable to assign permanent ID to changeme:108"], ["event_date_time", "2014-11-04 14:34:07.748455"], ["outcome", "failure"], ["pid", "changeme:108"], ["software", "DDR 1.1.0"], ["summary", "Assigned permanent ID"], ["type", "Ddr::Events::UpdateEvent"], ["updated_at", "2014-11-04 14:34:07.962671"]] +  (1.7ms) commit transaction + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:108' ORDER BY "workflow_states"."id" ASC LIMIT 1 +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading fedora config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/fedora.yml +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading solr config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/solr.yml + Ddr::Workflow::WorkflowState Load (0.1ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:108' + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:108' + Ddr::Workflow::WorkflowState Load (0.3ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' + Ddr::Workflow::WorkflowState Load (0.1ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' + Ddr::Workflow::WorkflowState Load (0.1ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 +  (0.1ms) begin transaction + SQL (0.5ms) UPDATE "workflow_states" SET "updated_at" = ?, "workflow_state" = ? WHERE "workflow_states"."id" = 1 [["updated_at", "2014-11-04 14:36:24.005261"], ["workflow_state", "published"]] +  (1.7ms) commit transaction + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' + Ddr::Workflow::WorkflowState Load (0.1ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' + Ddr::Workflow::WorkflowState Load (0.1ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_type' AND type='index'  -  (0.1ms) SELECT sql +  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -1311,23 +1191,39 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (3.0ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  -  (0.2ms) select sqlite_version(*) -  (1.9ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.2ms) SELECT sql +  (0.1ms)  SELECT sql FROM sqlite_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + +  (0.1ms) SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (1.3ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (0.1ms) select sqlite_version(*) +  (1.0ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.1ms) SELECT sql + FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.7ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.2ms) SELECT sql +  (1.1ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -1339,11 +1235,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.6ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (1.1ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -1364,41 +1260,64 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.5ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.7ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.6ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.0ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (1.0ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (0.9ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index'  -  (1.6ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.9ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (55.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  +  (14.3ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) +  (1.9ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (0.1ms) SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (1.3ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (46.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations" -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (2.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') +  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading fedora config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/fedora.yml +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading solr config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/solr.yml + Ddr::Workflow::WorkflowState Load (9.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' + Ddr::Workflow::WorkflowState Load (0.1ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:108' + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:108' +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. + ActiveRecord::SchemaMigration Load (27.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_type' AND type='index'  -  (0.1ms) SELECT sql +  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -1434,23 +1353,39 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (1.2ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + +  (0.1ms) SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (1.1ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)   (0.1ms) select sqlite_version(*) -  (1.8ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (1.0ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.6ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.1ms) SELECT sql +  (1.0ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -1462,12 +1397,12 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.6ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") -  (0.1ms)  SELECT sql +  (1.2ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -1487,31 +1422,325 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.6ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.6ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.4ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.2ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (1.1ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (1.1ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index'  -  (1.2ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (1.0ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  +  (1.0ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) +  (0.9ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (0.1ms) SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (1.0ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations" -  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading fedora config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/fedora.yml +Using the default fedora.yml that comes with active-fedora. If you want to override this, pass the path to fedora.yml to ActiveFedora - ie. ActiveFedora.init(:fedora_config_path => '/path/to/fedora.yml') - or set Rails.root and put fedora.yml into #{Rails.root}/config. +ActiveFedora: loading solr config from /Users/coblej/.rvm/gems/ruby-2.1.2@ddr-models/gems/active-fedora-7.1.1/config/solr.yml + Ddr::Workflow::WorkflowState Load (40.8ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:1' ORDER BY "workflow_states"."id" ASC LIMIT 1 + Ddr::Events::FixityCheckEvent Load (0.5ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:1' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.1ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:10' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:10' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:10' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:102' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:102' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:104' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:104' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:108' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:108' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.3ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:11' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:11' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:11' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:12' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:12' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:12' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:13' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:13' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:13' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:14' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:14' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:14' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:15' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:15' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:15' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:16' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:16' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:16' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:17' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:17' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:17' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:18' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:18' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:18' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:19' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:19' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:19' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:2' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:2' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:20' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:20' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:20' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:21' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:21' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:21' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:22' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:22' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:22' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:23' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:23' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:23' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:24' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:24' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:24' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:25' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:25' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:25' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:26' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:26' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:26' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:27' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:27' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:27' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:28' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:28' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:28' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:29' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:29' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:29' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:3' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:3' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:30' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:30' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:30' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:31' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:31' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:31' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:32' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:32' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:32' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:33' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:33' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:33' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:34' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:34' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:34' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:35' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:35' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:35' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:36' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:36' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:36' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:37' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:37' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:37' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:38' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:38' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:38' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:39' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:39' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:39' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:4' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:4' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:40' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:40' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:40' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:41' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:41' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:41' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:42' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:42' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:42' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:43' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:43' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:43' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:44' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:44' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:44' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:45' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:45' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:45' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:46' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:46' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:46' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:47' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:47' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:47' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:48' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:48' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:48' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:49' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:49' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.1ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:49' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:5' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:5' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:5' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:50' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:50' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:50' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:51' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:51' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:51' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:52' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:52' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:52' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:53' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:53' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:53' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:54' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:54' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:54' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:55' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:55' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:55' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:56' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:56' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:56' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:57' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:57' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.1ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:57' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.1ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:58' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:58' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.1ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:58' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:59' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:59' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.1ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:59' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:6' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:6' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:6' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:60' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:60' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:60' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:61' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:61' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:61' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:62' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:62' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:62' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:63' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:63' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:63' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:64' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:64' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:64' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.1ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:65' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:65' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:65' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.1ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:66' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:66' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.1ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:66' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:67' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:67' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:67' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:68' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:68' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.1ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:68' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:69' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:69' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.1ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:69' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:7' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:7' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:7' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:70' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:70' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:70' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:71' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:71' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:71' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:72' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:72' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:72' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:73' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:73' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:73' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:74' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:74' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:74' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:75' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:75' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:75' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:76' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:76' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:76' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:77' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:77' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:77' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:78' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:78' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:78' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:79' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:79' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:79' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:8' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:8' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:8' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:80' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:80' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:80' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:81' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:81' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:81' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:82' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:82' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:82' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:83' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:83' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:83' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:84' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:84' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:84' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:85' + Ddr::Events::FixityCheckEvent Load (0.5ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:85' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:85' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:86' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:86' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:86' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:87' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:87' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:87' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:88' + Ddr::Events::FixityCheckEvent Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:88' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:88' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:9' + Ddr::Events::FixityCheckEvent Load (0.4ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:9' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Events::VirusCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::VirusCheckEvent') AND "events"."pid" = 'changeme:9' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:92' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:92' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:93' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:93' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:95' + Ddr::Events::FixityCheckEvent Load (0.3ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:95' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:97' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:97' ORDER BY event_date_time DESC LIMIT 1 + Ddr::Workflow::WorkflowState Load (0.2ms) SELECT "workflow_states".* FROM "workflow_states" WHERE "workflow_states"."pid" = 'changeme:99' + Ddr::Events::FixityCheckEvent Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."type" IN ('Ddr::Events::FixityCheckEvent') AND "events"."pid" = 'changeme:99' ORDER BY event_date_time DESC LIMIT 1 +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL @@ -1557,22 +1786,38 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (6.2ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + +  (0.1ms) SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (1.7ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)   (0.1ms) select sqlite_version(*) -  (1.7ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (1.2ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.5ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (1.2ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql @@ -1585,11 +1830,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.7ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (4.2ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -1610,31 +1855,43 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (2.3ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.8ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.4ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.2ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (0.9ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (0.9ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index'  -  (1.4ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (1.1ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  +  (1.0ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) +  (0.9ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (0.2ms) SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (1.1ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations" -  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL @@ -1680,47 +1937,38 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (6.0ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  -  (0.1ms) select sqlite_version(*) -  (1.8ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.2ms) SELECT sql +  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_workflow_states_on_workflow_state' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.7ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") + WHERE name='index_workflow_states_on_workflow_state' AND type='index' +  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' -  (0.1ms)  SELECT sql +  (1.1ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (0.0ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.3ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' - + +  (0.9ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql @@ -1733,93 +1981,112 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.7ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.8ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.8ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - -  (1.6ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.8ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_type' AND type='index' + WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_type' AND type='index' + WHERE name='index_events_on_pid' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_events_on_outcome' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms) SELECT sql - FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' - + +  (0.9ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (0.9ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (0.9ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_minted_ids_on_referent' AND type='index' + WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_minted_ids_on_referent' AND type='index' + WHERE name='index_minted_ids_on_minted_id' AND type='index'  +  (0.9ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  +  (0.9ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) +  (0.9ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid")  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' -  (21.8ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (0.9ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) SELECT version FROM "schema_migrations" +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateUsers (20141104181418) +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141104181418"]] +  (1.2ms) commit transaction +Migrating to AddColumnsToUser (20141107124012) +  (0.1ms) begin transaction +  (0.4ms) ALTER TABLE "users" ADD "first_name" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "middle_name" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "nickname" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "last_name" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "display_name" varchar(255) +  (0.0ms) select sqlite_version(*) +  (0.2ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +SQLite3::SQLException: table users has no column named email: CREATE INDEX "index_users_on_email" ON "users" ("email") +  (0.4ms) rollback transaction +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +  (0.1ms) SELECT version FROM schema_migrations +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to AddColumnsToUser (20141107124012) +  (0.1ms) begin transaction +  (0.3ms) ALTER TABLE "users" ADD "first_name" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "middle_name" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "nickname" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "last_name" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "display_name" varchar(255) +  (0.0ms) select sqlite_version(*) +  (0.2ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +SQLite3::SQLException: table users has no column named email: CREATE INDEX "index_users_on_email" ON "users" ("email") +  (4.2ms) rollback transaction +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +  (1.1ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)   (0.1ms) select sqlite_version(*) -  (2.0ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.2ms) SELECT sql +  (1.1ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.7ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.2ms) SELECT sql +  (1.0ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -1831,11 +2098,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.6ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (1.3ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -1856,296 +2123,250 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.7ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (2.3ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (2.0ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") -  (0.1ms)  SELECT sql +  (1.2ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (1.0ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (14.0ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index'  -  (1.5ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL)  -  (2.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141023150123') -  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to CreateUsers (20141023150123) -  (0.0ms) begin transaction -  (0.6ms) DROP TABLE "users" - SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20141023150123' -  (1.4ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_type' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_type' AND type='index' - +  (1.3ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))  +  (1.2ms) CREATE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_users_on_email' AND type='index'  -  (0.1ms) SELECT sql +  (1.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (0.2ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_minted_ids_on_referent' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_minted_ids_on_referent' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to CreateUsers (20141104181418) -  (0.1ms) begin transaction -  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))  -  (0.1ms) select sqlite_version(*) -  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email") -  (0.1ms) SELECT sql - FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' -  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (1.3ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (1.3ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) +  (1.2ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid")  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' +  (1.2ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) SELECT version FROM "schema_migrations" +  (33.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to AddColumnsToUser (20141107124012) +  (0.1ms) begin transaction +  (2.7ms) ALTER TABLE "users" ADD "first_name" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "middle_name" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "nickname" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "last_name" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "display_name" varchar(255) +  (0.0ms) select sqlite_version(*) +  (0.2ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +SQLite3::SQLException: table users has no column named email: CREATE INDEX "index_users_on_email" ON "users" ("email") +  (36.3ms) rollback transaction +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to AddColumnsToUser (20141107124012) +  (0.1ms) begin transaction +  (5.8ms) ALTER TABLE "users" ADD "first_name" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "middle_name" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "nickname" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "last_name" varchar(255) +  (0.1ms) ALTER TABLE "users" ADD "display_name" varchar(255) +  (0.0ms) select sqlite_version(*) +  (4.6ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141107124012"]] +  (7.0ms) commit transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_events_on_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_events_on_type' AND type='index'  -  (0.2ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141104181418"]] -  (6.2ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_type' AND type='index' + WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_type' AND type='index' + WHERE name='index_events_on_pid' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_events_on_outcome' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_minted_ids_on_referent' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_minted_ids_on_referent' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_minted_ids_on_referent' AND type='index' + WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_minted_ids_on_referent' AND type='index' + WHERE name='index_minted_ids_on_minted_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' + WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' + WHERE name='index_users_on_username' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_username' AND type='index' + WHERE name='index_workflow_states_on_workflow_state' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_username' AND type='index' + WHERE name='index_workflow_states_on_workflow_state' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index'  -  (0.1ms) SELECT sql +  (0.9ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) +  (0.0ms) select sqlite_version(*) +  (1.0ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' - -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -  (6.2ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  -  (0.1ms) select sqlite_version(*) -  (1.9ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.2ms) SELECT sql - FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.6ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.1ms) SELECT sql + +  (0.9ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms)  SELECT sql + +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.7ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") -  (0.2ms)  SELECT sql + +  (0.9ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_pid' AND type='index' - -  (0.1ms) SELECT sql + +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms)  SELECT sql + +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.6ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.6ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.3ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") -  (0.1ms)  SELECT sql + +  (1.0ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (0.9ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) +  (1.3ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' - -  (1.4ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (2.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))  -  (1.7ms) CREATE INDEX "index_users_on_email" ON "users" ("email") -  (0.1ms)  SELECT sql + +  (2.1ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (49.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) +  (5.7ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (1.2ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) +  (4.0ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (0.2ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' - -  (1.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_reset_password_token' AND type='index' - -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' -  (2.5ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') -  (2.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (2.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.3ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.2ms) SELECT version FROM "schema_migrations" +  (9.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (6.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (18.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (8.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (6.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master @@ -2203,36 +2424,36 @@ FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_workflow_states_on_workflow_state' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_workflow_states_on_workflow_state' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index'  -  (2.6ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) +  (3.4ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  (0.1ms) select sqlite_version(*) -  (1.7ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (2.1ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.6ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (1.4ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql @@ -2245,12 +2466,12 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.7ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") -  (0.2ms) SELECT sql +  (1.2ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -2270,77 +2491,55 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.8ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.6ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) -  (1.3ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.2ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (1.0ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) +  (1.0ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (1.3ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) -  (1.3ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (1.0ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) +  (1.4ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (1.0ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) +  (6.7ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid")  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' -  (1.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_reset_password_token' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' - -  (1.4ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') -  (2.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (2.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (2.8ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (10.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (10.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) SELECT version FROM "schema_migrations" +  (21.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (34.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (28.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -  (0.6ms) SELECT version FROM schema_migrations -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -  (0.1ms) SELECT version FROM schema_migrations -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -  (0.1ms) SELECT version FROM schema_migrations -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -  (0.1ms) SELECT version FROM schema_migrations -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms)  SELECT sql +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_type' AND type='index'  -  (0.2ms) SELECT sql +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -2386,127 +2585,26 @@ FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_workflow_states_on_workflow_state' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_workflow_states_on_workflow_state' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index'  -  (1.7ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) -  (0.1ms) select sqlite_version(*) -  (1.4ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.6ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.4ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.8ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.7ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) -  (1.4ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - -  (1.5ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) -  (1.5ms) CREATE INDEX "index_users_on_email" ON "users" ("email") -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' - -  (1.5ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_reset_password_token' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' - -  (1.6ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.2ms) SELECT version FROM "schema_migrations" -  (2.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -  (0.1ms) SELECT version FROM schema_migrations -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL @@ -2562,27 +2660,27 @@ FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_workflow_states_on_workflow_state' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_workflow_states_on_workflow_state' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index'  -  (1.6ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) +  (1.0ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  (0.1ms) select sqlite_version(*) -  (1.3ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.9ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql @@ -2629,454 +2727,574 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.7ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.2ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) -  (1.3ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.0ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (1.0ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) +  (0.9ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (1.3ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) -  (1.3ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (1.0ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) +  (0.9ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (1.1ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) +  (0.9ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid")  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' -  (1.5ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (1.0ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) SELECT version FROM "schema_migrations" +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +  (0.1ms) SELECT version FROM schema_migrations +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateEvents (20141107144359) +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141107144359"]] +  (1.5ms) commit transaction +Migrating to CreateMintedIds (20141107144360) +  (0.1ms) begin transaction + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141107144360"]] +  (1.0ms) commit transaction +Migrating to CreateWorkflowState (20141107144361) +  (0.1ms) begin transaction +  (0.1ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)  +SQLite3::SQLException: table "workflow_states" already exists: CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) +  (0.0ms) rollback transaction +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +  (1.1ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (0.1ms) select sqlite_version(*) +  (1.0ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index' -  (0.1ms)  SELECT sql +  (1.1ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' - -  (1.4ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + WHERE name='index_events_on_outcome' AND type='index' +  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_type' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_type' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index'  -  (0.1ms) SELECT sql +  (1.0ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_pid' AND type='index' - -  (0.1ms)  SELECT sql + +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms) SELECT sql + +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' - + +  (1.1ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (0.9ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (0.9ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_minted_ids_on_referent' AND type='index' + WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_minted_ids_on_referent' AND type='index' + WHERE name='index_minted_ids_on_minted_id' AND type='index'  -  (0.1ms) SELECT sql +  (0.9ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))  +  (0.9ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' + WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - + WHERE name='index_users_on_email' AND type='index' + +  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_users_on_username' AND type='index' + WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_username' AND type='index' + WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_users_on_email' AND type='index' -  (0.1ms)  SELECT sql +  (1.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (1.0ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) +  (0.9ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' - -  (1.1ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) -  (0.0ms) select sqlite_version(*) -  (1.4ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.1ms)  SELECT sql + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (1.1ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) SELECT version FROM "schema_migrations" +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +  (0.1ms) SELECT version FROM schema_migrations +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateEvents (20141107144359) +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141107144359"]] +  (1.5ms) commit transaction +Migrating to CreateMintedIds (20141107144360) +  (0.1ms) begin transaction + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141107144360"]] +  (1.1ms) commit transaction +Migrating to CreateWorkflowState (20141107144361) +  (0.0ms) begin transaction +  (0.2ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)  +SQLite3::SQLException: table "workflow_states" already exists: CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) +  (0.0ms) rollback transaction +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +  (0.1ms) SELECT version FROM schema_migrations +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +  (1.7ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (0.1ms) select sqlite_version(*) +  (1.3ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.9ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.1ms)  SELECT sql + +  (1.2ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms) SELECT sql + +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.5ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") -  (0.1ms) SELECT sql + +  (1.2ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_pid' AND type='index' - -  (0.1ms)  SELECT sql + +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms) SELECT sql + +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' - -  (2.3ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.8ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) -  (1.6ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") -  (0.1ms) SELECT sql + +  (1.2ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (1.1ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (1.1ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' - -  (1.3ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) -  (2.6ms) CREATE INDEX "index_users_on_email" ON "users" ("email") -  (0.1ms) SELECT sql + +  (1.1ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))  +  (1.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' - -  (1.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") -  (0.1ms) SELECT sql + +  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index' - -  (0.1ms)  SELECT sql + +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' - -  (1.6ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (11.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') -  (18.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (47.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms)  SELECT sql + +  (0.9ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (0.9ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) +  (1.1ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_type' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_type' AND type='index' - + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (1.0ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) SELECT version FROM "schema_migrations" +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +  (1.1ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index' -  (0.1ms)  SELECT sql +  (0.9ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms) SELECT sql + +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' - + +  (0.9ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_minted_ids_on_referent' AND type='index' + WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_minted_ids_on_referent' AND type='index' + WHERE name='index_events_on_pid' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' + WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' + WHERE name='index_events_on_outcome' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_users_on_username' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_username' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index'  -  (0.1ms) SELECT sql +  (1.1ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (0.9ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (0.9ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_reset_password_token' AND type='index' - + WHERE name='index_minted_ids_on_minted_id' AND type='index' + +  (1.0ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))  +  (1.0ms) CREATE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (2.4ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) -  (0.1ms) select sqlite_version(*) -  (4.2ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_users_on_reset_password_token' AND type='index'  -  (1.5ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.1ms)  SELECT sql +  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - + WHERE name='index_users_on_email' AND type='index' + +  (1.2ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (1.0ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) +  (1.0ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid")  (0.1ms) SELECT sql FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (1.3ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) SELECT version FROM "schema_migrations" +  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +  (1.8ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (0.1ms) select sqlite_version(*) +  (1.2ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.1ms) SELECT sql + FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (10.2ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (1.5ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_events_on_outcome' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index'  +  (4.8ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_events_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_events_on_pid' AND type='index' +  (0.1ms) SELECT sql FROM sqlite_master + WHERE name='index_events_on_outcome' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_events_on_outcome' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' - -  (2.6ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (6.4ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) -  (2.3ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") -  (0.1ms) SELECT sql + +  (1.1ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (1.2ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (1.1ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' - -  (10.4ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (2.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) -  (7.3ms) CREATE INDEX "index_users_on_email" ON "users" ("email") -  (0.1ms) SELECT sql + +  (1.0ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))  +  (1.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' - -  (5.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") -  (0.2ms) SELECT sql + +  (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index' - -  (0.1ms)  SELECT sql + +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' - -  (4.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') -  (2.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (10.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') + +  (1.0ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (1.0ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) +  (0.8ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (0.1ms) SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (0.9ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) SELECT version FROM "schema_migrations" +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') +  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to AddColumnsToUser (20141107124012) +  (0.1ms) begin transaction  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_type' AND type='index' + WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_type' AND type='index' + WHERE name='index_users_on_username' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_users_on_email' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_minted_ids_on_referent' AND type='index' + WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_minted_ids_on_referent' AND type='index' + WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' + WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' + WHERE name='index_users_on_email' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL @@ -3098,112 +3316,126 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (1.8ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) -  (0.0ms) select sqlite_version(*) -  (1.4ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.1ms)  SELECT sql +  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.3ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") + WHERE name='index_users_on_username' AND type='index' +  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_users_on_email' AND type='index' -  (1.4ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141107124012"]] +  (1.5ms) commit transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_events_on_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_events_on_type' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_events_on_pid' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master + WHERE name='index_events_on_outcome' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_events_on_outcome' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' - -  (1.3ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.3ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) -  (1.3ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (0.1ms) SELECT sql FROM sqlite_master + WHERE name='index_minted_ids_on_referent' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_minted_ids_on_referent' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' - -  (1.3ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) -  (1.3ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_users_on_username' AND type='index' -  (1.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") -  (0.1ms) SELECT sql +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index' - -  (0.1ms)  SELECT sql + +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index'  -  (1.3ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') -  (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (0.1ms) SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -  (0.4ms) SELECT version FROM schema_migrations -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' @@ -3274,22 +3506,38 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (1.4ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) -  (0.1ms) select sqlite_version(*) -  (1.3ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.1ms) SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' +  (0.1ms)  SELECT sql FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (1.2ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) +  (0.0ms) select sqlite_version(*) +  (1.0ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.2ms)  SELECT sql + FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (2.6ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (0.9ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql @@ -3302,11 +3550,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.4ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.8ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -3327,33 +3575,33 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.4ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.3ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) -  (1.3ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.9ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (0.9ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) +  (0.9ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (1.3ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) -  (1.3ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (0.8ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) +  (0.9ms) CREATE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' -  (1.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (0.8ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql @@ -3366,121 +3614,157 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (2.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') -  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (66.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms)  SELECT sql +  (0.9ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (0.9ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (0.8ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_type' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_type' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index'  +  (0.9ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) SELECT version FROM "schema_migrations" +  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (2.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (2.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (2.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +  (1.3ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index' -  (0.1ms)  SELECT sql +  (0.9ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms) SELECT sql + +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' - + +  (1.1ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_minted_ids_on_referent' AND type='index' + WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_minted_ids_on_referent' AND type='index' + WHERE name='index_events_on_pid' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' + WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' + WHERE name='index_events_on_outcome' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_users_on_username' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_username' AND type='index' + WHERE name='index_events_on_event_date_time' AND type='index'  -  (0.1ms) SELECT sql +  (0.9ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (0.8ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (0.9ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_reset_password_token' AND type='index' - + WHERE name='index_minted_ids_on_minted_id' AND type='index' + +  (0.9ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))  +  (0.9ms) CREATE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (67.3ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) -  (0.1ms) select sqlite_version(*) -  (9.1ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.2ms)  SELECT sql +  (0.8ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_users_on_reset_password_token' AND type='index'  -  (12.6ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.1ms)  SELECT sql +  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - + WHERE name='index_users_on_email' AND type='index' + +  (0.9ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (0.8ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) +  (1.1ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid")  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' -  (25.3ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.8ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) +  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) SELECT version FROM "schema_migrations" +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. +  (0.1ms) SELECT version FROM schema_migrations +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_events_on_type' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_events_on_type' AND type='index' +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -3501,33 +3785,34 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (11.1ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (18.0ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) -  (13.2ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_minted_ids_on_referent' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_minted_ids_on_referent' AND type='index' +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (8.7ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (17.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) -  (19.8ms) CREATE INDEX "index_users_on_email" ON "users" ("email") -  (0.1ms) SELECT sql +  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' - -  (12.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") + WHERE name='index_users_on_username' AND type='index' +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql @@ -3540,17 +3825,26 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (9.9ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (14.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (15.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (9.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') -  (20.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (22.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (0.1ms) SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master @@ -3622,22 +3916,38 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (2.2ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) +  (0.1ms) SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (1.3ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  (0.1ms) select sqlite_version(*) -  (1.5ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (1.0ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.2ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (0.8ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql @@ -3650,11 +3960,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.8ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.9ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -3675,33 +3985,33 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.8ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (2.0ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) -  (1.7ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (0.9ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (1.1ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) +  (0.8ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (1.9ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) -  (1.6ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (0.8ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) +  (0.9ms) CREATE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' -  (1.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql @@ -3714,19 +4024,32 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (2.0ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (1.0ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (0.8ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (0.9ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (0.9ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations" -  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL @@ -3796,22 +4119,38 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  +  (0.1ms) SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' +  (1.4ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  (0.1ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.9ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.2ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (0.9ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql @@ -3824,12 +4163,12 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.3ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") -  (0.1ms) SELECT sql +  (1.0ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -3849,33 +4188,33 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.4ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.3ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) -  (1.9ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.1ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (1.1ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) +  (1.0ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (2.1ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) -  (1.2ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (1.0ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) +  (0.9ms) CREATE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' -  (1.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql @@ -3888,21 +4227,34 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (1.5ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (10.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (1.0ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (0.8ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (0.9ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (0.8ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations" -  (14.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') -  (17.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (14.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms)  SELECT sql +  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -3970,23 +4322,39 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (13.0ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) -  (0.1ms) select sqlite_version(*) -  (1.6ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.2ms)  SELECT sql +  (0.1ms) SELECT sql FROM sqlite_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_workflow_state' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_workflow_states_on_pid' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (1.0ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) +  (0.0ms) select sqlite_version(*) +  (1.4ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.1ms)  SELECT sql + FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.6ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.2ms)  SELECT sql +  (0.8ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -3998,11 +4366,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.7ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.8ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -4023,33 +4391,33 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.8ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.5ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) -  (1.4ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.5ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (0.8ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) +  (0.9ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (1.6ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) -  (1.6ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (0.8ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) +  (1.0ms) CREATE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' -  (1.4ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql @@ -4062,126 +4430,32 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (2.6ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') -  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (0.1ms) select sqlite_version(*) -  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to CreateEvents (20141021233359) -  (0.1ms) begin transaction -  (0.4ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) -  (0.1ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (0.1ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - -  (0.0ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (0.1ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.9ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (0.9ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (0.9ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid")  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index'  -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (0.1ms) CREATE INDEX "index_events_on_type" ON "events" ("type") - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141021233359"]] -  (2.1ms) commit transaction -Migrating to CreateMintedIds (20141021234156) -  (0.1ms) begin transaction -  (0.3ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) -  (0.9ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - -  (0.1ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141021234156"]] -  (2.9ms) commit transaction -Migrating to CreateUsers (20141104181418) -  (0.1ms) begin transaction -  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))  -  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' - -  (0.4ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_reset_password_token' AND type='index' - -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' - -  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141104181418"]] -  (1.7ms) commit transaction +  (0.9ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) SELECT version FROM "schema_migrations" +  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (2.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (2.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (2.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') +Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL @@ -4251,217 +4525,102 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -  (2.7ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  -  (0.1ms) select sqlite_version(*) -  (2.0ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.2ms) SELECT sql +  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_workflow_states_on_workflow_state' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_workflow_states_on_workflow_state' AND type='index' -  (2.1ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.2ms) SELECT sql +  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms)  SELECT sql + WHERE name='index_workflow_states_on_pid' AND type='index' + +  (18.5ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) +  (0.1ms) select sqlite_version(*) +  (2.8ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.9ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (1.9ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' - -  (0.1ms) SELECT sql - FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.5ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.4ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.4ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - -  (1.3ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (1.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))  -  (2.0ms) CREATE INDEX "index_users_on_email" ON "users" ("email") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' - -  (2.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_reset_password_token' AND type='index' -  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' - -  (1.9ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (2.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.4ms) SELECT version FROM "schema_migrations" -  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') -  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -  (0.5ms) SELECT version FROM schema_migrations -Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. -  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (0.1ms) select sqlite_version(*) -  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to CreateEvents (20141021233359) -  (0.1ms) begin transaction -  (0.4ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) -  (0.1ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.1ms) SELECT sql - FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (0.1ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (1.1ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' + WHERE name='index_events_on_pid' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' + WHERE name='index_events_on_outcome' AND type='index'  -  (0.1ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' -  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' - -  (0.1ms) CREATE INDEX "index_events_on_type" ON "events" ("type") - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141021233359"]] -  (1.6ms) commit transaction -Migrating to CreateMintedIds (20141021234156) -  (0.0ms) begin transaction -  (0.2ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) -  (0.9ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") -  (0.1ms) SELECT sql + +  (1.9ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (10.1ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) +  (13.5ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (0.1ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141021234156"]] -  (2.5ms) commit transaction -Migrating to CreateWorkflowState (20141103192146) -  (0.1ms) begin transaction -  (0.3ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (0.4ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_workflow_states_on_pid' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_workflow_states_on_pid' AND type='index' - -  (0.1ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141103192146"]] -  (1.9ms) commit transaction -Migrating to CreateUsers (20141104181418) -  (0.1ms) begin transaction -  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) -  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (8.3ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) +  (5.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' -  (0.4ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (8.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql @@ -4474,114 +4633,42 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141104181418"]] -  (1.8ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT sql +  (16.3ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (1.3ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (5.5ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (0.2ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_type' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_type' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_pid' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_pid' AND type='index' - -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_events_on_outcome' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_outcome' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_events_on_event_date_time' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_events_on_event_date_time' AND type='index' - -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_minted_ids_on_referent' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_minted_ids_on_referent' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' - -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_users_on_username' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_username' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_reset_password_token' AND type='index' - -  (0.1ms) SELECT sql - FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_users_on_email' AND type='index' - -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_workflow_states_on_workflow_state' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_workflow_states_on_workflow_state' AND type='index' - -  (0.1ms) SELECT sql - FROM sqlite_master WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_workflow_states_on_pid' AND type='index' - + +  (6.3ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (24.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (15.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.2ms) SELECT version FROM "schema_migrations" +  (16.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (13.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (15.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms)  SELECT sql + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_type' AND type='index'  -  (0.2ms) SELECT sql +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -4657,23 +4744,23 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_workflow_states_on_pid' AND type='index'  -  (2.7ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) +  (1.3ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  (0.1ms) select sqlite_version(*) -  (1.7ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.2ms)  SELECT sql +  (1.0ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.7ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.2ms)  SELECT sql +  (1.1ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -4685,11 +4772,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.5ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (1.1ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -4710,33 +4797,33 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.5ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.5ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) -  (1.3ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.1ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (1.2ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) +  (1.0ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (1.2ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (2.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) -  (1.7ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (1.1ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) +  (1.2ms) CREATE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' -  (1.4ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql @@ -4749,41 +4836,42 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (1.5ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (1.7ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (2.2ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") -  (0.2ms)  SELECT sql +  (1.2ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (1.2ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (1.1ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_workflow_states_on_pid' AND type='index'  -  (1.6ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") -  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (1.1ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations" -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') -  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (10.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (5.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config. - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms)  SELECT sql +  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_type' AND type='index'  -  (0.1ms) SELECT sql +  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -4859,22 +4947,22 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_workflow_states_on_pid' AND type='index'  -  (38.7ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text) +  (1.4ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text)  (0.1ms) select sqlite_version(*) -  (1.6ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.2ms)  SELECT sql +  (1.2ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_event_date_time' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index'  -  (1.7ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (1.3ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql @@ -4887,11 +4975,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.7ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (1.0ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql @@ -4912,33 +5000,33 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (1.7ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.6ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) -  (1.8ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") -  (0.2ms) SELECT sql +  (1.0ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (1.2ms) CREATE TABLE "minted_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "minted_id" varchar(255), "referent" varchar(255), "created_at" datetime, "updated_at" datetime) +  (1.1ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' AND type='index' -  (1.5ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (2.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) -  (1.9ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (1.0ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (6.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255)) +  (1.3ms) CREATE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' -  (2.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql @@ -4951,24 +5039,25 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (1.6ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (1.4ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)  -  (1.3ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (1.0ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (1.3ms) CREATE TABLE "workflow_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)  +  (1.0ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_workflow_states_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_workflow_states_on_pid' AND type='index'  -  (1.4ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") -  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (1.0ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations" -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (2.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (2.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (2.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')