ddr-models 1.16.2 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ddr/contacts.rb +25 -0
- data/lib/ddr/datastreams/administrative_metadata_datastream.rb +4 -0
- data/lib/ddr/index_fields.rb +2 -0
- data/lib/ddr/models.rb +1 -0
- data/lib/ddr/models/has_admin_metadata.rb +6 -0
- data/lib/ddr/models/indexing.rb +13 -11
- data/lib/ddr/models/solr_document.rb +18 -0
- data/lib/ddr/models/version.rb +1 -1
- data/lib/ddr/vocab.rb +2 -0
- data/lib/ddr/vocab/contact.rb +11 -0
- data/lib/ddr/vocab/display.rb +11 -0
- data/spec/contacts/contacts_spec.rb +26 -0
- data/spec/dummy/log/development.log +1698 -0
- data/spec/dummy/log/test.log +26260 -0
- data/spec/models/has_admin_metadata_spec.rb +20 -1
- data/spec/models/solr_document_spec.rb +39 -1
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0ba99e56128f43536c5f1b98b3e7bc7620da398
|
4
|
+
data.tar.gz: 221c7e01dbee7d3ffdbe8b67781b74b83ca4105f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2656361818de73859059ce6bca64b4de0ec09be4dc4a9a2725aa72e1bf0f88131523be7748f428a55b8c087afd170cd7a8b388229d090fdf06b97a99226f3aaf
|
7
|
+
data.tar.gz: 263f4723b84ae1291f4ce16600102911480fa562040da48fa256e955c3a724cccc986edf4697c89562e72c3a4769eb03aca065fbd9c46497e04738bea92b52fa
|
data/lib/ddr/contacts.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
module Ddr
|
2
|
+
module Contacts
|
3
|
+
extend ActiveSupport::Autoload
|
4
|
+
|
5
|
+
class << self
|
6
|
+
attr_accessor :contacts
|
7
|
+
end
|
8
|
+
|
9
|
+
def self.get(contact_slug)
|
10
|
+
load_contacts unless contacts
|
11
|
+
contacts[contact_slug]
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.load_contacts
|
15
|
+
self.contacts = OpenStruct.new
|
16
|
+
contacts_file = File.join(Rails.root, 'config', 'contacts.yml')
|
17
|
+
YAML.load_file(contacts_file).each do |key, value|
|
18
|
+
contacts[key] = OpenStruct.new(value.merge('slug' => key))
|
19
|
+
end
|
20
|
+
rescue SystemCallError
|
21
|
+
Rails.logger.warn("Unable to load Contacts file: #{contacts_file}")
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
data/lib/ddr/index_fields.rb
CHANGED
@@ -20,6 +20,7 @@ module Ddr
|
|
20
20
|
DEFAULT_LICENSE_DESCRIPTION = solr_name :default_license_description, type: :string
|
21
21
|
DEFAULT_LICENSE_TITLE = solr_name :default_license_title, type: :string
|
22
22
|
DEFAULT_LICENSE_URL = solr_name :default_license_url, type: :string
|
23
|
+
DISPLAY_FORMAT = solr_name :display_format, :stored_sortable
|
23
24
|
EXTRACTED_TEXT = solr_name :extracted_text, :searchable, type: :text
|
24
25
|
FILE_GROUP = solr_name :struct_metadata__file_group, :stored_sortable
|
25
26
|
FILE_USE = solr_name :struct_metadata__file_use, :stored_sortable
|
@@ -52,6 +53,7 @@ module Ddr
|
|
52
53
|
PERMANENT_ID = solr_name :permanent_id, :stored_sortable, type: :string
|
53
54
|
PERMANENT_URL = solr_name :permanent_url, :stored_sortable, type: :string
|
54
55
|
POLICY_ROLE = solr_name :policy_role, :facetable, type: :string
|
56
|
+
RESEARCH_HELP_CONTACT = solr_name :research_help_contact, :stored_sortable
|
55
57
|
RESOURCE_ROLE = solr_name :resource_role, :facetable, type: :string
|
56
58
|
TITLE = solr_name :title, :stored_sortable
|
57
59
|
WORKFLOW_STATE = solr_name :workflow_state, :stored_sortable
|
data/lib/ddr/models.rb
CHANGED
@@ -10,9 +10,11 @@ module Ddr
|
|
10
10
|
control_group: "M"
|
11
11
|
|
12
12
|
has_attributes :admin_set,
|
13
|
+
:display_format,
|
13
14
|
:local_id,
|
14
15
|
:permanent_id,
|
15
16
|
:permanent_url,
|
17
|
+
:research_help_contact,
|
16
18
|
:workflow_state,
|
17
19
|
datastream: "adminMetadata",
|
18
20
|
multiple: false
|
@@ -42,6 +44,10 @@ module Ddr
|
|
42
44
|
permanent_id_manager.assign_later
|
43
45
|
end
|
44
46
|
|
47
|
+
def research_help
|
48
|
+
Ddr::Contacts.get(research_help_contact) if research_help_contact
|
49
|
+
end
|
50
|
+
|
45
51
|
private
|
46
52
|
|
47
53
|
def update_permanent_id_on_destroy
|
data/lib/ddr/models/indexing.rb
CHANGED
@@ -11,17 +11,19 @@ module Ddr
|
|
11
11
|
|
12
12
|
def index_fields
|
13
13
|
fields = {
|
14
|
-
TITLE
|
15
|
-
INTERNAL_URI
|
16
|
-
IDENTIFIER
|
17
|
-
WORKFLOW_STATE
|
18
|
-
LOCAL_ID
|
19
|
-
ADMIN_SET
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
14
|
+
TITLE => title_display,
|
15
|
+
INTERNAL_URI => internal_uri,
|
16
|
+
IDENTIFIER => identifier_sort,
|
17
|
+
WORKFLOW_STATE => workflow_state,
|
18
|
+
LOCAL_ID => local_id,
|
19
|
+
ADMIN_SET => admin_set,
|
20
|
+
DISPLAY_FORMAT => display_format,
|
21
|
+
PERMANENT_ID => permanent_id,
|
22
|
+
PERMANENT_URL => permanent_url,
|
23
|
+
CREATOR_FACET => creator,
|
24
|
+
DATE_FACET => date,
|
25
|
+
DATE_SORT => date_sort,
|
26
|
+
RESEARCH_HELP_CONTACT => research_help_contact
|
25
27
|
}
|
26
28
|
if respond_to? :fixity_checks
|
27
29
|
last_fixity_check = fixity_checks.last
|
@@ -213,6 +213,15 @@ module Ddr
|
|
213
213
|
get("access_role_ssi")
|
214
214
|
end
|
215
215
|
|
216
|
+
def display_format
|
217
|
+
get(Ddr::IndexFields::DISPLAY_FORMAT)
|
218
|
+
end
|
219
|
+
|
220
|
+
def research_help
|
221
|
+
research_help_contact = self[Ddr::IndexFields::RESEARCH_HELP_CONTACT] || inherited_research_help_contact
|
222
|
+
Ddr::Contacts.get(research_help_contact) if research_help_contact
|
223
|
+
end
|
224
|
+
|
216
225
|
private
|
217
226
|
|
218
227
|
def targets_query
|
@@ -239,6 +248,15 @@ module Ddr
|
|
239
248
|
ActiveFedora::Base.pid_from_uri(get(field)) rescue nil
|
240
249
|
end
|
241
250
|
|
251
|
+
def inherited_research_help_contact
|
252
|
+
if admin_policy_pid
|
253
|
+
query = ActiveFedora::SolrService.construct_query_for_pids([admin_policy_pid])
|
254
|
+
results = ActiveFedora::SolrService.query(query)
|
255
|
+
doc = results.map { |result| ::SolrDocument.new(result) }.first
|
256
|
+
doc[Ddr::IndexFields::RESEARCH_HELP_CONTACT].first
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
242
260
|
end
|
243
261
|
end
|
244
262
|
end
|
data/lib/ddr/models/version.rb
CHANGED
data/lib/ddr/vocab.rb
CHANGED
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module Ddr
|
4
|
+
RSpec.describe Contacts, contacts: true do
|
5
|
+
|
6
|
+
before do
|
7
|
+
allow(YAML).to receive(:load_file) { { 'a' => { 'name' => 'Contact A', 'short_name' => 'A' },
|
8
|
+
'b' => { 'name' => 'Contact B', 'short_name' => 'B' } } }
|
9
|
+
Contacts.load_contacts
|
10
|
+
end
|
11
|
+
|
12
|
+
describe "load_contacts" do
|
13
|
+
it "should load the contacts" do
|
14
|
+
expect(Contacts.contacts.to_h).to_not be_empty
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
describe "get" do
|
19
|
+
it "should return the appropriate contact" do
|
20
|
+
expect(Contacts.get('a').name).to eq('Contact A')
|
21
|
+
expect(Contacts.get('b').name).to eq('Contact B')
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -37354,3 +37354,1701 @@ Using the default predicate_mappings.yml that comes with active-fedora. If you
|
|
37354
37354
|
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
37355
37355
|
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
37356
37356
|
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150130134416')[0m
|
37357
|
+
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.
|
37358
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
37359
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
37360
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37361
|
+
FROM sqlite_master
|
37362
|
+
WHERE name='index_events_on_type' AND type='index'
|
37363
|
+
UNION ALL
|
37364
|
+
SELECT sql
|
37365
|
+
FROM sqlite_temp_master
|
37366
|
+
WHERE name='index_events_on_type' AND type='index'
|
37367
|
+
[0m
|
37368
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37369
|
+
FROM sqlite_master
|
37370
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37371
|
+
UNION ALL
|
37372
|
+
SELECT sql
|
37373
|
+
FROM sqlite_temp_master
|
37374
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37375
|
+
|
37376
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37377
|
+
FROM sqlite_master
|
37378
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37379
|
+
UNION ALL
|
37380
|
+
SELECT sql
|
37381
|
+
FROM sqlite_temp_master
|
37382
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37383
|
+
[0m
|
37384
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37385
|
+
FROM sqlite_master
|
37386
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37387
|
+
UNION ALL
|
37388
|
+
SELECT sql
|
37389
|
+
FROM sqlite_temp_master
|
37390
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37391
|
+
|
37392
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37393
|
+
FROM sqlite_master
|
37394
|
+
WHERE name='index_users_on_username' AND type='index'
|
37395
|
+
UNION ALL
|
37396
|
+
SELECT sql
|
37397
|
+
FROM sqlite_temp_master
|
37398
|
+
WHERE name='index_users_on_username' AND type='index'
|
37399
|
+
[0m
|
37400
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37401
|
+
FROM sqlite_master
|
37402
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37403
|
+
UNION ALL
|
37404
|
+
SELECT sql
|
37405
|
+
FROM sqlite_temp_master
|
37406
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37407
|
+
|
37408
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37409
|
+
FROM sqlite_master
|
37410
|
+
WHERE name='index_users_on_email' AND type='index'
|
37411
|
+
UNION ALL
|
37412
|
+
SELECT sql
|
37413
|
+
FROM sqlite_temp_master
|
37414
|
+
WHERE name='index_users_on_email' AND type='index'
|
37415
|
+
[0m
|
37416
|
+
[1m[35m (1.2ms)[0m 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, "exception" text(65535), "user_key" varchar(255))
|
37417
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
37418
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
|
37419
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37420
|
+
FROM sqlite_master
|
37421
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37422
|
+
UNION ALL
|
37423
|
+
SELECT sql
|
37424
|
+
FROM sqlite_temp_master
|
37425
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37426
|
+
[0m
|
37427
|
+
[1m[35m (6.5ms)[0m CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
|
37428
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37429
|
+
FROM sqlite_master
|
37430
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37431
|
+
UNION ALL
|
37432
|
+
SELECT sql
|
37433
|
+
FROM sqlite_temp_master
|
37434
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37435
|
+
[0m
|
37436
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37437
|
+
FROM sqlite_master
|
37438
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37439
|
+
UNION ALL
|
37440
|
+
SELECT sql
|
37441
|
+
FROM sqlite_temp_master
|
37442
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37443
|
+
|
37444
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_events_on_pid" ON "events" ("pid")[0m
|
37445
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37446
|
+
FROM sqlite_master
|
37447
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37448
|
+
UNION ALL
|
37449
|
+
SELECT sql
|
37450
|
+
FROM sqlite_temp_master
|
37451
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37452
|
+
|
37453
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37454
|
+
FROM sqlite_master
|
37455
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37456
|
+
UNION ALL
|
37457
|
+
SELECT sql
|
37458
|
+
FROM sqlite_temp_master
|
37459
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37460
|
+
[0m
|
37461
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37462
|
+
FROM sqlite_master
|
37463
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37464
|
+
UNION ALL
|
37465
|
+
SELECT sql
|
37466
|
+
FROM sqlite_temp_master
|
37467
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37468
|
+
|
37469
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_events_on_type" ON "events" ("type")[0m
|
37470
|
+
[1m[35m (20.0ms)[0m 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))
|
37471
|
+
[1m[36m (1.4ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
37472
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37473
|
+
FROM sqlite_master
|
37474
|
+
WHERE name='index_users_on_email' AND type='index'
|
37475
|
+
UNION ALL
|
37476
|
+
SELECT sql
|
37477
|
+
FROM sqlite_temp_master
|
37478
|
+
WHERE name='index_users_on_email' AND type='index'
|
37479
|
+
|
37480
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
37481
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37482
|
+
FROM sqlite_master
|
37483
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37484
|
+
UNION ALL
|
37485
|
+
SELECT sql
|
37486
|
+
FROM sqlite_temp_master
|
37487
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37488
|
+
|
37489
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37490
|
+
FROM sqlite_master
|
37491
|
+
WHERE name='index_users_on_email' AND type='index'
|
37492
|
+
UNION ALL
|
37493
|
+
SELECT sql
|
37494
|
+
FROM sqlite_temp_master
|
37495
|
+
WHERE name='index_users_on_email' AND type='index'
|
37496
|
+
[0m
|
37497
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
37498
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
37499
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
37500
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
37501
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150713171838')
|
37502
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141021233359')[0m
|
37503
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
|
37504
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141103192146')[0m
|
37505
|
+
[1m[35m (1.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
|
37506
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141107124012')[0m
|
37507
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
37508
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
37509
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
37510
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150130134416')[0m
|
37511
|
+
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.
|
37512
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
37513
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
37514
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37515
|
+
FROM sqlite_master
|
37516
|
+
WHERE name='index_events_on_type' AND type='index'
|
37517
|
+
UNION ALL
|
37518
|
+
SELECT sql
|
37519
|
+
FROM sqlite_temp_master
|
37520
|
+
WHERE name='index_events_on_type' AND type='index'
|
37521
|
+
[0m
|
37522
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37523
|
+
FROM sqlite_master
|
37524
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37525
|
+
UNION ALL
|
37526
|
+
SELECT sql
|
37527
|
+
FROM sqlite_temp_master
|
37528
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37529
|
+
|
37530
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37531
|
+
FROM sqlite_master
|
37532
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37533
|
+
UNION ALL
|
37534
|
+
SELECT sql
|
37535
|
+
FROM sqlite_temp_master
|
37536
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37537
|
+
[0m
|
37538
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37539
|
+
FROM sqlite_master
|
37540
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37541
|
+
UNION ALL
|
37542
|
+
SELECT sql
|
37543
|
+
FROM sqlite_temp_master
|
37544
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37545
|
+
|
37546
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37547
|
+
FROM sqlite_master
|
37548
|
+
WHERE name='index_users_on_username' AND type='index'
|
37549
|
+
UNION ALL
|
37550
|
+
SELECT sql
|
37551
|
+
FROM sqlite_temp_master
|
37552
|
+
WHERE name='index_users_on_username' AND type='index'
|
37553
|
+
[0m
|
37554
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37555
|
+
FROM sqlite_master
|
37556
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37557
|
+
UNION ALL
|
37558
|
+
SELECT sql
|
37559
|
+
FROM sqlite_temp_master
|
37560
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37561
|
+
|
37562
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37563
|
+
FROM sqlite_master
|
37564
|
+
WHERE name='index_users_on_email' AND type='index'
|
37565
|
+
UNION ALL
|
37566
|
+
SELECT sql
|
37567
|
+
FROM sqlite_temp_master
|
37568
|
+
WHERE name='index_users_on_email' AND type='index'
|
37569
|
+
[0m
|
37570
|
+
[1m[35m (1.3ms)[0m 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, "exception" text(65535), "user_key" varchar(255))
|
37571
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
37572
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
|
37573
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
37574
|
+
FROM sqlite_master
|
37575
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37576
|
+
UNION ALL
|
37577
|
+
SELECT sql
|
37578
|
+
FROM sqlite_temp_master
|
37579
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37580
|
+
[0m
|
37581
|
+
[1m[35m (1.6ms)[0m CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
|
37582
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37583
|
+
FROM sqlite_master
|
37584
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37585
|
+
UNION ALL
|
37586
|
+
SELECT sql
|
37587
|
+
FROM sqlite_temp_master
|
37588
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37589
|
+
[0m
|
37590
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37591
|
+
FROM sqlite_master
|
37592
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37593
|
+
UNION ALL
|
37594
|
+
SELECT sql
|
37595
|
+
FROM sqlite_temp_master
|
37596
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37597
|
+
|
37598
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_events_on_pid" ON "events" ("pid")[0m
|
37599
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37600
|
+
FROM sqlite_master
|
37601
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37602
|
+
UNION ALL
|
37603
|
+
SELECT sql
|
37604
|
+
FROM sqlite_temp_master
|
37605
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37606
|
+
|
37607
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37608
|
+
FROM sqlite_master
|
37609
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37610
|
+
UNION ALL
|
37611
|
+
SELECT sql
|
37612
|
+
FROM sqlite_temp_master
|
37613
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37614
|
+
[0m
|
37615
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37616
|
+
FROM sqlite_master
|
37617
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37618
|
+
UNION ALL
|
37619
|
+
SELECT sql
|
37620
|
+
FROM sqlite_temp_master
|
37621
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37622
|
+
|
37623
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_events_on_type" ON "events" ("type")[0m
|
37624
|
+
[1m[35m (351.9ms)[0m 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))
|
37625
|
+
[1m[36m (143.5ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
37626
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37627
|
+
FROM sqlite_master
|
37628
|
+
WHERE name='index_users_on_email' AND type='index'
|
37629
|
+
UNION ALL
|
37630
|
+
SELECT sql
|
37631
|
+
FROM sqlite_temp_master
|
37632
|
+
WHERE name='index_users_on_email' AND type='index'
|
37633
|
+
|
37634
|
+
[1m[36m (34.0ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
37635
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37636
|
+
FROM sqlite_master
|
37637
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37638
|
+
UNION ALL
|
37639
|
+
SELECT sql
|
37640
|
+
FROM sqlite_temp_master
|
37641
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37642
|
+
|
37643
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37644
|
+
FROM sqlite_master
|
37645
|
+
WHERE name='index_users_on_email' AND type='index'
|
37646
|
+
UNION ALL
|
37647
|
+
SELECT sql
|
37648
|
+
FROM sqlite_temp_master
|
37649
|
+
WHERE name='index_users_on_email' AND type='index'
|
37650
|
+
[0m
|
37651
|
+
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
37652
|
+
[1m[36m (5.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
37653
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
37654
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
37655
|
+
[1m[35m (3.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150713171838')
|
37656
|
+
[1m[36m (8.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141021233359')[0m
|
37657
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
|
37658
|
+
[1m[36m (8.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141103192146')[0m
|
37659
|
+
[1m[35m (7.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
|
37660
|
+
[1m[36m (13.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141107124012')[0m
|
37661
|
+
[1m[35m (28.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
37662
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
37663
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
37664
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150130134416')[0m
|
37665
|
+
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.
|
37666
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
37667
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
37668
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37669
|
+
FROM sqlite_master
|
37670
|
+
WHERE name='index_events_on_type' AND type='index'
|
37671
|
+
UNION ALL
|
37672
|
+
SELECT sql
|
37673
|
+
FROM sqlite_temp_master
|
37674
|
+
WHERE name='index_events_on_type' AND type='index'
|
37675
|
+
[0m
|
37676
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
37677
|
+
FROM sqlite_master
|
37678
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37679
|
+
UNION ALL
|
37680
|
+
SELECT sql
|
37681
|
+
FROM sqlite_temp_master
|
37682
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37683
|
+
|
37684
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37685
|
+
FROM sqlite_master
|
37686
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37687
|
+
UNION ALL
|
37688
|
+
SELECT sql
|
37689
|
+
FROM sqlite_temp_master
|
37690
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37691
|
+
[0m
|
37692
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37693
|
+
FROM sqlite_master
|
37694
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37695
|
+
UNION ALL
|
37696
|
+
SELECT sql
|
37697
|
+
FROM sqlite_temp_master
|
37698
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37699
|
+
|
37700
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37701
|
+
FROM sqlite_master
|
37702
|
+
WHERE name='index_users_on_username' AND type='index'
|
37703
|
+
UNION ALL
|
37704
|
+
SELECT sql
|
37705
|
+
FROM sqlite_temp_master
|
37706
|
+
WHERE name='index_users_on_username' AND type='index'
|
37707
|
+
[0m
|
37708
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37709
|
+
FROM sqlite_master
|
37710
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37711
|
+
UNION ALL
|
37712
|
+
SELECT sql
|
37713
|
+
FROM sqlite_temp_master
|
37714
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37715
|
+
|
37716
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37717
|
+
FROM sqlite_master
|
37718
|
+
WHERE name='index_users_on_email' AND type='index'
|
37719
|
+
UNION ALL
|
37720
|
+
SELECT sql
|
37721
|
+
FROM sqlite_temp_master
|
37722
|
+
WHERE name='index_users_on_email' AND type='index'
|
37723
|
+
[0m
|
37724
|
+
[1m[35m (1.5ms)[0m 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, "exception" text(65535), "user_key" varchar(255))
|
37725
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
37726
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
|
37727
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37728
|
+
FROM sqlite_master
|
37729
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37730
|
+
UNION ALL
|
37731
|
+
SELECT sql
|
37732
|
+
FROM sqlite_temp_master
|
37733
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37734
|
+
[0m
|
37735
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
|
37736
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37737
|
+
FROM sqlite_master
|
37738
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37739
|
+
UNION ALL
|
37740
|
+
SELECT sql
|
37741
|
+
FROM sqlite_temp_master
|
37742
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37743
|
+
[0m
|
37744
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37745
|
+
FROM sqlite_master
|
37746
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37747
|
+
UNION ALL
|
37748
|
+
SELECT sql
|
37749
|
+
FROM sqlite_temp_master
|
37750
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37751
|
+
|
37752
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_events_on_pid" ON "events" ("pid")[0m
|
37753
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37754
|
+
FROM sqlite_master
|
37755
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37756
|
+
UNION ALL
|
37757
|
+
SELECT sql
|
37758
|
+
FROM sqlite_temp_master
|
37759
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37760
|
+
|
37761
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37762
|
+
FROM sqlite_master
|
37763
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37764
|
+
UNION ALL
|
37765
|
+
SELECT sql
|
37766
|
+
FROM sqlite_temp_master
|
37767
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37768
|
+
[0m
|
37769
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37770
|
+
FROM sqlite_master
|
37771
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37772
|
+
UNION ALL
|
37773
|
+
SELECT sql
|
37774
|
+
FROM sqlite_temp_master
|
37775
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37776
|
+
|
37777
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_events_on_type" ON "events" ("type")[0m
|
37778
|
+
[1m[35m (1.2ms)[0m 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))
|
37779
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
37780
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37781
|
+
FROM sqlite_master
|
37782
|
+
WHERE name='index_users_on_email' AND type='index'
|
37783
|
+
UNION ALL
|
37784
|
+
SELECT sql
|
37785
|
+
FROM sqlite_temp_master
|
37786
|
+
WHERE name='index_users_on_email' AND type='index'
|
37787
|
+
|
37788
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
37789
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37790
|
+
FROM sqlite_master
|
37791
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37792
|
+
UNION ALL
|
37793
|
+
SELECT sql
|
37794
|
+
FROM sqlite_temp_master
|
37795
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37796
|
+
|
37797
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37798
|
+
FROM sqlite_master
|
37799
|
+
WHERE name='index_users_on_email' AND type='index'
|
37800
|
+
UNION ALL
|
37801
|
+
SELECT sql
|
37802
|
+
FROM sqlite_temp_master
|
37803
|
+
WHERE name='index_users_on_email' AND type='index'
|
37804
|
+
[0m
|
37805
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
37806
|
+
[1m[36m (17.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
37807
|
+
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
37808
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
37809
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150713171838')
|
37810
|
+
[1m[36m (14.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141021233359')[0m
|
37811
|
+
[1m[35m (11.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
|
37812
|
+
[1m[36m (6.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141103192146')[0m
|
37813
|
+
[1m[35m (10.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
|
37814
|
+
[1m[36m (3.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141107124012')[0m
|
37815
|
+
[1m[35m (7.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
37816
|
+
[1m[36m (7.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
37817
|
+
[1m[35m (4.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
37818
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150130134416')[0m
|
37819
|
+
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.
|
37820
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
37821
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
37822
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
37823
|
+
FROM sqlite_master
|
37824
|
+
WHERE name='index_events_on_type' AND type='index'
|
37825
|
+
UNION ALL
|
37826
|
+
SELECT sql
|
37827
|
+
FROM sqlite_temp_master
|
37828
|
+
WHERE name='index_events_on_type' AND type='index'
|
37829
|
+
[0m
|
37830
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
37831
|
+
FROM sqlite_master
|
37832
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37833
|
+
UNION ALL
|
37834
|
+
SELECT sql
|
37835
|
+
FROM sqlite_temp_master
|
37836
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37837
|
+
|
37838
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37839
|
+
FROM sqlite_master
|
37840
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37841
|
+
UNION ALL
|
37842
|
+
SELECT sql
|
37843
|
+
FROM sqlite_temp_master
|
37844
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37845
|
+
[0m
|
37846
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37847
|
+
FROM sqlite_master
|
37848
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37849
|
+
UNION ALL
|
37850
|
+
SELECT sql
|
37851
|
+
FROM sqlite_temp_master
|
37852
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37853
|
+
|
37854
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37855
|
+
FROM sqlite_master
|
37856
|
+
WHERE name='index_users_on_username' AND type='index'
|
37857
|
+
UNION ALL
|
37858
|
+
SELECT sql
|
37859
|
+
FROM sqlite_temp_master
|
37860
|
+
WHERE name='index_users_on_username' AND type='index'
|
37861
|
+
[0m
|
37862
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37863
|
+
FROM sqlite_master
|
37864
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37865
|
+
UNION ALL
|
37866
|
+
SELECT sql
|
37867
|
+
FROM sqlite_temp_master
|
37868
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37869
|
+
|
37870
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37871
|
+
FROM sqlite_master
|
37872
|
+
WHERE name='index_users_on_email' AND type='index'
|
37873
|
+
UNION ALL
|
37874
|
+
SELECT sql
|
37875
|
+
FROM sqlite_temp_master
|
37876
|
+
WHERE name='index_users_on_email' AND type='index'
|
37877
|
+
[0m
|
37878
|
+
[1m[35m (1.1ms)[0m 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, "exception" text(65535), "user_key" varchar(255))
|
37879
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
37880
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
|
37881
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37882
|
+
FROM sqlite_master
|
37883
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37884
|
+
UNION ALL
|
37885
|
+
SELECT sql
|
37886
|
+
FROM sqlite_temp_master
|
37887
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37888
|
+
[0m
|
37889
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
|
37890
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37891
|
+
FROM sqlite_master
|
37892
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37893
|
+
UNION ALL
|
37894
|
+
SELECT sql
|
37895
|
+
FROM sqlite_temp_master
|
37896
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37897
|
+
[0m
|
37898
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37899
|
+
FROM sqlite_master
|
37900
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37901
|
+
UNION ALL
|
37902
|
+
SELECT sql
|
37903
|
+
FROM sqlite_temp_master
|
37904
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37905
|
+
|
37906
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_events_on_pid" ON "events" ("pid")[0m
|
37907
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37908
|
+
FROM sqlite_master
|
37909
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37910
|
+
UNION ALL
|
37911
|
+
SELECT sql
|
37912
|
+
FROM sqlite_temp_master
|
37913
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37914
|
+
|
37915
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37916
|
+
FROM sqlite_master
|
37917
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37918
|
+
UNION ALL
|
37919
|
+
SELECT sql
|
37920
|
+
FROM sqlite_temp_master
|
37921
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37922
|
+
[0m
|
37923
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37924
|
+
FROM sqlite_master
|
37925
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37926
|
+
UNION ALL
|
37927
|
+
SELECT sql
|
37928
|
+
FROM sqlite_temp_master
|
37929
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
37930
|
+
|
37931
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_events_on_type" ON "events" ("type")[0m
|
37932
|
+
[1m[35m (1.2ms)[0m 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))
|
37933
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
37934
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37935
|
+
FROM sqlite_master
|
37936
|
+
WHERE name='index_users_on_email' AND type='index'
|
37937
|
+
UNION ALL
|
37938
|
+
SELECT sql
|
37939
|
+
FROM sqlite_temp_master
|
37940
|
+
WHERE name='index_users_on_email' AND type='index'
|
37941
|
+
|
37942
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
37943
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37944
|
+
FROM sqlite_master
|
37945
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37946
|
+
UNION ALL
|
37947
|
+
SELECT sql
|
37948
|
+
FROM sqlite_temp_master
|
37949
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
37950
|
+
|
37951
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37952
|
+
FROM sqlite_master
|
37953
|
+
WHERE name='index_users_on_email' AND type='index'
|
37954
|
+
UNION ALL
|
37955
|
+
SELECT sql
|
37956
|
+
FROM sqlite_temp_master
|
37957
|
+
WHERE name='index_users_on_email' AND type='index'
|
37958
|
+
[0m
|
37959
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
37960
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
37961
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
37962
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
37963
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150713171838')
|
37964
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141021233359')[0m
|
37965
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
|
37966
|
+
[1m[36m (2.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141103192146')[0m
|
37967
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
|
37968
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141107124012')[0m
|
37969
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
37970
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
37971
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
37972
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150130134416')[0m
|
37973
|
+
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.
|
37974
|
+
[1m[36mActiveRecord::SchemaMigration Load (16.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
37975
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
37976
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37977
|
+
FROM sqlite_master
|
37978
|
+
WHERE name='index_events_on_type' AND type='index'
|
37979
|
+
UNION ALL
|
37980
|
+
SELECT sql
|
37981
|
+
FROM sqlite_temp_master
|
37982
|
+
WHERE name='index_events_on_type' AND type='index'
|
37983
|
+
[0m
|
37984
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37985
|
+
FROM sqlite_master
|
37986
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37987
|
+
UNION ALL
|
37988
|
+
SELECT sql
|
37989
|
+
FROM sqlite_temp_master
|
37990
|
+
WHERE name='index_events_on_pid' AND type='index'
|
37991
|
+
|
37992
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37993
|
+
FROM sqlite_master
|
37994
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37995
|
+
UNION ALL
|
37996
|
+
SELECT sql
|
37997
|
+
FROM sqlite_temp_master
|
37998
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
37999
|
+
[0m
|
38000
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38001
|
+
FROM sqlite_master
|
38002
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38003
|
+
UNION ALL
|
38004
|
+
SELECT sql
|
38005
|
+
FROM sqlite_temp_master
|
38006
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38007
|
+
|
38008
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38009
|
+
FROM sqlite_master
|
38010
|
+
WHERE name='index_users_on_username' AND type='index'
|
38011
|
+
UNION ALL
|
38012
|
+
SELECT sql
|
38013
|
+
FROM sqlite_temp_master
|
38014
|
+
WHERE name='index_users_on_username' AND type='index'
|
38015
|
+
[0m
|
38016
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38017
|
+
FROM sqlite_master
|
38018
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38019
|
+
UNION ALL
|
38020
|
+
SELECT sql
|
38021
|
+
FROM sqlite_temp_master
|
38022
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38023
|
+
|
38024
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38025
|
+
FROM sqlite_master
|
38026
|
+
WHERE name='index_users_on_email' AND type='index'
|
38027
|
+
UNION ALL
|
38028
|
+
SELECT sql
|
38029
|
+
FROM sqlite_temp_master
|
38030
|
+
WHERE name='index_users_on_email' AND type='index'
|
38031
|
+
[0m
|
38032
|
+
[1m[35m (1.3ms)[0m 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, "exception" text(65535), "user_key" varchar(255))
|
38033
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
38034
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
|
38035
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38036
|
+
FROM sqlite_master
|
38037
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38038
|
+
UNION ALL
|
38039
|
+
SELECT sql
|
38040
|
+
FROM sqlite_temp_master
|
38041
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38042
|
+
[0m
|
38043
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
|
38044
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38045
|
+
FROM sqlite_master
|
38046
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38047
|
+
UNION ALL
|
38048
|
+
SELECT sql
|
38049
|
+
FROM sqlite_temp_master
|
38050
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38051
|
+
[0m
|
38052
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38053
|
+
FROM sqlite_master
|
38054
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38055
|
+
UNION ALL
|
38056
|
+
SELECT sql
|
38057
|
+
FROM sqlite_temp_master
|
38058
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38059
|
+
|
38060
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_events_on_pid" ON "events" ("pid")[0m
|
38061
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38062
|
+
FROM sqlite_master
|
38063
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38064
|
+
UNION ALL
|
38065
|
+
SELECT sql
|
38066
|
+
FROM sqlite_temp_master
|
38067
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38068
|
+
|
38069
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38070
|
+
FROM sqlite_master
|
38071
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38072
|
+
UNION ALL
|
38073
|
+
SELECT sql
|
38074
|
+
FROM sqlite_temp_master
|
38075
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38076
|
+
[0m
|
38077
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38078
|
+
FROM sqlite_master
|
38079
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38080
|
+
UNION ALL
|
38081
|
+
SELECT sql
|
38082
|
+
FROM sqlite_temp_master
|
38083
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38084
|
+
|
38085
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_events_on_type" ON "events" ("type")[0m
|
38086
|
+
[1m[35m (1.6ms)[0m 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))
|
38087
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
38088
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38089
|
+
FROM sqlite_master
|
38090
|
+
WHERE name='index_users_on_email' AND type='index'
|
38091
|
+
UNION ALL
|
38092
|
+
SELECT sql
|
38093
|
+
FROM sqlite_temp_master
|
38094
|
+
WHERE name='index_users_on_email' AND type='index'
|
38095
|
+
|
38096
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
38097
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38098
|
+
FROM sqlite_master
|
38099
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38100
|
+
UNION ALL
|
38101
|
+
SELECT sql
|
38102
|
+
FROM sqlite_temp_master
|
38103
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38104
|
+
|
38105
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38106
|
+
FROM sqlite_master
|
38107
|
+
WHERE name='index_users_on_email' AND type='index'
|
38108
|
+
UNION ALL
|
38109
|
+
SELECT sql
|
38110
|
+
FROM sqlite_temp_master
|
38111
|
+
WHERE name='index_users_on_email' AND type='index'
|
38112
|
+
[0m
|
38113
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
38114
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
38115
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
38116
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
38117
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150713171838')
|
38118
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141021233359')[0m
|
38119
|
+
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
|
38120
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141103192146')[0m
|
38121
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
|
38122
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141107124012')[0m
|
38123
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
38124
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
38125
|
+
[1m[35m (1.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
38126
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150130134416')[0m
|
38127
|
+
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.
|
38128
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
38129
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
38130
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
38131
|
+
FROM sqlite_master
|
38132
|
+
WHERE name='index_events_on_type' AND type='index'
|
38133
|
+
UNION ALL
|
38134
|
+
SELECT sql
|
38135
|
+
FROM sqlite_temp_master
|
38136
|
+
WHERE name='index_events_on_type' AND type='index'
|
38137
|
+
[0m
|
38138
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38139
|
+
FROM sqlite_master
|
38140
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38141
|
+
UNION ALL
|
38142
|
+
SELECT sql
|
38143
|
+
FROM sqlite_temp_master
|
38144
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38145
|
+
|
38146
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38147
|
+
FROM sqlite_master
|
38148
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38149
|
+
UNION ALL
|
38150
|
+
SELECT sql
|
38151
|
+
FROM sqlite_temp_master
|
38152
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38153
|
+
[0m
|
38154
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38155
|
+
FROM sqlite_master
|
38156
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38157
|
+
UNION ALL
|
38158
|
+
SELECT sql
|
38159
|
+
FROM sqlite_temp_master
|
38160
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38161
|
+
|
38162
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38163
|
+
FROM sqlite_master
|
38164
|
+
WHERE name='index_users_on_username' AND type='index'
|
38165
|
+
UNION ALL
|
38166
|
+
SELECT sql
|
38167
|
+
FROM sqlite_temp_master
|
38168
|
+
WHERE name='index_users_on_username' AND type='index'
|
38169
|
+
[0m
|
38170
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38171
|
+
FROM sqlite_master
|
38172
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38173
|
+
UNION ALL
|
38174
|
+
SELECT sql
|
38175
|
+
FROM sqlite_temp_master
|
38176
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38177
|
+
|
38178
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38179
|
+
FROM sqlite_master
|
38180
|
+
WHERE name='index_users_on_email' AND type='index'
|
38181
|
+
UNION ALL
|
38182
|
+
SELECT sql
|
38183
|
+
FROM sqlite_temp_master
|
38184
|
+
WHERE name='index_users_on_email' AND type='index'
|
38185
|
+
[0m
|
38186
|
+
[1m[35m (178.6ms)[0m 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, "exception" text(65535), "user_key" varchar(255))
|
38187
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
38188
|
+
[1m[35m (25.1ms)[0m CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
|
38189
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
38190
|
+
FROM sqlite_master
|
38191
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38192
|
+
UNION ALL
|
38193
|
+
SELECT sql
|
38194
|
+
FROM sqlite_temp_master
|
38195
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38196
|
+
[0m
|
38197
|
+
[1m[35m (34.0ms)[0m CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
|
38198
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38199
|
+
FROM sqlite_master
|
38200
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38201
|
+
UNION ALL
|
38202
|
+
SELECT sql
|
38203
|
+
FROM sqlite_temp_master
|
38204
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38205
|
+
[0m
|
38206
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38207
|
+
FROM sqlite_master
|
38208
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38209
|
+
UNION ALL
|
38210
|
+
SELECT sql
|
38211
|
+
FROM sqlite_temp_master
|
38212
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38213
|
+
|
38214
|
+
[1m[36m (50.0ms)[0m [1mCREATE INDEX "index_events_on_pid" ON "events" ("pid")[0m
|
38215
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
38216
|
+
FROM sqlite_master
|
38217
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38218
|
+
UNION ALL
|
38219
|
+
SELECT sql
|
38220
|
+
FROM sqlite_temp_master
|
38221
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38222
|
+
|
38223
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38224
|
+
FROM sqlite_master
|
38225
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38226
|
+
UNION ALL
|
38227
|
+
SELECT sql
|
38228
|
+
FROM sqlite_temp_master
|
38229
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38230
|
+
[0m
|
38231
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38232
|
+
FROM sqlite_master
|
38233
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38234
|
+
UNION ALL
|
38235
|
+
SELECT sql
|
38236
|
+
FROM sqlite_temp_master
|
38237
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38238
|
+
|
38239
|
+
[1m[36m (23.6ms)[0m [1mCREATE INDEX "index_events_on_type" ON "events" ("type")[0m
|
38240
|
+
[1m[35m (1.7ms)[0m 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))
|
38241
|
+
[1m[36m (15.9ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
38242
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
38243
|
+
FROM sqlite_master
|
38244
|
+
WHERE name='index_users_on_email' AND type='index'
|
38245
|
+
UNION ALL
|
38246
|
+
SELECT sql
|
38247
|
+
FROM sqlite_temp_master
|
38248
|
+
WHERE name='index_users_on_email' AND type='index'
|
38249
|
+
|
38250
|
+
[1m[36m (476.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
38251
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
38252
|
+
FROM sqlite_master
|
38253
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38254
|
+
UNION ALL
|
38255
|
+
SELECT sql
|
38256
|
+
FROM sqlite_temp_master
|
38257
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38258
|
+
|
38259
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38260
|
+
FROM sqlite_master
|
38261
|
+
WHERE name='index_users_on_email' AND type='index'
|
38262
|
+
UNION ALL
|
38263
|
+
SELECT sql
|
38264
|
+
FROM sqlite_temp_master
|
38265
|
+
WHERE name='index_users_on_email' AND type='index'
|
38266
|
+
[0m
|
38267
|
+
[1m[35m (123.4ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
38268
|
+
[1m[36m (244.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
38269
|
+
[1m[35m (151.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
38270
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
38271
|
+
[1m[35m (104.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150713171838')
|
38272
|
+
[1m[36m (432.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141021233359')[0m
|
38273
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
|
38274
|
+
[1m[36m (2.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141103192146')[0m
|
38275
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
|
38276
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141107124012')[0m
|
38277
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
38278
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
38279
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
38280
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150130134416')[0m
|
38281
|
+
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.
|
38282
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
38283
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
38284
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38285
|
+
FROM sqlite_master
|
38286
|
+
WHERE name='index_events_on_type' AND type='index'
|
38287
|
+
UNION ALL
|
38288
|
+
SELECT sql
|
38289
|
+
FROM sqlite_temp_master
|
38290
|
+
WHERE name='index_events_on_type' AND type='index'
|
38291
|
+
[0m
|
38292
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
38293
|
+
FROM sqlite_master
|
38294
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38295
|
+
UNION ALL
|
38296
|
+
SELECT sql
|
38297
|
+
FROM sqlite_temp_master
|
38298
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38299
|
+
|
38300
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38301
|
+
FROM sqlite_master
|
38302
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38303
|
+
UNION ALL
|
38304
|
+
SELECT sql
|
38305
|
+
FROM sqlite_temp_master
|
38306
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38307
|
+
[0m
|
38308
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38309
|
+
FROM sqlite_master
|
38310
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38311
|
+
UNION ALL
|
38312
|
+
SELECT sql
|
38313
|
+
FROM sqlite_temp_master
|
38314
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38315
|
+
|
38316
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38317
|
+
FROM sqlite_master
|
38318
|
+
WHERE name='index_users_on_username' AND type='index'
|
38319
|
+
UNION ALL
|
38320
|
+
SELECT sql
|
38321
|
+
FROM sqlite_temp_master
|
38322
|
+
WHERE name='index_users_on_username' AND type='index'
|
38323
|
+
[0m
|
38324
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38325
|
+
FROM sqlite_master
|
38326
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38327
|
+
UNION ALL
|
38328
|
+
SELECT sql
|
38329
|
+
FROM sqlite_temp_master
|
38330
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38331
|
+
|
38332
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38333
|
+
FROM sqlite_master
|
38334
|
+
WHERE name='index_users_on_email' AND type='index'
|
38335
|
+
UNION ALL
|
38336
|
+
SELECT sql
|
38337
|
+
FROM sqlite_temp_master
|
38338
|
+
WHERE name='index_users_on_email' AND type='index'
|
38339
|
+
[0m
|
38340
|
+
[1m[35m (1.0ms)[0m 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, "exception" text(65535), "user_key" varchar(255))
|
38341
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
38342
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
|
38343
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38344
|
+
FROM sqlite_master
|
38345
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38346
|
+
UNION ALL
|
38347
|
+
SELECT sql
|
38348
|
+
FROM sqlite_temp_master
|
38349
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38350
|
+
[0m
|
38351
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
|
38352
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38353
|
+
FROM sqlite_master
|
38354
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38355
|
+
UNION ALL
|
38356
|
+
SELECT sql
|
38357
|
+
FROM sqlite_temp_master
|
38358
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38359
|
+
[0m
|
38360
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38361
|
+
FROM sqlite_master
|
38362
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38363
|
+
UNION ALL
|
38364
|
+
SELECT sql
|
38365
|
+
FROM sqlite_temp_master
|
38366
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38367
|
+
|
38368
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_events_on_pid" ON "events" ("pid")[0m
|
38369
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38370
|
+
FROM sqlite_master
|
38371
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38372
|
+
UNION ALL
|
38373
|
+
SELECT sql
|
38374
|
+
FROM sqlite_temp_master
|
38375
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38376
|
+
|
38377
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38378
|
+
FROM sqlite_master
|
38379
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38380
|
+
UNION ALL
|
38381
|
+
SELECT sql
|
38382
|
+
FROM sqlite_temp_master
|
38383
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38384
|
+
[0m
|
38385
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38386
|
+
FROM sqlite_master
|
38387
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38388
|
+
UNION ALL
|
38389
|
+
SELECT sql
|
38390
|
+
FROM sqlite_temp_master
|
38391
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38392
|
+
|
38393
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_events_on_type" ON "events" ("type")[0m
|
38394
|
+
[1m[35m (1.0ms)[0m 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))
|
38395
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
38396
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38397
|
+
FROM sqlite_master
|
38398
|
+
WHERE name='index_users_on_email' AND type='index'
|
38399
|
+
UNION ALL
|
38400
|
+
SELECT sql
|
38401
|
+
FROM sqlite_temp_master
|
38402
|
+
WHERE name='index_users_on_email' AND type='index'
|
38403
|
+
|
38404
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
38405
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38406
|
+
FROM sqlite_master
|
38407
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38408
|
+
UNION ALL
|
38409
|
+
SELECT sql
|
38410
|
+
FROM sqlite_temp_master
|
38411
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38412
|
+
|
38413
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38414
|
+
FROM sqlite_master
|
38415
|
+
WHERE name='index_users_on_email' AND type='index'
|
38416
|
+
UNION ALL
|
38417
|
+
SELECT sql
|
38418
|
+
FROM sqlite_temp_master
|
38419
|
+
WHERE name='index_users_on_email' AND type='index'
|
38420
|
+
[0m
|
38421
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
38422
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
38423
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
38424
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
38425
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150713171838')
|
38426
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141021233359')[0m
|
38427
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
|
38428
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141103192146')[0m
|
38429
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
|
38430
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141107124012')[0m
|
38431
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
38432
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
38433
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
38434
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150130134416')[0m
|
38435
|
+
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.
|
38436
|
+
Unable to load Contacts file: /Users/coblej/Sites/ddr-models/spec/dummy/config/contacts.yml
|
38437
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
38438
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
38439
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38440
|
+
FROM sqlite_master
|
38441
|
+
WHERE name='index_events_on_type' AND type='index'
|
38442
|
+
UNION ALL
|
38443
|
+
SELECT sql
|
38444
|
+
FROM sqlite_temp_master
|
38445
|
+
WHERE name='index_events_on_type' AND type='index'
|
38446
|
+
[0m
|
38447
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
38448
|
+
FROM sqlite_master
|
38449
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38450
|
+
UNION ALL
|
38451
|
+
SELECT sql
|
38452
|
+
FROM sqlite_temp_master
|
38453
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38454
|
+
|
38455
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38456
|
+
FROM sqlite_master
|
38457
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38458
|
+
UNION ALL
|
38459
|
+
SELECT sql
|
38460
|
+
FROM sqlite_temp_master
|
38461
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38462
|
+
[0m
|
38463
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38464
|
+
FROM sqlite_master
|
38465
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38466
|
+
UNION ALL
|
38467
|
+
SELECT sql
|
38468
|
+
FROM sqlite_temp_master
|
38469
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38470
|
+
|
38471
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38472
|
+
FROM sqlite_master
|
38473
|
+
WHERE name='index_users_on_username' AND type='index'
|
38474
|
+
UNION ALL
|
38475
|
+
SELECT sql
|
38476
|
+
FROM sqlite_temp_master
|
38477
|
+
WHERE name='index_users_on_username' AND type='index'
|
38478
|
+
[0m
|
38479
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38480
|
+
FROM sqlite_master
|
38481
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38482
|
+
UNION ALL
|
38483
|
+
SELECT sql
|
38484
|
+
FROM sqlite_temp_master
|
38485
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38486
|
+
|
38487
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38488
|
+
FROM sqlite_master
|
38489
|
+
WHERE name='index_users_on_email' AND type='index'
|
38490
|
+
UNION ALL
|
38491
|
+
SELECT sql
|
38492
|
+
FROM sqlite_temp_master
|
38493
|
+
WHERE name='index_users_on_email' AND type='index'
|
38494
|
+
[0m
|
38495
|
+
[1m[35m (1.2ms)[0m 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, "exception" text(65535), "user_key" varchar(255))
|
38496
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
38497
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
|
38498
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38499
|
+
FROM sqlite_master
|
38500
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38501
|
+
UNION ALL
|
38502
|
+
SELECT sql
|
38503
|
+
FROM sqlite_temp_master
|
38504
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38505
|
+
[0m
|
38506
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
|
38507
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38508
|
+
FROM sqlite_master
|
38509
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38510
|
+
UNION ALL
|
38511
|
+
SELECT sql
|
38512
|
+
FROM sqlite_temp_master
|
38513
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38514
|
+
[0m
|
38515
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38516
|
+
FROM sqlite_master
|
38517
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38518
|
+
UNION ALL
|
38519
|
+
SELECT sql
|
38520
|
+
FROM sqlite_temp_master
|
38521
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38522
|
+
|
38523
|
+
[1m[36m (1.7ms)[0m [1mCREATE INDEX "index_events_on_pid" ON "events" ("pid")[0m
|
38524
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38525
|
+
FROM sqlite_master
|
38526
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38527
|
+
UNION ALL
|
38528
|
+
SELECT sql
|
38529
|
+
FROM sqlite_temp_master
|
38530
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38531
|
+
|
38532
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38533
|
+
FROM sqlite_master
|
38534
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38535
|
+
UNION ALL
|
38536
|
+
SELECT sql
|
38537
|
+
FROM sqlite_temp_master
|
38538
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38539
|
+
[0m
|
38540
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38541
|
+
FROM sqlite_master
|
38542
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38543
|
+
UNION ALL
|
38544
|
+
SELECT sql
|
38545
|
+
FROM sqlite_temp_master
|
38546
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38547
|
+
|
38548
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_events_on_type" ON "events" ("type")[0m
|
38549
|
+
[1m[35m (1.6ms)[0m 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))
|
38550
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
38551
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38552
|
+
FROM sqlite_master
|
38553
|
+
WHERE name='index_users_on_email' AND type='index'
|
38554
|
+
UNION ALL
|
38555
|
+
SELECT sql
|
38556
|
+
FROM sqlite_temp_master
|
38557
|
+
WHERE name='index_users_on_email' AND type='index'
|
38558
|
+
|
38559
|
+
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
38560
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
38561
|
+
FROM sqlite_master
|
38562
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38563
|
+
UNION ALL
|
38564
|
+
SELECT sql
|
38565
|
+
FROM sqlite_temp_master
|
38566
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38567
|
+
|
38568
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38569
|
+
FROM sqlite_master
|
38570
|
+
WHERE name='index_users_on_email' AND type='index'
|
38571
|
+
UNION ALL
|
38572
|
+
SELECT sql
|
38573
|
+
FROM sqlite_temp_master
|
38574
|
+
WHERE name='index_users_on_email' AND type='index'
|
38575
|
+
[0m
|
38576
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
38577
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
38578
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
38579
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
38580
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150713171838')
|
38581
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141021233359')[0m
|
38582
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
|
38583
|
+
[1m[36m (2.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141103192146')[0m
|
38584
|
+
[1m[35m (2.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
|
38585
|
+
[1m[36m (6.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141107124012')[0m
|
38586
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
38587
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
38588
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
38589
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150130134416')[0m
|
38590
|
+
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.
|
38591
|
+
Unable to load Contacts file: /Users/coblej/Sites/ddr-models/spec/dummy/config/contacts.yml
|
38592
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
38593
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
38594
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38595
|
+
FROM sqlite_master
|
38596
|
+
WHERE name='index_events_on_type' AND type='index'
|
38597
|
+
UNION ALL
|
38598
|
+
SELECT sql
|
38599
|
+
FROM sqlite_temp_master
|
38600
|
+
WHERE name='index_events_on_type' AND type='index'
|
38601
|
+
[0m
|
38602
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
38603
|
+
FROM sqlite_master
|
38604
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38605
|
+
UNION ALL
|
38606
|
+
SELECT sql
|
38607
|
+
FROM sqlite_temp_master
|
38608
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38609
|
+
|
38610
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38611
|
+
FROM sqlite_master
|
38612
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38613
|
+
UNION ALL
|
38614
|
+
SELECT sql
|
38615
|
+
FROM sqlite_temp_master
|
38616
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38617
|
+
[0m
|
38618
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38619
|
+
FROM sqlite_master
|
38620
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38621
|
+
UNION ALL
|
38622
|
+
SELECT sql
|
38623
|
+
FROM sqlite_temp_master
|
38624
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38625
|
+
|
38626
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38627
|
+
FROM sqlite_master
|
38628
|
+
WHERE name='index_users_on_username' AND type='index'
|
38629
|
+
UNION ALL
|
38630
|
+
SELECT sql
|
38631
|
+
FROM sqlite_temp_master
|
38632
|
+
WHERE name='index_users_on_username' AND type='index'
|
38633
|
+
[0m
|
38634
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38635
|
+
FROM sqlite_master
|
38636
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38637
|
+
UNION ALL
|
38638
|
+
SELECT sql
|
38639
|
+
FROM sqlite_temp_master
|
38640
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38641
|
+
|
38642
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38643
|
+
FROM sqlite_master
|
38644
|
+
WHERE name='index_users_on_email' AND type='index'
|
38645
|
+
UNION ALL
|
38646
|
+
SELECT sql
|
38647
|
+
FROM sqlite_temp_master
|
38648
|
+
WHERE name='index_users_on_email' AND type='index'
|
38649
|
+
[0m
|
38650
|
+
[1m[35m (1.2ms)[0m 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, "exception" text(65535), "user_key" varchar(255))
|
38651
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
38652
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
|
38653
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38654
|
+
FROM sqlite_master
|
38655
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38656
|
+
UNION ALL
|
38657
|
+
SELECT sql
|
38658
|
+
FROM sqlite_temp_master
|
38659
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38660
|
+
[0m
|
38661
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
|
38662
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38663
|
+
FROM sqlite_master
|
38664
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38665
|
+
UNION ALL
|
38666
|
+
SELECT sql
|
38667
|
+
FROM sqlite_temp_master
|
38668
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38669
|
+
[0m
|
38670
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38671
|
+
FROM sqlite_master
|
38672
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38673
|
+
UNION ALL
|
38674
|
+
SELECT sql
|
38675
|
+
FROM sqlite_temp_master
|
38676
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38677
|
+
|
38678
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_events_on_pid" ON "events" ("pid")[0m
|
38679
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38680
|
+
FROM sqlite_master
|
38681
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38682
|
+
UNION ALL
|
38683
|
+
SELECT sql
|
38684
|
+
FROM sqlite_temp_master
|
38685
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38686
|
+
|
38687
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38688
|
+
FROM sqlite_master
|
38689
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38690
|
+
UNION ALL
|
38691
|
+
SELECT sql
|
38692
|
+
FROM sqlite_temp_master
|
38693
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38694
|
+
[0m
|
38695
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38696
|
+
FROM sqlite_master
|
38697
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38698
|
+
UNION ALL
|
38699
|
+
SELECT sql
|
38700
|
+
FROM sqlite_temp_master
|
38701
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38702
|
+
|
38703
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_events_on_type" ON "events" ("type")[0m
|
38704
|
+
[1m[35m (136.1ms)[0m 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))
|
38705
|
+
[1m[36m (8.5ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
38706
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
38707
|
+
FROM sqlite_master
|
38708
|
+
WHERE name='index_users_on_email' AND type='index'
|
38709
|
+
UNION ALL
|
38710
|
+
SELECT sql
|
38711
|
+
FROM sqlite_temp_master
|
38712
|
+
WHERE name='index_users_on_email' AND type='index'
|
38713
|
+
|
38714
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
38715
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38716
|
+
FROM sqlite_master
|
38717
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38718
|
+
UNION ALL
|
38719
|
+
SELECT sql
|
38720
|
+
FROM sqlite_temp_master
|
38721
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38722
|
+
|
38723
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38724
|
+
FROM sqlite_master
|
38725
|
+
WHERE name='index_users_on_email' AND type='index'
|
38726
|
+
UNION ALL
|
38727
|
+
SELECT sql
|
38728
|
+
FROM sqlite_temp_master
|
38729
|
+
WHERE name='index_users_on_email' AND type='index'
|
38730
|
+
[0m
|
38731
|
+
[1m[35m (37.6ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
38732
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
38733
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
38734
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
38735
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150713171838')
|
38736
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141021233359')[0m
|
38737
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
|
38738
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141103192146')[0m
|
38739
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
|
38740
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141107124012')[0m
|
38741
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
38742
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
38743
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
38744
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150130134416')[0m
|
38745
|
+
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.
|
38746
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
38747
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
38748
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38749
|
+
FROM sqlite_master
|
38750
|
+
WHERE name='index_events_on_type' AND type='index'
|
38751
|
+
UNION ALL
|
38752
|
+
SELECT sql
|
38753
|
+
FROM sqlite_temp_master
|
38754
|
+
WHERE name='index_events_on_type' AND type='index'
|
38755
|
+
[0m
|
38756
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38757
|
+
FROM sqlite_master
|
38758
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38759
|
+
UNION ALL
|
38760
|
+
SELECT sql
|
38761
|
+
FROM sqlite_temp_master
|
38762
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38763
|
+
|
38764
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38765
|
+
FROM sqlite_master
|
38766
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38767
|
+
UNION ALL
|
38768
|
+
SELECT sql
|
38769
|
+
FROM sqlite_temp_master
|
38770
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38771
|
+
[0m
|
38772
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38773
|
+
FROM sqlite_master
|
38774
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38775
|
+
UNION ALL
|
38776
|
+
SELECT sql
|
38777
|
+
FROM sqlite_temp_master
|
38778
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38779
|
+
|
38780
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38781
|
+
FROM sqlite_master
|
38782
|
+
WHERE name='index_users_on_username' AND type='index'
|
38783
|
+
UNION ALL
|
38784
|
+
SELECT sql
|
38785
|
+
FROM sqlite_temp_master
|
38786
|
+
WHERE name='index_users_on_username' AND type='index'
|
38787
|
+
[0m
|
38788
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38789
|
+
FROM sqlite_master
|
38790
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38791
|
+
UNION ALL
|
38792
|
+
SELECT sql
|
38793
|
+
FROM sqlite_temp_master
|
38794
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38795
|
+
|
38796
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38797
|
+
FROM sqlite_master
|
38798
|
+
WHERE name='index_users_on_email' AND type='index'
|
38799
|
+
UNION ALL
|
38800
|
+
SELECT sql
|
38801
|
+
FROM sqlite_temp_master
|
38802
|
+
WHERE name='index_users_on_email' AND type='index'
|
38803
|
+
[0m
|
38804
|
+
[1m[35m (1.2ms)[0m 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, "exception" text(65535), "user_key" varchar(255))
|
38805
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
38806
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
|
38807
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38808
|
+
FROM sqlite_master
|
38809
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38810
|
+
UNION ALL
|
38811
|
+
SELECT sql
|
38812
|
+
FROM sqlite_temp_master
|
38813
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38814
|
+
[0m
|
38815
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
|
38816
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38817
|
+
FROM sqlite_master
|
38818
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38819
|
+
UNION ALL
|
38820
|
+
SELECT sql
|
38821
|
+
FROM sqlite_temp_master
|
38822
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38823
|
+
[0m
|
38824
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38825
|
+
FROM sqlite_master
|
38826
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38827
|
+
UNION ALL
|
38828
|
+
SELECT sql
|
38829
|
+
FROM sqlite_temp_master
|
38830
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38831
|
+
|
38832
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_events_on_pid" ON "events" ("pid")[0m
|
38833
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38834
|
+
FROM sqlite_master
|
38835
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38836
|
+
UNION ALL
|
38837
|
+
SELECT sql
|
38838
|
+
FROM sqlite_temp_master
|
38839
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38840
|
+
|
38841
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38842
|
+
FROM sqlite_master
|
38843
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38844
|
+
UNION ALL
|
38845
|
+
SELECT sql
|
38846
|
+
FROM sqlite_temp_master
|
38847
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38848
|
+
[0m
|
38849
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38850
|
+
FROM sqlite_master
|
38851
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38852
|
+
UNION ALL
|
38853
|
+
SELECT sql
|
38854
|
+
FROM sqlite_temp_master
|
38855
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38856
|
+
|
38857
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_events_on_type" ON "events" ("type")[0m
|
38858
|
+
[1m[35m (1.1ms)[0m 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))
|
38859
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
38860
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38861
|
+
FROM sqlite_master
|
38862
|
+
WHERE name='index_users_on_email' AND type='index'
|
38863
|
+
UNION ALL
|
38864
|
+
SELECT sql
|
38865
|
+
FROM sqlite_temp_master
|
38866
|
+
WHERE name='index_users_on_email' AND type='index'
|
38867
|
+
|
38868
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
38869
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38870
|
+
FROM sqlite_master
|
38871
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38872
|
+
UNION ALL
|
38873
|
+
SELECT sql
|
38874
|
+
FROM sqlite_temp_master
|
38875
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38876
|
+
|
38877
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38878
|
+
FROM sqlite_master
|
38879
|
+
WHERE name='index_users_on_email' AND type='index'
|
38880
|
+
UNION ALL
|
38881
|
+
SELECT sql
|
38882
|
+
FROM sqlite_temp_master
|
38883
|
+
WHERE name='index_users_on_email' AND type='index'
|
38884
|
+
[0m
|
38885
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
38886
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
38887
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
38888
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
38889
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150713171838')
|
38890
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141021233359')[0m
|
38891
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
|
38892
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141103192146')[0m
|
38893
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
|
38894
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141107124012')[0m
|
38895
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
38896
|
+
[1m[36m (2.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
38897
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
38898
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150130134416')[0m
|
38899
|
+
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.
|
38900
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
38901
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
38902
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
38903
|
+
FROM sqlite_master
|
38904
|
+
WHERE name='index_events_on_type' AND type='index'
|
38905
|
+
UNION ALL
|
38906
|
+
SELECT sql
|
38907
|
+
FROM sqlite_temp_master
|
38908
|
+
WHERE name='index_events_on_type' AND type='index'
|
38909
|
+
[0m
|
38910
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
38911
|
+
FROM sqlite_master
|
38912
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38913
|
+
UNION ALL
|
38914
|
+
SELECT sql
|
38915
|
+
FROM sqlite_temp_master
|
38916
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38917
|
+
|
38918
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38919
|
+
FROM sqlite_master
|
38920
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38921
|
+
UNION ALL
|
38922
|
+
SELECT sql
|
38923
|
+
FROM sqlite_temp_master
|
38924
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38925
|
+
[0m
|
38926
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38927
|
+
FROM sqlite_master
|
38928
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38929
|
+
UNION ALL
|
38930
|
+
SELECT sql
|
38931
|
+
FROM sqlite_temp_master
|
38932
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38933
|
+
|
38934
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38935
|
+
FROM sqlite_master
|
38936
|
+
WHERE name='index_users_on_username' AND type='index'
|
38937
|
+
UNION ALL
|
38938
|
+
SELECT sql
|
38939
|
+
FROM sqlite_temp_master
|
38940
|
+
WHERE name='index_users_on_username' AND type='index'
|
38941
|
+
[0m
|
38942
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38943
|
+
FROM sqlite_master
|
38944
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38945
|
+
UNION ALL
|
38946
|
+
SELECT sql
|
38947
|
+
FROM sqlite_temp_master
|
38948
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
38949
|
+
|
38950
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38951
|
+
FROM sqlite_master
|
38952
|
+
WHERE name='index_users_on_email' AND type='index'
|
38953
|
+
UNION ALL
|
38954
|
+
SELECT sql
|
38955
|
+
FROM sqlite_temp_master
|
38956
|
+
WHERE name='index_users_on_email' AND type='index'
|
38957
|
+
[0m
|
38958
|
+
[1m[35m (9.4ms)[0m 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, "exception" text(65535), "user_key" varchar(255))
|
38959
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
38960
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
|
38961
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
38962
|
+
FROM sqlite_master
|
38963
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38964
|
+
UNION ALL
|
38965
|
+
SELECT sql
|
38966
|
+
FROM sqlite_temp_master
|
38967
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38968
|
+
[0m
|
38969
|
+
[1m[35m (1.5ms)[0m CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
|
38970
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38971
|
+
FROM sqlite_master
|
38972
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38973
|
+
UNION ALL
|
38974
|
+
SELECT sql
|
38975
|
+
FROM sqlite_temp_master
|
38976
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38977
|
+
[0m
|
38978
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38979
|
+
FROM sqlite_master
|
38980
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38981
|
+
UNION ALL
|
38982
|
+
SELECT sql
|
38983
|
+
FROM sqlite_temp_master
|
38984
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
38985
|
+
|
38986
|
+
[1m[36m (1.4ms)[0m [1mCREATE INDEX "index_events_on_pid" ON "events" ("pid")[0m
|
38987
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
38988
|
+
FROM sqlite_master
|
38989
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38990
|
+
UNION ALL
|
38991
|
+
SELECT sql
|
38992
|
+
FROM sqlite_temp_master
|
38993
|
+
WHERE name='index_events_on_pid' AND type='index'
|
38994
|
+
|
38995
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
38996
|
+
FROM sqlite_master
|
38997
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
38998
|
+
UNION ALL
|
38999
|
+
SELECT sql
|
39000
|
+
FROM sqlite_temp_master
|
39001
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
39002
|
+
[0m
|
39003
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
39004
|
+
FROM sqlite_master
|
39005
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
39006
|
+
UNION ALL
|
39007
|
+
SELECT sql
|
39008
|
+
FROM sqlite_temp_master
|
39009
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
39010
|
+
|
39011
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_events_on_type" ON "events" ("type")[0m
|
39012
|
+
[1m[35m (1.4ms)[0m 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))
|
39013
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
39014
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
39015
|
+
FROM sqlite_master
|
39016
|
+
WHERE name='index_users_on_email' AND type='index'
|
39017
|
+
UNION ALL
|
39018
|
+
SELECT sql
|
39019
|
+
FROM sqlite_temp_master
|
39020
|
+
WHERE name='index_users_on_email' AND type='index'
|
39021
|
+
|
39022
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
39023
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
39024
|
+
FROM sqlite_master
|
39025
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
39026
|
+
UNION ALL
|
39027
|
+
SELECT sql
|
39028
|
+
FROM sqlite_temp_master
|
39029
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
39030
|
+
|
39031
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
39032
|
+
FROM sqlite_master
|
39033
|
+
WHERE name='index_users_on_email' AND type='index'
|
39034
|
+
UNION ALL
|
39035
|
+
SELECT sql
|
39036
|
+
FROM sqlite_temp_master
|
39037
|
+
WHERE name='index_users_on_email' AND type='index'
|
39038
|
+
[0m
|
39039
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
39040
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
39041
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
39042
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
39043
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150713171838')
|
39044
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141021233359')[0m
|
39045
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
|
39046
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141103192146')[0m
|
39047
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
|
39048
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141107124012')[0m
|
39049
|
+
[1m[35m (19.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
39050
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
39051
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
39052
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150130134416')[0m
|
39053
|
+
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.
|
39054
|
+
Unable to load Contacts file: /Users/coblej/Sites/ddr-models/spec/dummy/config/contacts.yml
|