spec/dummy/log/development.log in ddr-models-1.3.0 vs spec/dummy/log/development.log in ddr-models-1.4.0

- old
+ new

@@ -1,11 +1,90 @@ 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" +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.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' + +  (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.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_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"]] +  (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 SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_type' AND type='index' @@ -32,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 @@ -48,22 +127,22 @@ 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 +  (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' -  (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 @@ -76,11 +155,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") +  (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 @@ -101,116 +180,92 @@ 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") +  (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.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.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.5ms) 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. -  (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) SELECT sql + 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_event_date_time' 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_event_date_time' AND type='index' - -  (1.2ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") + 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_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'  -  (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_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'  -  (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 +  (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") + +  (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.2ms) 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 @@ -223,11 +278,11 @@ 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.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 @@ -250,31 +305,31 @@ 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.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.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") +  (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.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') +  (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.6ms) 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.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 @@ -318,22 +373,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)  +  (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.8ms) 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.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.0ms) 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 @@ -346,11 +401,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 @@ -371,43 +426,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.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.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.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") +  (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.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') +  (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. 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.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 +496,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)  +  (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.7ms) 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.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 +524,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.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 @@ -496,41 +549,41 @@ 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.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.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)  +  (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" -  (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.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 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,13 +619,13 @@ 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)  -  (0.1ms) select sqlite_version(*) -  (1.6ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (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(*) +  (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 @@ -594,11 +647,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,39 +672,32 @@ 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.4ms) 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.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.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) +  (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.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.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. -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" + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" + 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 SELECT sql @@ -696,22 +742,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)  -  (0.1ms) select sqlite_version(*) -  (1.6ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (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 @@ -724,11 +770,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,33 +795,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.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") +  (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.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.5ms) 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" -  (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.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 @@ -819,22 +865,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)  -  (0.0ms) select sqlite_version(*) -  (1.2ms) 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.2ms) 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 @@ -847,11 +893,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") +  (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 @@ -872,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.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.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.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") +  (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.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') +  (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 @@ -942,24 +1033,198 @@ 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.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. +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.2ms) 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.4ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (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_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.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' @@ -970,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 @@ -995,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") -  (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") +  (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.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") +  (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.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') +  (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 @@ -1065,23 +1353,39 @@ 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") +  (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.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 @@ -1093,12 +1397,12 @@ 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.2ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_pid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -1118,31 +1422,325 @@ 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.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.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") +  (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.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 ('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 @@ -1188,22 +1786,38 @@ 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_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.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 @@ -1216,12 +1830,12 @@ 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 +  (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 FROM sqlite_temp_master @@ -1242,30 +1856,42 @@ 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.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.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") +  (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.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') +  (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.5ms) 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 @@ -1311,23 +1937,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.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.7ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.2ms) 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 @@ -1339,11 +1981,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") +  (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 @@ -1364,154 +2006,208 @@ 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") +  (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_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.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') -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 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_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.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(*) +  (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_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 +  (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 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.3ms) 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' -  (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.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' 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.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_events_on_outcome' 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_events_on_outcome' AND type='index' - + 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.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_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.6ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") -  (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_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 +  (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_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' - -  (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.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") + 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" -  (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') +  (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_events_on_type' AND type='index' UNION ALL @@ -1557,82 +2253,120 @@ 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 sqlite_version(*) -  (1.7ms) 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_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.5ms) 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_workflow_states_on_workflow_state' 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_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' + +  (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_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_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' +  (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 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.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") -  (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") -  (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") -  (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') + +  (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_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") +  (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 @@ -1680,82 +2414,120 @@ 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_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.7ms) 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_workflow_states_on_workflow_state' 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_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' + +  (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(*) +  (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.3ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (1.4ms) 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' +  (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.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 + +  (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.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") + +  (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_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' + +  (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" -  (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') +  (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. 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 @@ -1803,187 +2575,244 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_minted_ids_on_minted_id' 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.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_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.7ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.2ms) SELECT sql + 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_workflow_states_on_workflow_state' 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_workflow_state' 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_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'  -  (1.6ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +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_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.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 FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' AND type='index' + WHERE name='index_minted_ids_on_referent' 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_minted_ids_on_referent' 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' + WHERE name='index_minted_ids_on_minted_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_events_on_type' AND type='index' + WHERE name='index_minted_ids_on_minted_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_events_on_pid' 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_pid' AND type='index' + 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_workflow_states_on_workflow_state' 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_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.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_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_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_minted_ids_on_referent' 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_minted_ids_on_referent' AND type='index' + 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_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_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'  -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' + WHERE name='index_events_on_event_date_time' 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_event_date_time' AND type='index' -  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (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_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.1ms)  SELECT sql +  (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' - -  (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 + 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.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_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' +  (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 + 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.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' @@ -2002,34 +2831,33 @@ 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' - +  (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_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 +  (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_users_on_username' 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_username' 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_reset_password_token' AND type='index' UNION ALL SELECT sql @@ -2042,23 +2870,60 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' +  (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_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.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. -  (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 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.9ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (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.6ms) 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 @@ -2071,12 +2936,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 @@ -2096,33 +2961,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.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.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.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") +  (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.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 @@ -2135,250 +3000,301 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' 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.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_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") +  (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.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') -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.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms)  SELECT sql +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_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.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' + 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.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 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)  SELECT sql FROM sqlite_master - WHERE name='index_minted_ids_on_referent' 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_minted_ids_on_referent' 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_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.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_username' 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_username' AND type='index' + WHERE name='index_users_on_email' AND type='index'  -  (0.1ms) SELECT sql +  (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 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' - -  (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) -  (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 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' - -  (1.6ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.1ms)  SELECT sql + +  (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 + +  (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 + +  (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 + +  (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.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") -  (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' - -  (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") -  (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' - -  (1.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") -  (0.1ms) 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' - -  (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') + +  (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. -  (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 +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.2ms) SELECT sql +  (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 @@ -2400,113 +3316,127 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' 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 +  (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.6ms) 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.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_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.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' + 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.5ms) 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.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') +  (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.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 @@ -2576,22 +3506,38 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' 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.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'  -  (1.1ms) 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 @@ -2604,11 +3550,11 @@ 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.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 @@ -2629,33 +3575,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.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.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.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") +  (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.5ms) 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 @@ -2668,121 +3614,157 @@ 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" +  (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'  -  (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.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'  -  (1.9ms) 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' -  (1.5ms) 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 @@ -2803,33 +3785,34 @@ 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 + 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.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 +  (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' - -  (1.6ms) 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 @@ -2842,17 +3825,26 @@ 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') +  (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 @@ -2924,22 +3916,38 @@ 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 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(*) -  (4.2ms) 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.5ms) 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 @@ -2952,11 +3960,11 @@ 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") +  (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 @@ -2977,34 +3985,34 @@ 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.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' -  (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.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' -  (5.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") -  (0.2ms) 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 @@ -3016,17 +4024,30 @@ 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") +  (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.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) 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.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 @@ -3098,22 +4119,38 @@ 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 + 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(*) +  (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_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 @@ -3126,12 +4163,12 @@ 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 +  (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 @@ -3151,33 +4188,33 @@ 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") +  (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' -  (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") +  (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.3ms) 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 @@ -3190,23 +4227,34 @@ 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_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") +  (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" -  (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') +  (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. -  (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 +  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_events_on_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -3274,22 +4322,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.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'  -  (2.6ms) 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 @@ -3302,11 +4366,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 +4391,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.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.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.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.3ms) 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 @@ -3366,21 +4430,34 @@ 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.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_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") +  (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.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') +  (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 (66.6ms) 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.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 @@ -3448,22 +4525,38 @@ 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 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' + +  (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(*) -  (9.1ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (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'  -  (12.6ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (1.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 @@ -3476,11 +4569,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (25.3ms) 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 @@ -3501,33 +4594,33 @@ 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 +  (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' -  (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") +  (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' -  (12.0ms) 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 @@ -3540,19 +4633,32 @@ 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') +  (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_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.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 @@ -3622,22 +4728,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") +  (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 @@ -3650,11 +4772,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") +  (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 @@ -3675,33 +4797,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") +  (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.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") +  (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.6ms) 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 @@ -3714,29 +4836,42 @@ 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.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.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.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.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.4ms) 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 @@ -3796,23 +4931,39 @@ 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.1ms)  SELECT sql +  (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.2ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") -  (0.1ms)  SELECT sql +  (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 FROM sqlite_temp_master @@ -3824,11 +4975,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") +  (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 @@ -3849,33 +5000,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.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' -  (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") +  (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' -  (1.2ms) 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 @@ -3888,17 +5039,30 @@ 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") +  (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.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" -  (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.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') 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 @@ -3906,11 +5070,11 @@ 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 @@ -3970,23 +5134,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 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.6ms) 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.6ms) 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 @@ -3998,11 +5178,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.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 @@ -4023,33 +5203,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") -  (0.1ms) SELECT sql +  (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.2ms) 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.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") +  (1.3ms) 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' -  (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 +5242,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") +  (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.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)  +  (19.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.1ms) SELECT version FROM "schema_migrations" +  (5.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (6.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (11.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 WHERE name='index_events_on_type' AND type='index' UNION ALL @@ -4251,217 +5337,197 @@ 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' - + 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.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.9ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.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' + 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 +  (1.0ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") +  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_events_on_event_date_time' 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_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") + 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'  -  (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 +  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' 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_email' AND type='index' - -  (2.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") -  (0.1ms)  SELECT sql + WHERE name='index_events_on_event_date_time' AND type='index' + +  (1.0ms) 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_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' -  (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") +  (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_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' -  (0.1ms) 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)  +  (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_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'  -  (0.1ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") -  (0.1ms)  SELECT sql +  (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" +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.2ms) 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 (28.3ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms)  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_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_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 FROM sqlite_master - WHERE name='index_minted_ids_on_minted_id' 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_minted_ids_on_minted_id' AND type='index' + WHERE name='index_events_on_event_date_time' 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' + WHERE name='index_minted_ids_on_referent' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_workflow_states_on_pid' AND type='index' + WHERE name='index_minted_ids_on_referent' 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")  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' 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_email' AND type='index' + WHERE name='index_minted_ids_on_minted_id' 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_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 @@ -4474,114 +5540,150 @@ 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 FROM sqlite_master - WHERE name='index_events_on_type' 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_type' AND type='index' + WHERE name='index_workflow_states_on_workflow_state' AND type='index'  (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 +  (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.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.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.2ms) 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.0ms) 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_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.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.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_workflow_states_on_workflow_state' AND type='index' + WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_workflow_states_on_workflow_state' AND type='index' + WHERE name='index_users_on_email' AND type='index'  -  (0.1ms) SELECT sql +  (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_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.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.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.3ms) 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.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 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 @@ -4593,11 +5695,11 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_outcome' AND type='index'  -  (0.1ms) SELECT sql +  (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 @@ -4657,22 +5759,22 @@ 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) -  (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.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.7ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (2.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 @@ -4685,12 +5787,12 @@ 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 +  (31.1ms) 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 @@ -4710,33 +5812,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") +  (24.9ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (32.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) +  (4.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.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") -  (0.1ms) SELECT sql +  (36.5ms) 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)) +  (4.6ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (0.2ms) 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") +  (4.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 @@ -4749,29 +5851,30 @@ 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 +  (3.7ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (29.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)  +  (11.5ms) 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") +  (9.8ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (13.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (4.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 ('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') +  (6.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (6.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (7.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (3.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. 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 @@ -4859,22 +5962,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) +  (32.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.6ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (35.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.7ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome") +  (39.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 @@ -4887,12 +5990,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.1ms) SELECT sql +  (70.6ms) 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 @@ -4912,34 +6015,34 @@ 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") +  (100.9ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (80.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) +  (82.3ms) 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") -  (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") -  (0.1ms) SELECT sql +  (27.0ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (37.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)) +  (29.6ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (0.2ms) 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") -  (0.1ms) SELECT sql +  (65.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master @@ -4951,80 +6054,80 @@ 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") -  (0.1ms)  SELECT sql +  (92.9ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") +  (49.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)  +  (303.0ms) 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.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") -  (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') +  (120.0ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (22.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (94.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.2ms) SELECT version FROM "schema_migrations" +  (50.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (56.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (64.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (25.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (23.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.6ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to AddColumnsToUser (20141107124012) -  (0.1ms) begin transaction + 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_users_on_username' 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_username' AND type='index' + WHERE name='index_events_on_type' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_events_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_events_on_pid' AND type='index'  (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' + 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 FROM sqlite_master - WHERE name='index_users_on_reset_password_token' AND type='index' + WHERE name='index_minted_ids_on_referent' 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_referent' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' 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_email' AND type='index' + 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 @@ -5048,237 +6151,138 @@ FROM sqlite_temp_master 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' + 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 +  (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.2ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (0.2ms)  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' - - SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141107124012"]] -  (21.9ms) 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' - -  (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' - +  (1.1ms) 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' + 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 - 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' - +  (1.2ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")  (0.1ms) SELECT sql FROM sqlite_master - WHERE name='index_users_on_email' AND type='index' + WHERE name='index_events_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_events_on_pid' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master - WHERE name='index_workflow_states_on_workflow_state' AND type='index' + WHERE name='index_events_on_outcome' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master - WHERE name='index_workflow_states_on_workflow_state' AND type='index' + WHERE name='index_events_on_outcome' 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' - -  (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)  -  (0.1ms) select sqlite_version(*) -  (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.8ms) 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 - 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_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' - +  (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.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_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.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.3ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") -  (2.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))  -  (2.0ms) CREATE INDEX "index_users_on_email" ON "users" ("email") -  (0.1ms)  SELECT sql + +  (1.2ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (3.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.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") -  (0.1ms)  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' - -  (2.5ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (2.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) -  (2.6ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") -  (0.2ms) SELECT sql + +  (1.6ms) 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_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.8ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") -  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) -  (2.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (2.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') -  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') -  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') + +  (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.4ms) 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.5ms) 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.4ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (28.6ms) 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 @@ -5364,14 +6368,14 @@ UNION ALL SELECT sql FROM sqlite_temp_master 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) -  (0.0ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") -  (0.1ms)  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.1ms) select sqlite_version(*) +  (1.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 @@ -5384,20 +6388,20 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_outcome' AND type='index'  -  (0.1ms) SELECT sql +  (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.1ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid") -  (0.1ms) SELECT sql +  (1.8ms) 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 @@ -5418,32 +6422,32 @@ 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.2ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (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.4ms) 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.6ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (0.9ms) 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' -  (2.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 @@ -5456,42 +6460,42 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (1.8ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (1.6ms) 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.3ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (1.6ms) 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)  +  (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.5ms) 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.3ms) 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.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" -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (2.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') -  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.2ms) 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.7ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (38.0ms) 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 @@ -5567,23 +6571,23 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_workflow_states_on_pid' AND type='index'  -  (2.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) +  (42.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") -  (0.1ms)  SELECT sql +  (67.4ms) 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 +  (30.9ms) 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 @@ -5595,12 +6599,12 @@ 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 +  (18.8ms) 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 @@ -5620,33 +6624,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 +  (49.0ms) CREATE INDEX "index_events_on_type" ON "events" ("type") +  (25.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) +  (42.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' -  (1.2ms) 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 +  (64.0ms) CREATE INDEX "index_minted_ids_on_referent" ON "minted_ids" ("referent") +  (42.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)) +  (96.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (0.2ms) 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_reset_password_token" ON "users" ("reset_password_token") +  (148.4ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql @@ -5659,42 +6663,42 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (1.7ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (1.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)  -  (2.0ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") -  (0.1ms)  SELECT sql +  (120.7ms) 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)  +  (24.6ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (15.6ms)  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.4ms) 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 ('20141107124012') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') -  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') +  (259.4ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") +  (444.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (107.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.2ms) SELECT version FROM "schema_migrations" +  (132.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (105.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (31.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (6.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (105.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" + 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 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 @@ -5770,22 +6774,22 @@ 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) +  (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.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'  -  (2.3ms) 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 @@ -5798,11 +6802,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") +  (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 @@ -5823,33 +6827,33 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (2.5ms) CREATE INDEX "index_events_on_type" ON "events" ("type") -  (1.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) -  (2.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.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.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.5ms) 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.6ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (0.9ms) 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' -  (3.2ms) 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 @@ -5862,34 +6866,34 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (17.2ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (16.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)  -  (7.7ms) CREATE UNIQUE INDEX "index_workflow_states_on_pid" ON "workflow_states" ("pid") +  (1.1ms) 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.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'  -  (8.8ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") -  (10.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (15.9ms) 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") +  (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" -  (26.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') -  (19.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (13.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -  (2.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') +  (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.2ms) 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.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.4ms)  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 @@ -5973,22 +6977,22 @@ UNION ALL SELECT sql FROM sqlite_temp_master 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) -  (0.0ms) select sqlite_version(*) -  (1.4ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time") +  (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.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'  -  (2.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 @@ -6001,11 +7005,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 @@ -6026,33 +7030,33 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_events_on_event_date_time' AND type='index' -  (2.4ms) 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) -  (2.5ms) CREATE UNIQUE INDEX "index_minted_ids_on_minted_id" ON "minted_ids" ("minted_id") +  (1.8ms) 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")  (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") -  (5.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)) -  (6.7ms) CREATE INDEX "index_users_on_email" ON "users" ("email") +  (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)) +  (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' -  (10.9ms) 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 @@ -6065,25 +7069,25 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index'  -  (4.8ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username") -  (2.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.9ms) 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.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)  +  (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.8ms) CREATE INDEX "index_workflow_states_on_workflow_state" ON "workflow_states" ("workflow_state") -  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  -  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (1.7ms) 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.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') -  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') -  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') -  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') -  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012') +  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156') +  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146') +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')