ddr-models 1.14.2 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/models_helper.rb +7 -0
- data/lib/ddr/datastreams/administrative_metadata_datastream.rb +2 -0
- data/lib/ddr/index_fields.rb +1 -0
- data/lib/ddr/models.rb +3 -0
- data/lib/ddr/models/engine.rb +4 -0
- data/lib/ddr/models/has_admin_metadata.rb +5 -1
- data/lib/ddr/models/indexing.rb +8 -13
- data/lib/ddr/models/solr_document.rb +4 -0
- data/lib/ddr/models/version.rb +1 -1
- data/lib/ddr/vocab/asset.rb +4 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +612 -0
- data/spec/dummy/log/test.log +7384 -0
- data/spec/helpers/models_helper_spec.rb +11 -0
- data/spec/models/solr_document_spec.rb +5 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd67beca52585b36660b225f33b890d87a0a7687
|
4
|
+
data.tar.gz: 7b36f76a83df4995c3f8579d465acad20bd6c57c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b89f316d01cbcbdeeffba3dcb09edf5a6239b6eb7bfd53f0cbec0bd444b10f29d0aad1cfc3ace044b87d91bdda8bf2122768ddddd8029c2ea1705f8931ad3d9
|
7
|
+
data.tar.gz: 9bd529c3586fcad6b473e534737514a94064deb04801d939d93524e55b99bd24b17f107c3cd68b3b9562c3531ff866fed04806a20defa14962e20ad3082c38b8
|
data/lib/ddr/index_fields.rb
CHANGED
@@ -7,6 +7,7 @@ module Ddr
|
|
7
7
|
|
8
8
|
ACCESS_ROLE = solr_name :access_role, :stored_sortable
|
9
9
|
ACTIVE_FEDORA_MODEL = solr_name :active_fedora_model, :stored_sortable
|
10
|
+
ADMIN_SET = solr_name :admin_set, :stored_sortable
|
10
11
|
COLLECTION_URI = solr_name :collection_uri, :symbol
|
11
12
|
CONTENT_CONTROL_GROUP = solr_name :content_control_group, :searchable, type: :string
|
12
13
|
CONTENT_SIZE = solr_name :content_size, :stored_sortable, type: :integer
|
data/lib/ddr/models.rb
CHANGED
@@ -58,6 +58,9 @@ module Ddr
|
|
58
58
|
# Regexp for building external file subpath from hex digest
|
59
59
|
mattr_accessor :external_file_subpath_regexp
|
60
60
|
|
61
|
+
# Image server URL
|
62
|
+
mattr_accessor :image_server_url
|
63
|
+
|
61
64
|
# Whether permanent IDs should be automatically assigned on create
|
62
65
|
mattr_accessor :auto_assign_permanent_ids
|
63
66
|
|
data/lib/ddr/models/engine.rb
CHANGED
@@ -48,6 +48,10 @@ module Ddr
|
|
48
48
|
Ddr::Models.external_file_subpath_pattern = ENV["EXTERNAL_FILE_SUBPATH_PATTERN"] || "--"
|
49
49
|
end
|
50
50
|
|
51
|
+
initializer "ddr_models.image_server" do
|
52
|
+
Ddr::Models.image_server_url = ENV["IMAGE_SERVER_URL"]
|
53
|
+
end
|
54
|
+
|
51
55
|
# Add custom predicates to ActiveFedora
|
52
56
|
initializer "ddr_models.predicates" do
|
53
57
|
ActiveFedora::Predicates.set_predicates(Ddr::Metadata::PREDICATES)
|
@@ -9,7 +9,11 @@ module Ddr
|
|
9
9
|
versionable: true,
|
10
10
|
control_group: "M"
|
11
11
|
|
12
|
-
has_attributes :
|
12
|
+
has_attributes :admin_set,
|
13
|
+
:local_id,
|
14
|
+
:permanent_id,
|
15
|
+
:permanent_url,
|
16
|
+
:workflow_state,
|
13
17
|
datastream: "adminMetadata",
|
14
18
|
multiple: false
|
15
19
|
|
data/lib/ddr/models/indexing.rb
CHANGED
@@ -11,17 +11,15 @@ module Ddr
|
|
11
11
|
|
12
12
|
def index_fields
|
13
13
|
fields = {
|
14
|
-
TITLE
|
15
|
-
INTERNAL_URI
|
16
|
-
IDENTIFIER
|
17
|
-
WORKFLOW_STATE => workflow_state
|
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
|
+
PERMANENT_ID => permanent_id,
|
21
|
+
PERMANENT_URL => permanent_url,
|
18
22
|
}
|
19
|
-
if permanent_id.present?
|
20
|
-
fields[PERMANENT_ID] = permanent_id
|
21
|
-
end
|
22
|
-
if permanent_url.present?
|
23
|
-
fields[PERMANENT_URL] = permanent_url
|
24
|
-
end
|
25
23
|
if respond_to? :fixity_checks
|
26
24
|
last_fixity_check = fixity_checks.last
|
27
25
|
fields.merge!(last_fixity_check.to_solr) if last_fixity_check
|
@@ -60,9 +58,6 @@ module Ddr
|
|
60
58
|
if respond_to? :roles
|
61
59
|
fields.merge!(roles.index_fields)
|
62
60
|
end
|
63
|
-
if local_id.present?
|
64
|
-
fields[LOCAL_ID] = local_id
|
65
|
-
end
|
66
61
|
fields
|
67
62
|
end
|
68
63
|
|
data/lib/ddr/models/version.rb
CHANGED
data/lib/ddr/vocab/asset.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -28564,3 +28564,615 @@ Using the default predicate_mappings.yml that comes with active-fedora. If you
|
|
28564
28564
|
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
28565
28565
|
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
28566
28566
|
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
28567
|
+
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.
|
28568
|
+
[1m[36mActiveRecord::SchemaMigration Load (32.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28569
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
28570
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28571
|
+
FROM sqlite_master
|
28572
|
+
WHERE name='index_events_on_type' AND type='index'
|
28573
|
+
UNION ALL
|
28574
|
+
SELECT sql
|
28575
|
+
FROM sqlite_temp_master
|
28576
|
+
WHERE name='index_events_on_type' AND type='index'
|
28577
|
+
[0m
|
28578
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
28579
|
+
FROM sqlite_master
|
28580
|
+
WHERE name='index_events_on_pid' AND type='index'
|
28581
|
+
UNION ALL
|
28582
|
+
SELECT sql
|
28583
|
+
FROM sqlite_temp_master
|
28584
|
+
WHERE name='index_events_on_pid' AND type='index'
|
28585
|
+
|
28586
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28587
|
+
FROM sqlite_master
|
28588
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28589
|
+
UNION ALL
|
28590
|
+
SELECT sql
|
28591
|
+
FROM sqlite_temp_master
|
28592
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28593
|
+
[0m
|
28594
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28595
|
+
FROM sqlite_master
|
28596
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28597
|
+
UNION ALL
|
28598
|
+
SELECT sql
|
28599
|
+
FROM sqlite_temp_master
|
28600
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28601
|
+
|
28602
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28603
|
+
FROM sqlite_master
|
28604
|
+
WHERE name='index_users_on_username' AND type='index'
|
28605
|
+
UNION ALL
|
28606
|
+
SELECT sql
|
28607
|
+
FROM sqlite_temp_master
|
28608
|
+
WHERE name='index_users_on_username' AND type='index'
|
28609
|
+
[0m
|
28610
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28611
|
+
FROM sqlite_master
|
28612
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
28613
|
+
UNION ALL
|
28614
|
+
SELECT sql
|
28615
|
+
FROM sqlite_temp_master
|
28616
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
28617
|
+
|
28618
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
28619
|
+
FROM sqlite_master
|
28620
|
+
WHERE name='index_users_on_email' AND type='index'
|
28621
|
+
UNION ALL
|
28622
|
+
SELECT sql
|
28623
|
+
FROM sqlite_temp_master
|
28624
|
+
WHERE name='index_users_on_email' AND type='index'
|
28625
|
+
[0m
|
28626
|
+
[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" varchar(255), "user_key" varchar(255))
|
28627
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
28628
|
+
[1m[35m (1.5ms)[0m CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
|
28629
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28630
|
+
FROM sqlite_master
|
28631
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28632
|
+
UNION ALL
|
28633
|
+
SELECT sql
|
28634
|
+
FROM sqlite_temp_master
|
28635
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28636
|
+
[0m
|
28637
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
|
28638
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28639
|
+
FROM sqlite_master
|
28640
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28641
|
+
UNION ALL
|
28642
|
+
SELECT sql
|
28643
|
+
FROM sqlite_temp_master
|
28644
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28645
|
+
[0m
|
28646
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28647
|
+
FROM sqlite_master
|
28648
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28649
|
+
UNION ALL
|
28650
|
+
SELECT sql
|
28651
|
+
FROM sqlite_temp_master
|
28652
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28653
|
+
|
28654
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_events_on_pid" ON "events" ("pid")[0m
|
28655
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28656
|
+
FROM sqlite_master
|
28657
|
+
WHERE name='index_events_on_pid' AND type='index'
|
28658
|
+
UNION ALL
|
28659
|
+
SELECT sql
|
28660
|
+
FROM sqlite_temp_master
|
28661
|
+
WHERE name='index_events_on_pid' AND type='index'
|
28662
|
+
|
28663
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28664
|
+
FROM sqlite_master
|
28665
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28666
|
+
UNION ALL
|
28667
|
+
SELECT sql
|
28668
|
+
FROM sqlite_temp_master
|
28669
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28670
|
+
[0m
|
28671
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28672
|
+
FROM sqlite_master
|
28673
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28674
|
+
UNION ALL
|
28675
|
+
SELECT sql
|
28676
|
+
FROM sqlite_temp_master
|
28677
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28678
|
+
|
28679
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_events_on_type" ON "events" ("type")[0m
|
28680
|
+
[1m[35m (74.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))
|
28681
|
+
[1m[36m (13.7ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
28682
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
28683
|
+
FROM sqlite_master
|
28684
|
+
WHERE name='index_users_on_email' AND type='index'
|
28685
|
+
UNION ALL
|
28686
|
+
SELECT sql
|
28687
|
+
FROM sqlite_temp_master
|
28688
|
+
WHERE name='index_users_on_email' AND type='index'
|
28689
|
+
|
28690
|
+
[1m[36m (16.5ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
28691
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28692
|
+
FROM sqlite_master
|
28693
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
28694
|
+
UNION ALL
|
28695
|
+
SELECT sql
|
28696
|
+
FROM sqlite_temp_master
|
28697
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
28698
|
+
|
28699
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28700
|
+
FROM sqlite_master
|
28701
|
+
WHERE name='index_users_on_email' AND type='index'
|
28702
|
+
UNION ALL
|
28703
|
+
SELECT sql
|
28704
|
+
FROM sqlite_temp_master
|
28705
|
+
WHERE name='index_users_on_email' AND type='index'
|
28706
|
+
[0m
|
28707
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
28708
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
28709
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
28710
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
28711
|
+
[1m[35m (14.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150130134416')
|
28712
|
+
[1m[36m (9.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141021233359')[0m
|
28713
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
|
28714
|
+
[1m[36m (4.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141103192146')[0m
|
28715
|
+
[1m[35m (6.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
|
28716
|
+
[1m[36m (4.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141107124012')[0m
|
28717
|
+
[1m[35m (3.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
28718
|
+
[1m[36m (1.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
28719
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
28720
|
+
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.
|
28721
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28722
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
28723
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
28724
|
+
FROM sqlite_master
|
28725
|
+
WHERE name='index_events_on_type' AND type='index'
|
28726
|
+
UNION ALL
|
28727
|
+
SELECT sql
|
28728
|
+
FROM sqlite_temp_master
|
28729
|
+
WHERE name='index_events_on_type' AND type='index'
|
28730
|
+
[0m
|
28731
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28732
|
+
FROM sqlite_master
|
28733
|
+
WHERE name='index_events_on_pid' AND type='index'
|
28734
|
+
UNION ALL
|
28735
|
+
SELECT sql
|
28736
|
+
FROM sqlite_temp_master
|
28737
|
+
WHERE name='index_events_on_pid' AND type='index'
|
28738
|
+
|
28739
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28740
|
+
FROM sqlite_master
|
28741
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28742
|
+
UNION ALL
|
28743
|
+
SELECT sql
|
28744
|
+
FROM sqlite_temp_master
|
28745
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28746
|
+
[0m
|
28747
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28748
|
+
FROM sqlite_master
|
28749
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28750
|
+
UNION ALL
|
28751
|
+
SELECT sql
|
28752
|
+
FROM sqlite_temp_master
|
28753
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28754
|
+
|
28755
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28756
|
+
FROM sqlite_master
|
28757
|
+
WHERE name='index_users_on_username' AND type='index'
|
28758
|
+
UNION ALL
|
28759
|
+
SELECT sql
|
28760
|
+
FROM sqlite_temp_master
|
28761
|
+
WHERE name='index_users_on_username' AND type='index'
|
28762
|
+
[0m
|
28763
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28764
|
+
FROM sqlite_master
|
28765
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
28766
|
+
UNION ALL
|
28767
|
+
SELECT sql
|
28768
|
+
FROM sqlite_temp_master
|
28769
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
28770
|
+
|
28771
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28772
|
+
FROM sqlite_master
|
28773
|
+
WHERE name='index_users_on_email' AND type='index'
|
28774
|
+
UNION ALL
|
28775
|
+
SELECT sql
|
28776
|
+
FROM sqlite_temp_master
|
28777
|
+
WHERE name='index_users_on_email' AND type='index'
|
28778
|
+
[0m
|
28779
|
+
[1m[35m (2.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" varchar(255), "user_key" varchar(255))
|
28780
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
28781
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
|
28782
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28783
|
+
FROM sqlite_master
|
28784
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28785
|
+
UNION ALL
|
28786
|
+
SELECT sql
|
28787
|
+
FROM sqlite_temp_master
|
28788
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28789
|
+
[0m
|
28790
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
|
28791
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28792
|
+
FROM sqlite_master
|
28793
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28794
|
+
UNION ALL
|
28795
|
+
SELECT sql
|
28796
|
+
FROM sqlite_temp_master
|
28797
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28798
|
+
[0m
|
28799
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28800
|
+
FROM sqlite_master
|
28801
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28802
|
+
UNION ALL
|
28803
|
+
SELECT sql
|
28804
|
+
FROM sqlite_temp_master
|
28805
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28806
|
+
|
28807
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_events_on_pid" ON "events" ("pid")[0m
|
28808
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28809
|
+
FROM sqlite_master
|
28810
|
+
WHERE name='index_events_on_pid' AND type='index'
|
28811
|
+
UNION ALL
|
28812
|
+
SELECT sql
|
28813
|
+
FROM sqlite_temp_master
|
28814
|
+
WHERE name='index_events_on_pid' AND type='index'
|
28815
|
+
|
28816
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28817
|
+
FROM sqlite_master
|
28818
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28819
|
+
UNION ALL
|
28820
|
+
SELECT sql
|
28821
|
+
FROM sqlite_temp_master
|
28822
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28823
|
+
[0m
|
28824
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28825
|
+
FROM sqlite_master
|
28826
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28827
|
+
UNION ALL
|
28828
|
+
SELECT sql
|
28829
|
+
FROM sqlite_temp_master
|
28830
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28831
|
+
|
28832
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_events_on_type" ON "events" ("type")[0m
|
28833
|
+
[1m[35m (1.5ms)[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))
|
28834
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
28835
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28836
|
+
FROM sqlite_master
|
28837
|
+
WHERE name='index_users_on_email' AND type='index'
|
28838
|
+
UNION ALL
|
28839
|
+
SELECT sql
|
28840
|
+
FROM sqlite_temp_master
|
28841
|
+
WHERE name='index_users_on_email' AND type='index'
|
28842
|
+
|
28843
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
28844
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28845
|
+
FROM sqlite_master
|
28846
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
28847
|
+
UNION ALL
|
28848
|
+
SELECT sql
|
28849
|
+
FROM sqlite_temp_master
|
28850
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
28851
|
+
|
28852
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28853
|
+
FROM sqlite_master
|
28854
|
+
WHERE name='index_users_on_email' AND type='index'
|
28855
|
+
UNION ALL
|
28856
|
+
SELECT sql
|
28857
|
+
FROM sqlite_temp_master
|
28858
|
+
WHERE name='index_users_on_email' AND type='index'
|
28859
|
+
[0m
|
28860
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
28861
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
28862
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
28863
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
28864
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150130134416')
|
28865
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141021233359')[0m
|
28866
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
|
28867
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141103192146')[0m
|
28868
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
|
28869
|
+
[1m[36m (17.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141107124012')[0m
|
28870
|
+
[1m[35m (5.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
28871
|
+
[1m[36m (3.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
28872
|
+
[1m[35m (2.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
28873
|
+
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.
|
28874
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28875
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
28876
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28877
|
+
FROM sqlite_master
|
28878
|
+
WHERE name='index_events_on_type' AND type='index'
|
28879
|
+
UNION ALL
|
28880
|
+
SELECT sql
|
28881
|
+
FROM sqlite_temp_master
|
28882
|
+
WHERE name='index_events_on_type' AND type='index'
|
28883
|
+
[0m
|
28884
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28885
|
+
FROM sqlite_master
|
28886
|
+
WHERE name='index_events_on_pid' AND type='index'
|
28887
|
+
UNION ALL
|
28888
|
+
SELECT sql
|
28889
|
+
FROM sqlite_temp_master
|
28890
|
+
WHERE name='index_events_on_pid' AND type='index'
|
28891
|
+
|
28892
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28893
|
+
FROM sqlite_master
|
28894
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28895
|
+
UNION ALL
|
28896
|
+
SELECT sql
|
28897
|
+
FROM sqlite_temp_master
|
28898
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28899
|
+
[0m
|
28900
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28901
|
+
FROM sqlite_master
|
28902
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28903
|
+
UNION ALL
|
28904
|
+
SELECT sql
|
28905
|
+
FROM sqlite_temp_master
|
28906
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28907
|
+
|
28908
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28909
|
+
FROM sqlite_master
|
28910
|
+
WHERE name='index_users_on_username' AND type='index'
|
28911
|
+
UNION ALL
|
28912
|
+
SELECT sql
|
28913
|
+
FROM sqlite_temp_master
|
28914
|
+
WHERE name='index_users_on_username' AND type='index'
|
28915
|
+
[0m
|
28916
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28917
|
+
FROM sqlite_master
|
28918
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
28919
|
+
UNION ALL
|
28920
|
+
SELECT sql
|
28921
|
+
FROM sqlite_temp_master
|
28922
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
28923
|
+
|
28924
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28925
|
+
FROM sqlite_master
|
28926
|
+
WHERE name='index_users_on_email' AND type='index'
|
28927
|
+
UNION ALL
|
28928
|
+
SELECT sql
|
28929
|
+
FROM sqlite_temp_master
|
28930
|
+
WHERE name='index_users_on_email' AND type='index'
|
28931
|
+
[0m
|
28932
|
+
[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" varchar(255), "user_key" varchar(255))
|
28933
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
28934
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
|
28935
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28936
|
+
FROM sqlite_master
|
28937
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28938
|
+
UNION ALL
|
28939
|
+
SELECT sql
|
28940
|
+
FROM sqlite_temp_master
|
28941
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28942
|
+
[0m
|
28943
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
|
28944
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28945
|
+
FROM sqlite_master
|
28946
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28947
|
+
UNION ALL
|
28948
|
+
SELECT sql
|
28949
|
+
FROM sqlite_temp_master
|
28950
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28951
|
+
[0m
|
28952
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28953
|
+
FROM sqlite_master
|
28954
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28955
|
+
UNION ALL
|
28956
|
+
SELECT sql
|
28957
|
+
FROM sqlite_temp_master
|
28958
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28959
|
+
|
28960
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_events_on_pid" ON "events" ("pid")[0m
|
28961
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28962
|
+
FROM sqlite_master
|
28963
|
+
WHERE name='index_events_on_pid' AND type='index'
|
28964
|
+
UNION ALL
|
28965
|
+
SELECT sql
|
28966
|
+
FROM sqlite_temp_master
|
28967
|
+
WHERE name='index_events_on_pid' AND type='index'
|
28968
|
+
|
28969
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28970
|
+
FROM sqlite_master
|
28971
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28972
|
+
UNION ALL
|
28973
|
+
SELECT sql
|
28974
|
+
FROM sqlite_temp_master
|
28975
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
28976
|
+
[0m
|
28977
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28978
|
+
FROM sqlite_master
|
28979
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28980
|
+
UNION ALL
|
28981
|
+
SELECT sql
|
28982
|
+
FROM sqlite_temp_master
|
28983
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
28984
|
+
|
28985
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_events_on_type" ON "events" ("type")[0m
|
28986
|
+
[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))
|
28987
|
+
[1m[36m (1.5ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
28988
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28989
|
+
FROM sqlite_master
|
28990
|
+
WHERE name='index_users_on_email' AND type='index'
|
28991
|
+
UNION ALL
|
28992
|
+
SELECT sql
|
28993
|
+
FROM sqlite_temp_master
|
28994
|
+
WHERE name='index_users_on_email' AND type='index'
|
28995
|
+
|
28996
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
28997
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28998
|
+
FROM sqlite_master
|
28999
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
29000
|
+
UNION ALL
|
29001
|
+
SELECT sql
|
29002
|
+
FROM sqlite_temp_master
|
29003
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
29004
|
+
|
29005
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
29006
|
+
FROM sqlite_master
|
29007
|
+
WHERE name='index_users_on_email' AND type='index'
|
29008
|
+
UNION ALL
|
29009
|
+
SELECT sql
|
29010
|
+
FROM sqlite_temp_master
|
29011
|
+
WHERE name='index_users_on_email' AND type='index'
|
29012
|
+
[0m
|
29013
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
29014
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
29015
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
29016
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
29017
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150130134416')
|
29018
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141021233359')[0m
|
29019
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
|
29020
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141103192146')[0m
|
29021
|
+
[1m[35m (4.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
|
29022
|
+
[1m[36m (7.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141107124012')[0m
|
29023
|
+
[1m[35m (19.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
29024
|
+
[1m[36m (6.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
29025
|
+
[1m[35m (7.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|
29026
|
+
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.
|
29027
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
29028
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
29029
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
29030
|
+
FROM sqlite_master
|
29031
|
+
WHERE name='index_events_on_type' AND type='index'
|
29032
|
+
UNION ALL
|
29033
|
+
SELECT sql
|
29034
|
+
FROM sqlite_temp_master
|
29035
|
+
WHERE name='index_events_on_type' AND type='index'
|
29036
|
+
[0m
|
29037
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
29038
|
+
FROM sqlite_master
|
29039
|
+
WHERE name='index_events_on_pid' AND type='index'
|
29040
|
+
UNION ALL
|
29041
|
+
SELECT sql
|
29042
|
+
FROM sqlite_temp_master
|
29043
|
+
WHERE name='index_events_on_pid' AND type='index'
|
29044
|
+
|
29045
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
29046
|
+
FROM sqlite_master
|
29047
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
29048
|
+
UNION ALL
|
29049
|
+
SELECT sql
|
29050
|
+
FROM sqlite_temp_master
|
29051
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
29052
|
+
[0m
|
29053
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
29054
|
+
FROM sqlite_master
|
29055
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
29056
|
+
UNION ALL
|
29057
|
+
SELECT sql
|
29058
|
+
FROM sqlite_temp_master
|
29059
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
29060
|
+
|
29061
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
29062
|
+
FROM sqlite_master
|
29063
|
+
WHERE name='index_users_on_username' AND type='index'
|
29064
|
+
UNION ALL
|
29065
|
+
SELECT sql
|
29066
|
+
FROM sqlite_temp_master
|
29067
|
+
WHERE name='index_users_on_username' AND type='index'
|
29068
|
+
[0m
|
29069
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
29070
|
+
FROM sqlite_master
|
29071
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
29072
|
+
UNION ALL
|
29073
|
+
SELECT sql
|
29074
|
+
FROM sqlite_temp_master
|
29075
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
29076
|
+
|
29077
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
29078
|
+
FROM sqlite_master
|
29079
|
+
WHERE name='index_users_on_email' AND type='index'
|
29080
|
+
UNION ALL
|
29081
|
+
SELECT sql
|
29082
|
+
FROM sqlite_temp_master
|
29083
|
+
WHERE name='index_users_on_email' AND type='index'
|
29084
|
+
[0m
|
29085
|
+
[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" varchar(255), "user_key" varchar(255))
|
29086
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
29087
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
|
29088
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
29089
|
+
FROM sqlite_master
|
29090
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
29091
|
+
UNION ALL
|
29092
|
+
SELECT sql
|
29093
|
+
FROM sqlite_temp_master
|
29094
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
29095
|
+
[0m
|
29096
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
|
29097
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
29098
|
+
FROM sqlite_master
|
29099
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
29100
|
+
UNION ALL
|
29101
|
+
SELECT sql
|
29102
|
+
FROM sqlite_temp_master
|
29103
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
29104
|
+
[0m
|
29105
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
29106
|
+
FROM sqlite_master
|
29107
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
29108
|
+
UNION ALL
|
29109
|
+
SELECT sql
|
29110
|
+
FROM sqlite_temp_master
|
29111
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
29112
|
+
|
29113
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_events_on_pid" ON "events" ("pid")[0m
|
29114
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
29115
|
+
FROM sqlite_master
|
29116
|
+
WHERE name='index_events_on_pid' AND type='index'
|
29117
|
+
UNION ALL
|
29118
|
+
SELECT sql
|
29119
|
+
FROM sqlite_temp_master
|
29120
|
+
WHERE name='index_events_on_pid' AND type='index'
|
29121
|
+
|
29122
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
29123
|
+
FROM sqlite_master
|
29124
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
29125
|
+
UNION ALL
|
29126
|
+
SELECT sql
|
29127
|
+
FROM sqlite_temp_master
|
29128
|
+
WHERE name='index_events_on_outcome' AND type='index'
|
29129
|
+
[0m
|
29130
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
29131
|
+
FROM sqlite_master
|
29132
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
29133
|
+
UNION ALL
|
29134
|
+
SELECT sql
|
29135
|
+
FROM sqlite_temp_master
|
29136
|
+
WHERE name='index_events_on_event_date_time' AND type='index'
|
29137
|
+
|
29138
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_events_on_type" ON "events" ("type")[0m
|
29139
|
+
[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))
|
29140
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
29141
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
29142
|
+
FROM sqlite_master
|
29143
|
+
WHERE name='index_users_on_email' AND type='index'
|
29144
|
+
UNION ALL
|
29145
|
+
SELECT sql
|
29146
|
+
FROM sqlite_temp_master
|
29147
|
+
WHERE name='index_users_on_email' AND type='index'
|
29148
|
+
|
29149
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
29150
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
29151
|
+
FROM sqlite_master
|
29152
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
29153
|
+
UNION ALL
|
29154
|
+
SELECT sql
|
29155
|
+
FROM sqlite_temp_master
|
29156
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
29157
|
+
|
29158
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
29159
|
+
FROM sqlite_master
|
29160
|
+
WHERE name='index_users_on_email' AND type='index'
|
29161
|
+
UNION ALL
|
29162
|
+
SELECT sql
|
29163
|
+
FROM sqlite_temp_master
|
29164
|
+
WHERE name='index_users_on_email' AND type='index'
|
29165
|
+
[0m
|
29166
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
29167
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
29168
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
29169
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
29170
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150130134416')
|
29171
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141021233359')[0m
|
29172
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
|
29173
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141103192146')[0m
|
29174
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
|
29175
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141107124012')[0m
|
29176
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
|
29177
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141218020612')[0m
|
29178
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
|