ddr-models 1.12.0 → 1.12.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6a7d4a0eb5bff65cd422cdecc6c9a80a1676b13
4
- data.tar.gz: 16e2b9cd1b296430fdae20b3de5c680acae7c2a5
3
+ metadata.gz: ff6c451f519c5baa013281b1b54da33ebdf59353
4
+ data.tar.gz: 2dabbb544c542a2c39eddae0c0b360f202b54d23
5
5
  SHA512:
6
- metadata.gz: ca20806ec02e8961c8463a0a2a56e52ae58a5c4e6bd53a32bcef760f54d9b6ebaa235621c9a278a8938c6d2889b43cd3f059526edc9167086011cf080f9e7079
7
- data.tar.gz: d6b05541a63bccf94273ed2b536bd4af1c827d1f3f1c637e8e43ae55881fc455dfe9e2c07492b03c825e8a9081686c2f9296cb39a02b21a2cd29282445eb5573
6
+ metadata.gz: 43ce444d5041403c0d460035f063b3b12f45bc45f9feac14ab7ebd87f503574c28ffda1e5755a6e52cce6e5582505c1acda030721e63e07b928089a251652668
7
+ data.tar.gz: 5340a71dca2c6cbbb1eabda6cf5fc242631b768cec8145e3bf3a739f360caf8a9d50511bdd2cf3c3a89adf63651d7ec6a1bf94d3cf217a3ccf2dba2005777560
@@ -4,39 +4,45 @@ module Ddr
4
4
  def self.solr_name(*args)
5
5
  ActiveFedora::SolrService.solr_name(*args)
6
6
  end
7
-
8
- ACTIVE_FEDORA_MODEL = solr_name :active_fedora_model, :stored_sortable
9
- COLLECTION_URI = solr_name :collection_uri, :symbol
10
- CONTENT_CONTROL_GROUP = solr_name :content_control_group, :searchable, type: :string
11
- CONTENT_SIZE = solr_name :content_size, :stored_sortable, type: :integer
12
- CONTENT_SIZE_HUMAN = solr_name :content_size_human, :symbol
13
- FILE_GROUP = solr_name :struct_metadata__file_group, :stored_sortable
14
- FILE_USE = solr_name :struct_metadata__file_use, :stored_sortable
15
- HAS_MODEL = solr_name :has_model, :symbol
16
- IDENTIFIER = solr_name :identifier, :stored_sortable
17
- INTERNAL_URI = solr_name :internal_uri, :stored_sortable
18
- IS_ATTACHED_TO = solr_name :is_attached_to, :symbol
19
- IS_EXTERNAL_TARGET_FOR = solr_name :is_external_target_for, :symbol
20
- IS_GOVERNED_BY = solr_name :is_governed_by, :symbol
21
- IS_MEMBER_OF = solr_name :is_member_of, :symbol
22
- IS_MEMBER_OF_COLLECTION = solr_name :is_member_of_collection, :symbol
23
- IS_PART_OF = solr_name :is_part_of, :symbol
24
- LAST_FIXITY_CHECK_ON = solr_name :last_fixity_check_on, :stored_sortable, type: :date
25
- LAST_FIXITY_CHECK_OUTCOME = solr_name :last_fixity_check_outcome, :symbol
26
- LAST_VIRUS_CHECK_ON = solr_name :last_virus_check_on, :stored_sortable, type: :date
27
- LAST_VIRUS_CHECK_OUTCOME = solr_name :last_virus_check_outcome, :symbol
28
- MEDIA_SUB_TYPE = solr_name :content_media_sub_type, :facetable
29
- MEDIA_MAJOR_TYPE = solr_name :content_media_major_type, :facetable
30
- MEDIA_TYPE = solr_name :content_media_type, :symbol
31
- OBJECT_PROFILE = solr_name :object_profile, :displayable
32
- OBJECT_STATE = solr_name :object_state, :stored_sortable
33
- OBJECT_CREATE_DATE = solr_name :system_create, :stored_sortable, type: :date
34
- OBJECT_MODIFIED_DATE = solr_name :system_modified, :stored_sortable, type: :date
35
- ORDER = solr_name :struct_metadata__order, :stored_sortable, type: :integer
36
- PERMANENT_ID = solr_name :permanent_id, :stored_sortable, type: :string
37
- PERMANENT_URL = solr_name :permanent_url, :stored_sortable, type: :string
38
- TITLE = solr_name :title, :stored_sortable
39
- WORKFLOW_STATE = solr_name :workflow_state, :stored_sortable
7
+
8
+ ACTIVE_FEDORA_MODEL = solr_name :active_fedora_model, :stored_sortable
9
+ COLLECTION_URI = solr_name :collection_uri, :symbol
10
+ CONTENT_CONTROL_GROUP = solr_name :content_control_group, :searchable, type: :string
11
+ CONTENT_SIZE = solr_name :content_size, :stored_sortable, type: :integer
12
+ CONTENT_SIZE_HUMAN = solr_name :content_size_human, :symbol
13
+ DEFAULT_LICENSE_DESCRIPTION = solr_name :default_license_description, type: :string
14
+ DEFAULT_LICENSE_TITLE = solr_name :default_license_title, type: :string
15
+ DEFAULT_LICENSE_URL = solr_name :default_license_url, type: :string
16
+ FILE_GROUP = solr_name :struct_metadata__file_group, :stored_sortable
17
+ FILE_USE = solr_name :struct_metadata__file_use, :stored_sortable
18
+ HAS_MODEL = solr_name :has_model, :symbol
19
+ IDENTIFIER = solr_name :identifier, :stored_sortable
20
+ INTERNAL_URI = solr_name :internal_uri, :stored_sortable
21
+ IS_ATTACHED_TO = solr_name :is_attached_to, :symbol
22
+ IS_EXTERNAL_TARGET_FOR = solr_name :is_external_target_for, :symbol
23
+ IS_GOVERNED_BY = solr_name :is_governed_by, :symbol
24
+ IS_MEMBER_OF = solr_name :is_member_of, :symbol
25
+ IS_MEMBER_OF_COLLECTION = solr_name :is_member_of_collection, :symbol
26
+ IS_PART_OF = solr_name :is_part_of, :symbol
27
+ LAST_FIXITY_CHECK_ON = solr_name :last_fixity_check_on, :stored_sortable, type: :date
28
+ LAST_FIXITY_CHECK_OUTCOME = solr_name :last_fixity_check_outcome, :symbol
29
+ LAST_VIRUS_CHECK_ON = solr_name :last_virus_check_on, :stored_sortable, type: :date
30
+ LAST_VIRUS_CHECK_OUTCOME = solr_name :last_virus_check_outcome, :symbol
31
+ LICENSE_DESCRIPTION = solr_name :license_description, type: :string
32
+ LICENSE_TITLE = solr_name :license_title, type: :string
33
+ LICENSE_URL = solr_name :license_url, type: :string
34
+ MEDIA_SUB_TYPE = solr_name :content_media_sub_type, :facetable
35
+ MEDIA_MAJOR_TYPE = solr_name :content_media_major_type, :facetable
36
+ MEDIA_TYPE = solr_name :content_media_type, :symbol
37
+ OBJECT_PROFILE = solr_name :object_profile, :displayable
38
+ OBJECT_STATE = solr_name :object_state, :stored_sortable
39
+ OBJECT_CREATE_DATE = solr_name :system_create, :stored_sortable, type: :date
40
+ OBJECT_MODIFIED_DATE = solr_name :system_modified, :stored_sortable, type: :date
41
+ ORDER = solr_name :struct_metadata__order, :stored_sortable, type: :integer
42
+ PERMANENT_ID = solr_name :permanent_id, :stored_sortable, type: :string
43
+ PERMANENT_URL = solr_name :permanent_url, :stored_sortable, type: :string
44
+ TITLE = solr_name :title, :stored_sortable
45
+ WORKFLOW_STATE = solr_name :workflow_state, :stored_sortable
40
46
 
41
47
  end
42
48
  end
@@ -30,6 +30,11 @@ module Ddr
30
30
  last_virus_check = virus_checks.last
31
31
  fields.merge!(last_virus_check.to_solr) if last_virus_check
32
32
  end
33
+ if respond_to? :license
34
+ fields[LICENSE_DESCRIPTION] = license_description,
35
+ fields[LICENSE_TITLE] = license_title,
36
+ fields[LICENSE_URL] = license_url
37
+ end
33
38
  if has_content?
34
39
  fields[CONTENT_CONTROL_GROUP] = content.controlGroup
35
40
  fields[CONTENT_SIZE] = content_size
@@ -41,6 +46,11 @@ module Ddr
41
46
  if is_a? Component
42
47
  fields[COLLECTION_URI] = collection_uri
43
48
  end
49
+ if is_a? Collection
50
+ fields[DEFAULT_LICENSE_DESCRIPTION] = default_license_description,
51
+ fields[DEFAULT_LICENSE_TITLE] = default_license_title,
52
+ fields[DEFAULT_LICENSE_URL] = default_license_url
53
+ end
44
54
  fields
45
55
  end
46
56
 
@@ -1,5 +1,5 @@
1
1
  module Ddr
2
2
  module Models
3
- VERSION = "1.12.0"
3
+ VERSION = "1.12.1"
4
4
  end
5
5
  end
@@ -14615,3 +14615,1382 @@ Using the default predicate_mappings.yml that comes with active-fedora. If you
14615
14615
   (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
14616
14616
   (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141218020612')
14617
14617
   (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
14618
+ 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.
14619
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
14620
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
14621
+  (0.1ms)  SELECT sql
14622
+ FROM sqlite_master
14623
+ WHERE name='index_events_on_type' AND type='index'
14624
+ UNION ALL
14625
+ SELECT sql
14626
+ FROM sqlite_temp_master
14627
+ WHERE name='index_events_on_type' AND type='index'
14628
+ 
14629
+  (0.1ms) SELECT sql
14630
+ FROM sqlite_master
14631
+ WHERE name='index_events_on_pid' AND type='index'
14632
+ UNION ALL
14633
+ SELECT sql
14634
+ FROM sqlite_temp_master
14635
+ WHERE name='index_events_on_pid' AND type='index'
14636
+
14637
+  (0.1ms)  SELECT sql
14638
+ FROM sqlite_master
14639
+ WHERE name='index_events_on_outcome' AND type='index'
14640
+ UNION ALL
14641
+ SELECT sql
14642
+ FROM sqlite_temp_master
14643
+ WHERE name='index_events_on_outcome' AND type='index'
14644
+ 
14645
+  (0.1ms) SELECT sql
14646
+ FROM sqlite_master
14647
+ WHERE name='index_events_on_event_date_time' AND type='index'
14648
+ UNION ALL
14649
+ SELECT sql
14650
+ FROM sqlite_temp_master
14651
+ WHERE name='index_events_on_event_date_time' AND type='index'
14652
+
14653
+  (0.1ms)  SELECT sql
14654
+ FROM sqlite_master
14655
+ WHERE name='index_users_on_username' AND type='index'
14656
+ UNION ALL
14657
+ SELECT sql
14658
+ FROM sqlite_temp_master
14659
+ WHERE name='index_users_on_username' AND type='index'
14660
+ 
14661
+  (0.1ms) SELECT sql
14662
+ FROM sqlite_master
14663
+ WHERE name='index_users_on_reset_password_token' AND type='index'
14664
+ UNION ALL
14665
+ SELECT sql
14666
+ FROM sqlite_temp_master
14667
+ WHERE name='index_users_on_reset_password_token' AND type='index'
14668
+
14669
+  (0.1ms)  SELECT sql
14670
+ FROM sqlite_master
14671
+ WHERE name='index_users_on_email' AND type='index'
14672
+ UNION ALL
14673
+ SELECT sql
14674
+ FROM sqlite_temp_master
14675
+ WHERE name='index_users_on_email' AND type='index'
14676
+ 
14677
+  (1.2ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text, "exception" varchar(255), "user_key" varchar(255))
14678
+  (0.1ms) select sqlite_version(*)
14679
+  (0.9ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
14680
+  (0.1ms)  SELECT sql
14681
+ FROM sqlite_master
14682
+ WHERE name='index_events_on_event_date_time' AND type='index'
14683
+ UNION ALL
14684
+ SELECT sql
14685
+ FROM sqlite_temp_master
14686
+ WHERE name='index_events_on_event_date_time' AND type='index'
14687
+ 
14688
+  (1.0ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
14689
+  (0.1ms)  SELECT sql
14690
+ FROM sqlite_master
14691
+ WHERE name='index_events_on_outcome' AND type='index'
14692
+ UNION ALL
14693
+ SELECT sql
14694
+ FROM sqlite_temp_master
14695
+ WHERE name='index_events_on_outcome' AND type='index'
14696
+ 
14697
+  (0.1ms) SELECT sql
14698
+ FROM sqlite_master
14699
+ WHERE name='index_events_on_event_date_time' AND type='index'
14700
+ UNION ALL
14701
+ SELECT sql
14702
+ FROM sqlite_temp_master
14703
+ WHERE name='index_events_on_event_date_time' AND type='index'
14704
+
14705
+  (1.0ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")
14706
+  (0.1ms) SELECT sql
14707
+ FROM sqlite_master
14708
+ WHERE name='index_events_on_pid' AND type='index'
14709
+ UNION ALL
14710
+ SELECT sql
14711
+ FROM sqlite_temp_master
14712
+ WHERE name='index_events_on_pid' AND type='index'
14713
+
14714
+  (0.1ms)  SELECT sql
14715
+ FROM sqlite_master
14716
+ WHERE name='index_events_on_outcome' AND type='index'
14717
+ UNION ALL
14718
+ SELECT sql
14719
+ FROM sqlite_temp_master
14720
+ WHERE name='index_events_on_outcome' AND type='index'
14721
+ 
14722
+  (0.1ms) SELECT sql
14723
+ FROM sqlite_master
14724
+ WHERE name='index_events_on_event_date_time' AND type='index'
14725
+ UNION ALL
14726
+ SELECT sql
14727
+ FROM sqlite_temp_master
14728
+ WHERE name='index_events_on_event_date_time' AND type='index'
14729
+
14730
+  (1.0ms) CREATE INDEX "index_events_on_type" ON "events" ("type")
14731
+  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))
14732
+  (1.0ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
14733
+  (0.1ms) SELECT sql
14734
+ FROM sqlite_master
14735
+ WHERE name='index_users_on_email' AND type='index'
14736
+ UNION ALL
14737
+ SELECT sql
14738
+ FROM sqlite_temp_master
14739
+ WHERE name='index_users_on_email' AND type='index'
14740
+
14741
+  (1.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
14742
+  (0.2ms) SELECT sql
14743
+ FROM sqlite_master
14744
+ WHERE name='index_users_on_reset_password_token' AND type='index'
14745
+ UNION ALL
14746
+ SELECT sql
14747
+ FROM sqlite_temp_master
14748
+ WHERE name='index_users_on_reset_password_token' AND type='index'
14749
+
14750
+  (0.1ms)  SELECT sql
14751
+ FROM sqlite_master
14752
+ WHERE name='index_users_on_email' AND type='index'
14753
+ UNION ALL
14754
+ SELECT sql
14755
+ FROM sqlite_temp_master
14756
+ WHERE name='index_users_on_email' AND type='index'
14757
+ 
14758
+  (1.3ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
14759
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
14760
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
14761
+  (0.1ms) SELECT version FROM "schema_migrations"
14762
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150130134416')
14763
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359')
14764
+  (22.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
14765
+  (8.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146')
14766
+  (7.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
14767
+  (9.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012')
14768
+  (7.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
14769
+  (13.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141218020612')
14770
+  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
14771
+ 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.
14772
+ 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.
14773
+ 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.
14774
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
14775
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
14776
+  (0.1ms)  SELECT sql
14777
+ FROM sqlite_master
14778
+ WHERE name='index_events_on_type' AND type='index'
14779
+ UNION ALL
14780
+ SELECT sql
14781
+ FROM sqlite_temp_master
14782
+ WHERE name='index_events_on_type' AND type='index'
14783
+ 
14784
+  (0.2ms) SELECT sql
14785
+ FROM sqlite_master
14786
+ WHERE name='index_events_on_pid' AND type='index'
14787
+ UNION ALL
14788
+ SELECT sql
14789
+ FROM sqlite_temp_master
14790
+ WHERE name='index_events_on_pid' AND type='index'
14791
+
14792
+  (0.1ms)  SELECT sql
14793
+ FROM sqlite_master
14794
+ WHERE name='index_events_on_outcome' AND type='index'
14795
+ UNION ALL
14796
+ SELECT sql
14797
+ FROM sqlite_temp_master
14798
+ WHERE name='index_events_on_outcome' AND type='index'
14799
+ 
14800
+  (0.1ms) SELECT sql
14801
+ FROM sqlite_master
14802
+ WHERE name='index_events_on_event_date_time' AND type='index'
14803
+ UNION ALL
14804
+ SELECT sql
14805
+ FROM sqlite_temp_master
14806
+ WHERE name='index_events_on_event_date_time' AND type='index'
14807
+
14808
+  (0.1ms)  SELECT sql
14809
+ FROM sqlite_master
14810
+ WHERE name='index_users_on_username' AND type='index'
14811
+ UNION ALL
14812
+ SELECT sql
14813
+ FROM sqlite_temp_master
14814
+ WHERE name='index_users_on_username' AND type='index'
14815
+ 
14816
+  (0.1ms) SELECT sql
14817
+ FROM sqlite_master
14818
+ WHERE name='index_users_on_reset_password_token' AND type='index'
14819
+ UNION ALL
14820
+ SELECT sql
14821
+ FROM sqlite_temp_master
14822
+ WHERE name='index_users_on_reset_password_token' AND type='index'
14823
+
14824
+  (0.1ms)  SELECT sql
14825
+ FROM sqlite_master
14826
+ WHERE name='index_users_on_email' AND type='index'
14827
+ UNION ALL
14828
+ SELECT sql
14829
+ FROM sqlite_temp_master
14830
+ WHERE name='index_users_on_email' AND type='index'
14831
+ 
14832
+  (1.4ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text, "exception" varchar(255), "user_key" varchar(255))
14833
+  (0.1ms) select sqlite_version(*)
14834
+  (1.2ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
14835
+  (0.2ms)  SELECT sql
14836
+ FROM sqlite_master
14837
+ WHERE name='index_events_on_event_date_time' AND type='index'
14838
+ UNION ALL
14839
+ SELECT sql
14840
+ FROM sqlite_temp_master
14841
+ WHERE name='index_events_on_event_date_time' AND type='index'
14842
+ 
14843
+  (1.3ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
14844
+  (0.1ms)  SELECT sql
14845
+ FROM sqlite_master
14846
+ WHERE name='index_events_on_outcome' AND type='index'
14847
+ UNION ALL
14848
+ SELECT sql
14849
+ FROM sqlite_temp_master
14850
+ WHERE name='index_events_on_outcome' AND type='index'
14851
+ 
14852
+  (0.1ms) SELECT sql
14853
+ FROM sqlite_master
14854
+ WHERE name='index_events_on_event_date_time' AND type='index'
14855
+ UNION ALL
14856
+ SELECT sql
14857
+ FROM sqlite_temp_master
14858
+ WHERE name='index_events_on_event_date_time' AND type='index'
14859
+
14860
+  (1.3ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")
14861
+  (0.2ms) SELECT sql
14862
+ FROM sqlite_master
14863
+ WHERE name='index_events_on_pid' AND type='index'
14864
+ UNION ALL
14865
+ SELECT sql
14866
+ FROM sqlite_temp_master
14867
+ WHERE name='index_events_on_pid' AND type='index'
14868
+
14869
+  (0.1ms)  SELECT sql
14870
+ FROM sqlite_master
14871
+ WHERE name='index_events_on_outcome' AND type='index'
14872
+ UNION ALL
14873
+ SELECT sql
14874
+ FROM sqlite_temp_master
14875
+ WHERE name='index_events_on_outcome' AND type='index'
14876
+ 
14877
+  (0.1ms) SELECT sql
14878
+ FROM sqlite_master
14879
+ WHERE name='index_events_on_event_date_time' AND type='index'
14880
+ UNION ALL
14881
+ SELECT sql
14882
+ FROM sqlite_temp_master
14883
+ WHERE name='index_events_on_event_date_time' AND type='index'
14884
+
14885
+  (1.2ms) CREATE INDEX "index_events_on_type" ON "events" ("type")
14886
+  (1.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))
14887
+  (1.2ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
14888
+  (0.1ms) SELECT sql
14889
+ FROM sqlite_master
14890
+ WHERE name='index_users_on_email' AND type='index'
14891
+ UNION ALL
14892
+ SELECT sql
14893
+ FROM sqlite_temp_master
14894
+ WHERE name='index_users_on_email' AND type='index'
14895
+
14896
+  (1.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
14897
+  (0.1ms) SELECT sql
14898
+ FROM sqlite_master
14899
+ WHERE name='index_users_on_reset_password_token' AND type='index'
14900
+ UNION ALL
14901
+ SELECT sql
14902
+ FROM sqlite_temp_master
14903
+ WHERE name='index_users_on_reset_password_token' AND type='index'
14904
+
14905
+  (0.1ms)  SELECT sql
14906
+ FROM sqlite_master
14907
+ WHERE name='index_users_on_email' AND type='index'
14908
+ UNION ALL
14909
+ SELECT sql
14910
+ FROM sqlite_temp_master
14911
+ WHERE name='index_users_on_email' AND type='index'
14912
+ 
14913
+  (1.3ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
14914
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
14915
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
14916
+  (0.1ms) SELECT version FROM "schema_migrations"
14917
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150130134416')
14918
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359')
14919
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
14920
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146')
14921
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
14922
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012')
14923
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
14924
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141218020612')
14925
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
14926
+ 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.
14927
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
14928
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
14929
+  (0.1ms)  SELECT sql
14930
+ FROM sqlite_master
14931
+ WHERE name='index_events_on_type' AND type='index'
14932
+ UNION ALL
14933
+ SELECT sql
14934
+ FROM sqlite_temp_master
14935
+ WHERE name='index_events_on_type' AND type='index'
14936
+ 
14937
+  (0.1ms) SELECT sql
14938
+ FROM sqlite_master
14939
+ WHERE name='index_events_on_pid' AND type='index'
14940
+ UNION ALL
14941
+ SELECT sql
14942
+ FROM sqlite_temp_master
14943
+ WHERE name='index_events_on_pid' AND type='index'
14944
+
14945
+  (0.1ms)  SELECT sql
14946
+ FROM sqlite_master
14947
+ WHERE name='index_events_on_outcome' AND type='index'
14948
+ UNION ALL
14949
+ SELECT sql
14950
+ FROM sqlite_temp_master
14951
+ WHERE name='index_events_on_outcome' AND type='index'
14952
+ 
14953
+  (0.1ms) SELECT sql
14954
+ FROM sqlite_master
14955
+ WHERE name='index_events_on_event_date_time' AND type='index'
14956
+ UNION ALL
14957
+ SELECT sql
14958
+ FROM sqlite_temp_master
14959
+ WHERE name='index_events_on_event_date_time' AND type='index'
14960
+
14961
+  (0.1ms)  SELECT sql
14962
+ FROM sqlite_master
14963
+ WHERE name='index_users_on_username' AND type='index'
14964
+ UNION ALL
14965
+ SELECT sql
14966
+ FROM sqlite_temp_master
14967
+ WHERE name='index_users_on_username' AND type='index'
14968
+ 
14969
+  (0.1ms) SELECT sql
14970
+ FROM sqlite_master
14971
+ WHERE name='index_users_on_reset_password_token' AND type='index'
14972
+ UNION ALL
14973
+ SELECT sql
14974
+ FROM sqlite_temp_master
14975
+ WHERE name='index_users_on_reset_password_token' AND type='index'
14976
+
14977
+  (0.1ms)  SELECT sql
14978
+ FROM sqlite_master
14979
+ WHERE name='index_users_on_email' AND type='index'
14980
+ UNION ALL
14981
+ SELECT sql
14982
+ FROM sqlite_temp_master
14983
+ WHERE name='index_users_on_email' AND type='index'
14984
+ 
14985
+  (1.2ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text, "exception" varchar(255), "user_key" varchar(255))
14986
+  (0.0ms) select sqlite_version(*)
14987
+  (1.8ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
14988
+  (0.2ms)  SELECT sql
14989
+ FROM sqlite_master
14990
+ WHERE name='index_events_on_event_date_time' AND type='index'
14991
+ UNION ALL
14992
+ SELECT sql
14993
+ FROM sqlite_temp_master
14994
+ WHERE name='index_events_on_event_date_time' AND type='index'
14995
+ 
14996
+  (1.2ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
14997
+  (0.1ms)  SELECT sql
14998
+ FROM sqlite_master
14999
+ WHERE name='index_events_on_outcome' AND type='index'
15000
+ UNION ALL
15001
+ SELECT sql
15002
+ FROM sqlite_temp_master
15003
+ WHERE name='index_events_on_outcome' AND type='index'
15004
+ 
15005
+  (0.1ms) SELECT sql
15006
+ FROM sqlite_master
15007
+ WHERE name='index_events_on_event_date_time' AND type='index'
15008
+ UNION ALL
15009
+ SELECT sql
15010
+ FROM sqlite_temp_master
15011
+ WHERE name='index_events_on_event_date_time' AND type='index'
15012
+
15013
+  (1.2ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")
15014
+  (0.1ms) SELECT sql
15015
+ FROM sqlite_master
15016
+ WHERE name='index_events_on_pid' AND type='index'
15017
+ UNION ALL
15018
+ SELECT sql
15019
+ FROM sqlite_temp_master
15020
+ WHERE name='index_events_on_pid' AND type='index'
15021
+
15022
+  (0.1ms)  SELECT sql
15023
+ FROM sqlite_master
15024
+ WHERE name='index_events_on_outcome' AND type='index'
15025
+ UNION ALL
15026
+ SELECT sql
15027
+ FROM sqlite_temp_master
15028
+ WHERE name='index_events_on_outcome' AND type='index'
15029
+ 
15030
+  (0.1ms) SELECT sql
15031
+ FROM sqlite_master
15032
+ WHERE name='index_events_on_event_date_time' AND type='index'
15033
+ UNION ALL
15034
+ SELECT sql
15035
+ FROM sqlite_temp_master
15036
+ WHERE name='index_events_on_event_date_time' AND type='index'
15037
+
15038
+  (0.9ms) CREATE INDEX "index_events_on_type" ON "events" ("type")
15039
+  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))
15040
+  (1.0ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
15041
+  (0.1ms) SELECT sql
15042
+ FROM sqlite_master
15043
+ WHERE name='index_users_on_email' AND type='index'
15044
+ UNION ALL
15045
+ SELECT sql
15046
+ FROM sqlite_temp_master
15047
+ WHERE name='index_users_on_email' AND type='index'
15048
+
15049
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
15050
+  (0.1ms) SELECT sql
15051
+ FROM sqlite_master
15052
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15053
+ UNION ALL
15054
+ SELECT sql
15055
+ FROM sqlite_temp_master
15056
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15057
+
15058
+  (0.1ms)  SELECT sql
15059
+ FROM sqlite_master
15060
+ WHERE name='index_users_on_email' AND type='index'
15061
+ UNION ALL
15062
+ SELECT sql
15063
+ FROM sqlite_temp_master
15064
+ WHERE name='index_users_on_email' AND type='index'
15065
+ 
15066
+  (1.4ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
15067
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
15068
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
15069
+  (0.1ms) SELECT version FROM "schema_migrations"
15070
+  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150130134416')
15071
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359')
15072
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
15073
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146')
15074
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
15075
+  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012')
15076
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
15077
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141218020612')
15078
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
15079
+ 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.
15080
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15081
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15082
+  (0.1ms)  SELECT sql
15083
+ FROM sqlite_master
15084
+ WHERE name='index_events_on_type' AND type='index'
15085
+ UNION ALL
15086
+ SELECT sql
15087
+ FROM sqlite_temp_master
15088
+ WHERE name='index_events_on_type' AND type='index'
15089
+ 
15090
+  (0.1ms) SELECT sql
15091
+ FROM sqlite_master
15092
+ WHERE name='index_events_on_pid' AND type='index'
15093
+ UNION ALL
15094
+ SELECT sql
15095
+ FROM sqlite_temp_master
15096
+ WHERE name='index_events_on_pid' AND type='index'
15097
+
15098
+  (0.1ms)  SELECT sql
15099
+ FROM sqlite_master
15100
+ WHERE name='index_events_on_outcome' AND type='index'
15101
+ UNION ALL
15102
+ SELECT sql
15103
+ FROM sqlite_temp_master
15104
+ WHERE name='index_events_on_outcome' AND type='index'
15105
+ 
15106
+  (0.1ms) SELECT sql
15107
+ FROM sqlite_master
15108
+ WHERE name='index_events_on_event_date_time' AND type='index'
15109
+ UNION ALL
15110
+ SELECT sql
15111
+ FROM sqlite_temp_master
15112
+ WHERE name='index_events_on_event_date_time' AND type='index'
15113
+
15114
+  (0.1ms)  SELECT sql
15115
+ FROM sqlite_master
15116
+ WHERE name='index_users_on_username' AND type='index'
15117
+ UNION ALL
15118
+ SELECT sql
15119
+ FROM sqlite_temp_master
15120
+ WHERE name='index_users_on_username' AND type='index'
15121
+ 
15122
+  (0.1ms) SELECT sql
15123
+ FROM sqlite_master
15124
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15125
+ UNION ALL
15126
+ SELECT sql
15127
+ FROM sqlite_temp_master
15128
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15129
+
15130
+  (0.1ms)  SELECT sql
15131
+ FROM sqlite_master
15132
+ WHERE name='index_users_on_email' AND type='index'
15133
+ UNION ALL
15134
+ SELECT sql
15135
+ FROM sqlite_temp_master
15136
+ WHERE name='index_users_on_email' AND type='index'
15137
+ 
15138
+  (1.6ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text, "exception" varchar(255), "user_key" varchar(255))
15139
+  (0.1ms) select sqlite_version(*)
15140
+  (1.0ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
15141
+  (0.1ms)  SELECT sql
15142
+ FROM sqlite_master
15143
+ WHERE name='index_events_on_event_date_time' AND type='index'
15144
+ UNION ALL
15145
+ SELECT sql
15146
+ FROM sqlite_temp_master
15147
+ WHERE name='index_events_on_event_date_time' AND type='index'
15148
+ 
15149
+  (0.8ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
15150
+  (0.1ms)  SELECT sql
15151
+ FROM sqlite_master
15152
+ WHERE name='index_events_on_outcome' AND type='index'
15153
+ UNION ALL
15154
+ SELECT sql
15155
+ FROM sqlite_temp_master
15156
+ WHERE name='index_events_on_outcome' AND type='index'
15157
+ 
15158
+  (0.1ms) SELECT sql
15159
+ FROM sqlite_master
15160
+ WHERE name='index_events_on_event_date_time' AND type='index'
15161
+ UNION ALL
15162
+ SELECT sql
15163
+ FROM sqlite_temp_master
15164
+ WHERE name='index_events_on_event_date_time' AND type='index'
15165
+
15166
+  (0.9ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")
15167
+  (0.1ms) SELECT sql
15168
+ FROM sqlite_master
15169
+ WHERE name='index_events_on_pid' AND type='index'
15170
+ UNION ALL
15171
+ SELECT sql
15172
+ FROM sqlite_temp_master
15173
+ WHERE name='index_events_on_pid' AND type='index'
15174
+
15175
+  (0.1ms)  SELECT sql
15176
+ FROM sqlite_master
15177
+ WHERE name='index_events_on_outcome' AND type='index'
15178
+ UNION ALL
15179
+ SELECT sql
15180
+ FROM sqlite_temp_master
15181
+ WHERE name='index_events_on_outcome' AND type='index'
15182
+ 
15183
+  (0.1ms) SELECT sql
15184
+ FROM sqlite_master
15185
+ WHERE name='index_events_on_event_date_time' AND type='index'
15186
+ UNION ALL
15187
+ SELECT sql
15188
+ FROM sqlite_temp_master
15189
+ WHERE name='index_events_on_event_date_time' AND type='index'
15190
+
15191
+  (0.9ms) CREATE INDEX "index_events_on_type" ON "events" ("type")
15192
+  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))
15193
+  (1.0ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
15194
+  (0.1ms) SELECT sql
15195
+ FROM sqlite_master
15196
+ WHERE name='index_users_on_email' AND type='index'
15197
+ UNION ALL
15198
+ SELECT sql
15199
+ FROM sqlite_temp_master
15200
+ WHERE name='index_users_on_email' AND type='index'
15201
+
15202
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
15203
+  (0.1ms) SELECT sql
15204
+ FROM sqlite_master
15205
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15206
+ UNION ALL
15207
+ SELECT sql
15208
+ FROM sqlite_temp_master
15209
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15210
+
15211
+  (0.1ms)  SELECT sql
15212
+ FROM sqlite_master
15213
+ WHERE name='index_users_on_email' AND type='index'
15214
+ UNION ALL
15215
+ SELECT sql
15216
+ FROM sqlite_temp_master
15217
+ WHERE name='index_users_on_email' AND type='index'
15218
+ 
15219
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
15220
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
15221
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
15222
+  (0.1ms) SELECT version FROM "schema_migrations"
15223
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150130134416')
15224
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359')
15225
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
15226
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146')
15227
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
15228
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012')
15229
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
15230
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141218020612')
15231
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
15232
+ 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.
15233
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15234
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15235
+  (0.1ms)  SELECT sql
15236
+ FROM sqlite_master
15237
+ WHERE name='index_events_on_type' AND type='index'
15238
+ UNION ALL
15239
+ SELECT sql
15240
+ FROM sqlite_temp_master
15241
+ WHERE name='index_events_on_type' AND type='index'
15242
+ 
15243
+  (0.1ms) SELECT sql
15244
+ FROM sqlite_master
15245
+ WHERE name='index_events_on_pid' AND type='index'
15246
+ UNION ALL
15247
+ SELECT sql
15248
+ FROM sqlite_temp_master
15249
+ WHERE name='index_events_on_pid' AND type='index'
15250
+
15251
+  (0.1ms)  SELECT sql
15252
+ FROM sqlite_master
15253
+ WHERE name='index_events_on_outcome' AND type='index'
15254
+ UNION ALL
15255
+ SELECT sql
15256
+ FROM sqlite_temp_master
15257
+ WHERE name='index_events_on_outcome' AND type='index'
15258
+ 
15259
+  (0.1ms) SELECT sql
15260
+ FROM sqlite_master
15261
+ WHERE name='index_events_on_event_date_time' AND type='index'
15262
+ UNION ALL
15263
+ SELECT sql
15264
+ FROM sqlite_temp_master
15265
+ WHERE name='index_events_on_event_date_time' AND type='index'
15266
+
15267
+  (0.1ms)  SELECT sql
15268
+ FROM sqlite_master
15269
+ WHERE name='index_users_on_username' AND type='index'
15270
+ UNION ALL
15271
+ SELECT sql
15272
+ FROM sqlite_temp_master
15273
+ WHERE name='index_users_on_username' AND type='index'
15274
+ 
15275
+  (0.1ms) SELECT sql
15276
+ FROM sqlite_master
15277
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15278
+ UNION ALL
15279
+ SELECT sql
15280
+ FROM sqlite_temp_master
15281
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15282
+
15283
+  (0.1ms)  SELECT sql
15284
+ FROM sqlite_master
15285
+ WHERE name='index_users_on_email' AND type='index'
15286
+ UNION ALL
15287
+ SELECT sql
15288
+ FROM sqlite_temp_master
15289
+ WHERE name='index_users_on_email' AND type='index'
15290
+ 
15291
+  (1.4ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text, "exception" varchar(255), "user_key" varchar(255))
15292
+  (0.1ms) select sqlite_version(*)
15293
+  (1.3ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
15294
+  (0.2ms)  SELECT sql
15295
+ FROM sqlite_master
15296
+ WHERE name='index_events_on_event_date_time' AND type='index'
15297
+ UNION ALL
15298
+ SELECT sql
15299
+ FROM sqlite_temp_master
15300
+ WHERE name='index_events_on_event_date_time' AND type='index'
15301
+ 
15302
+  (1.1ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
15303
+  (0.1ms)  SELECT sql
15304
+ FROM sqlite_master
15305
+ WHERE name='index_events_on_outcome' AND type='index'
15306
+ UNION ALL
15307
+ SELECT sql
15308
+ FROM sqlite_temp_master
15309
+ WHERE name='index_events_on_outcome' AND type='index'
15310
+ 
15311
+  (0.1ms) SELECT sql
15312
+ FROM sqlite_master
15313
+ WHERE name='index_events_on_event_date_time' AND type='index'
15314
+ UNION ALL
15315
+ SELECT sql
15316
+ FROM sqlite_temp_master
15317
+ WHERE name='index_events_on_event_date_time' AND type='index'
15318
+
15319
+  (1.1ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")
15320
+  (0.1ms) SELECT sql
15321
+ FROM sqlite_master
15322
+ WHERE name='index_events_on_pid' AND type='index'
15323
+ UNION ALL
15324
+ SELECT sql
15325
+ FROM sqlite_temp_master
15326
+ WHERE name='index_events_on_pid' AND type='index'
15327
+
15328
+  (0.1ms)  SELECT sql
15329
+ FROM sqlite_master
15330
+ WHERE name='index_events_on_outcome' AND type='index'
15331
+ UNION ALL
15332
+ SELECT sql
15333
+ FROM sqlite_temp_master
15334
+ WHERE name='index_events_on_outcome' AND type='index'
15335
+ 
15336
+  (0.1ms) SELECT sql
15337
+ FROM sqlite_master
15338
+ WHERE name='index_events_on_event_date_time' AND type='index'
15339
+ UNION ALL
15340
+ SELECT sql
15341
+ FROM sqlite_temp_master
15342
+ WHERE name='index_events_on_event_date_time' AND type='index'
15343
+
15344
+  (1.0ms) CREATE INDEX "index_events_on_type" ON "events" ("type")
15345
+  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))
15346
+  (5.4ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
15347
+  (0.1ms) SELECT sql
15348
+ FROM sqlite_master
15349
+ WHERE name='index_users_on_email' AND type='index'
15350
+ UNION ALL
15351
+ SELECT sql
15352
+ FROM sqlite_temp_master
15353
+ WHERE name='index_users_on_email' AND type='index'
15354
+
15355
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
15356
+  (0.1ms) SELECT sql
15357
+ FROM sqlite_master
15358
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15359
+ UNION ALL
15360
+ SELECT sql
15361
+ FROM sqlite_temp_master
15362
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15363
+
15364
+  (0.1ms)  SELECT sql
15365
+ FROM sqlite_master
15366
+ WHERE name='index_users_on_email' AND type='index'
15367
+ UNION ALL
15368
+ SELECT sql
15369
+ FROM sqlite_temp_master
15370
+ WHERE name='index_users_on_email' AND type='index'
15371
+ 
15372
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
15373
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
15374
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
15375
+  (0.1ms) SELECT version FROM "schema_migrations"
15376
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150130134416')
15377
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359')
15378
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
15379
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146')
15380
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
15381
+  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012')
15382
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
15383
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141218020612')
15384
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
15385
+ 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.
15386
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15387
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15388
+  (0.1ms)  SELECT sql
15389
+ FROM sqlite_master
15390
+ WHERE name='index_events_on_type' AND type='index'
15391
+ UNION ALL
15392
+ SELECT sql
15393
+ FROM sqlite_temp_master
15394
+ WHERE name='index_events_on_type' AND type='index'
15395
+ 
15396
+  (0.1ms) SELECT sql
15397
+ FROM sqlite_master
15398
+ WHERE name='index_events_on_pid' AND type='index'
15399
+ UNION ALL
15400
+ SELECT sql
15401
+ FROM sqlite_temp_master
15402
+ WHERE name='index_events_on_pid' AND type='index'
15403
+
15404
+  (0.1ms)  SELECT sql
15405
+ FROM sqlite_master
15406
+ WHERE name='index_events_on_outcome' AND type='index'
15407
+ UNION ALL
15408
+ SELECT sql
15409
+ FROM sqlite_temp_master
15410
+ WHERE name='index_events_on_outcome' AND type='index'
15411
+ 
15412
+  (0.1ms) SELECT sql
15413
+ FROM sqlite_master
15414
+ WHERE name='index_events_on_event_date_time' AND type='index'
15415
+ UNION ALL
15416
+ SELECT sql
15417
+ FROM sqlite_temp_master
15418
+ WHERE name='index_events_on_event_date_time' AND type='index'
15419
+
15420
+  (0.1ms)  SELECT sql
15421
+ FROM sqlite_master
15422
+ WHERE name='index_users_on_username' AND type='index'
15423
+ UNION ALL
15424
+ SELECT sql
15425
+ FROM sqlite_temp_master
15426
+ WHERE name='index_users_on_username' AND type='index'
15427
+ 
15428
+  (0.1ms) SELECT sql
15429
+ FROM sqlite_master
15430
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15431
+ UNION ALL
15432
+ SELECT sql
15433
+ FROM sqlite_temp_master
15434
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15435
+
15436
+  (0.1ms)  SELECT sql
15437
+ FROM sqlite_master
15438
+ WHERE name='index_users_on_email' AND type='index'
15439
+ UNION ALL
15440
+ SELECT sql
15441
+ FROM sqlite_temp_master
15442
+ WHERE name='index_users_on_email' AND type='index'
15443
+ 
15444
+  (16.8ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text, "exception" varchar(255), "user_key" varchar(255))
15445
+  (0.1ms) select sqlite_version(*)
15446
+  (1.2ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
15447
+  (0.1ms)  SELECT sql
15448
+ FROM sqlite_master
15449
+ WHERE name='index_events_on_event_date_time' AND type='index'
15450
+ UNION ALL
15451
+ SELECT sql
15452
+ FROM sqlite_temp_master
15453
+ WHERE name='index_events_on_event_date_time' AND type='index'
15454
+ 
15455
+  (1.0ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
15456
+  (0.1ms)  SELECT sql
15457
+ FROM sqlite_master
15458
+ WHERE name='index_events_on_outcome' AND type='index'
15459
+ UNION ALL
15460
+ SELECT sql
15461
+ FROM sqlite_temp_master
15462
+ WHERE name='index_events_on_outcome' AND type='index'
15463
+ 
15464
+  (0.1ms) SELECT sql
15465
+ FROM sqlite_master
15466
+ WHERE name='index_events_on_event_date_time' AND type='index'
15467
+ UNION ALL
15468
+ SELECT sql
15469
+ FROM sqlite_temp_master
15470
+ WHERE name='index_events_on_event_date_time' AND type='index'
15471
+
15472
+  (1.0ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")
15473
+  (0.1ms) SELECT sql
15474
+ FROM sqlite_master
15475
+ WHERE name='index_events_on_pid' AND type='index'
15476
+ UNION ALL
15477
+ SELECT sql
15478
+ FROM sqlite_temp_master
15479
+ WHERE name='index_events_on_pid' AND type='index'
15480
+
15481
+  (0.1ms)  SELECT sql
15482
+ FROM sqlite_master
15483
+ WHERE name='index_events_on_outcome' AND type='index'
15484
+ UNION ALL
15485
+ SELECT sql
15486
+ FROM sqlite_temp_master
15487
+ WHERE name='index_events_on_outcome' AND type='index'
15488
+ 
15489
+  (0.1ms) SELECT sql
15490
+ FROM sqlite_master
15491
+ WHERE name='index_events_on_event_date_time' AND type='index'
15492
+ UNION ALL
15493
+ SELECT sql
15494
+ FROM sqlite_temp_master
15495
+ WHERE name='index_events_on_event_date_time' AND type='index'
15496
+
15497
+  (0.9ms) CREATE INDEX "index_events_on_type" ON "events" ("type")
15498
+  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))
15499
+  (1.0ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
15500
+  (0.1ms) SELECT sql
15501
+ FROM sqlite_master
15502
+ WHERE name='index_users_on_email' AND type='index'
15503
+ UNION ALL
15504
+ SELECT sql
15505
+ FROM sqlite_temp_master
15506
+ WHERE name='index_users_on_email' AND type='index'
15507
+
15508
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
15509
+  (0.1ms) SELECT sql
15510
+ FROM sqlite_master
15511
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15512
+ UNION ALL
15513
+ SELECT sql
15514
+ FROM sqlite_temp_master
15515
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15516
+
15517
+  (0.1ms)  SELECT sql
15518
+ FROM sqlite_master
15519
+ WHERE name='index_users_on_email' AND type='index'
15520
+ UNION ALL
15521
+ SELECT sql
15522
+ FROM sqlite_temp_master
15523
+ WHERE name='index_users_on_email' AND type='index'
15524
+ 
15525
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
15526
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
15527
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
15528
+  (0.1ms) SELECT version FROM "schema_migrations"
15529
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150130134416')
15530
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359')
15531
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
15532
+  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146')
15533
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
15534
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012')
15535
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
15536
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141218020612')
15537
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
15538
+ 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.
15539
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15540
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15541
+  (0.1ms)  SELECT sql
15542
+ FROM sqlite_master
15543
+ WHERE name='index_events_on_type' AND type='index'
15544
+ UNION ALL
15545
+ SELECT sql
15546
+ FROM sqlite_temp_master
15547
+ WHERE name='index_events_on_type' AND type='index'
15548
+ 
15549
+  (0.1ms) SELECT sql
15550
+ FROM sqlite_master
15551
+ WHERE name='index_events_on_pid' AND type='index'
15552
+ UNION ALL
15553
+ SELECT sql
15554
+ FROM sqlite_temp_master
15555
+ WHERE name='index_events_on_pid' AND type='index'
15556
+
15557
+  (0.1ms)  SELECT sql
15558
+ FROM sqlite_master
15559
+ WHERE name='index_events_on_outcome' AND type='index'
15560
+ UNION ALL
15561
+ SELECT sql
15562
+ FROM sqlite_temp_master
15563
+ WHERE name='index_events_on_outcome' AND type='index'
15564
+ 
15565
+  (0.1ms) SELECT sql
15566
+ FROM sqlite_master
15567
+ WHERE name='index_events_on_event_date_time' AND type='index'
15568
+ UNION ALL
15569
+ SELECT sql
15570
+ FROM sqlite_temp_master
15571
+ WHERE name='index_events_on_event_date_time' AND type='index'
15572
+
15573
+  (0.1ms)  SELECT sql
15574
+ FROM sqlite_master
15575
+ WHERE name='index_users_on_username' AND type='index'
15576
+ UNION ALL
15577
+ SELECT sql
15578
+ FROM sqlite_temp_master
15579
+ WHERE name='index_users_on_username' AND type='index'
15580
+ 
15581
+  (0.1ms) SELECT sql
15582
+ FROM sqlite_master
15583
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15584
+ UNION ALL
15585
+ SELECT sql
15586
+ FROM sqlite_temp_master
15587
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15588
+
15589
+  (0.1ms)  SELECT sql
15590
+ FROM sqlite_master
15591
+ WHERE name='index_users_on_email' AND type='index'
15592
+ UNION ALL
15593
+ SELECT sql
15594
+ FROM sqlite_temp_master
15595
+ WHERE name='index_users_on_email' AND type='index'
15596
+ 
15597
+  (1.1ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text, "exception" varchar(255), "user_key" varchar(255))
15598
+  (0.0ms) select sqlite_version(*)
15599
+  (1.1ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
15600
+  (0.1ms)  SELECT sql
15601
+ FROM sqlite_master
15602
+ WHERE name='index_events_on_event_date_time' AND type='index'
15603
+ UNION ALL
15604
+ SELECT sql
15605
+ FROM sqlite_temp_master
15606
+ WHERE name='index_events_on_event_date_time' AND type='index'
15607
+ 
15608
+  (1.0ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
15609
+  (0.1ms)  SELECT sql
15610
+ FROM sqlite_master
15611
+ WHERE name='index_events_on_outcome' AND type='index'
15612
+ UNION ALL
15613
+ SELECT sql
15614
+ FROM sqlite_temp_master
15615
+ WHERE name='index_events_on_outcome' AND type='index'
15616
+ 
15617
+  (0.1ms) SELECT sql
15618
+ FROM sqlite_master
15619
+ WHERE name='index_events_on_event_date_time' AND type='index'
15620
+ UNION ALL
15621
+ SELECT sql
15622
+ FROM sqlite_temp_master
15623
+ WHERE name='index_events_on_event_date_time' AND type='index'
15624
+
15625
+  (1.1ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")
15626
+  (0.1ms) SELECT sql
15627
+ FROM sqlite_master
15628
+ WHERE name='index_events_on_pid' AND type='index'
15629
+ UNION ALL
15630
+ SELECT sql
15631
+ FROM sqlite_temp_master
15632
+ WHERE name='index_events_on_pid' AND type='index'
15633
+
15634
+  (0.1ms)  SELECT sql
15635
+ FROM sqlite_master
15636
+ WHERE name='index_events_on_outcome' AND type='index'
15637
+ UNION ALL
15638
+ SELECT sql
15639
+ FROM sqlite_temp_master
15640
+ WHERE name='index_events_on_outcome' AND type='index'
15641
+ 
15642
+  (0.1ms) SELECT sql
15643
+ FROM sqlite_master
15644
+ WHERE name='index_events_on_event_date_time' AND type='index'
15645
+ UNION ALL
15646
+ SELECT sql
15647
+ FROM sqlite_temp_master
15648
+ WHERE name='index_events_on_event_date_time' AND type='index'
15649
+
15650
+  (1.0ms) CREATE INDEX "index_events_on_type" ON "events" ("type")
15651
+  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))
15652
+  (1.0ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
15653
+  (0.1ms) SELECT sql
15654
+ FROM sqlite_master
15655
+ WHERE name='index_users_on_email' AND type='index'
15656
+ UNION ALL
15657
+ SELECT sql
15658
+ FROM sqlite_temp_master
15659
+ WHERE name='index_users_on_email' AND type='index'
15660
+
15661
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
15662
+  (0.1ms) SELECT sql
15663
+ FROM sqlite_master
15664
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15665
+ UNION ALL
15666
+ SELECT sql
15667
+ FROM sqlite_temp_master
15668
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15669
+
15670
+  (0.1ms)  SELECT sql
15671
+ FROM sqlite_master
15672
+ WHERE name='index_users_on_email' AND type='index'
15673
+ UNION ALL
15674
+ SELECT sql
15675
+ FROM sqlite_temp_master
15676
+ WHERE name='index_users_on_email' AND type='index'
15677
+ 
15678
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
15679
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
15680
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
15681
+  (0.1ms) SELECT version FROM "schema_migrations"
15682
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150130134416')
15683
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359')
15684
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
15685
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146')
15686
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
15687
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012')
15688
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
15689
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141218020612')
15690
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
15691
+ 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.
15692
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15693
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15694
+  (0.1ms)  SELECT sql
15695
+ FROM sqlite_master
15696
+ WHERE name='index_events_on_type' AND type='index'
15697
+ UNION ALL
15698
+ SELECT sql
15699
+ FROM sqlite_temp_master
15700
+ WHERE name='index_events_on_type' AND type='index'
15701
+ 
15702
+  (0.1ms) SELECT sql
15703
+ FROM sqlite_master
15704
+ WHERE name='index_events_on_pid' AND type='index'
15705
+ UNION ALL
15706
+ SELECT sql
15707
+ FROM sqlite_temp_master
15708
+ WHERE name='index_events_on_pid' AND type='index'
15709
+
15710
+  (0.1ms)  SELECT sql
15711
+ FROM sqlite_master
15712
+ WHERE name='index_events_on_outcome' AND type='index'
15713
+ UNION ALL
15714
+ SELECT sql
15715
+ FROM sqlite_temp_master
15716
+ WHERE name='index_events_on_outcome' AND type='index'
15717
+ 
15718
+  (0.1ms) SELECT sql
15719
+ FROM sqlite_master
15720
+ WHERE name='index_events_on_event_date_time' AND type='index'
15721
+ UNION ALL
15722
+ SELECT sql
15723
+ FROM sqlite_temp_master
15724
+ WHERE name='index_events_on_event_date_time' AND type='index'
15725
+
15726
+  (0.1ms)  SELECT sql
15727
+ FROM sqlite_master
15728
+ WHERE name='index_users_on_username' AND type='index'
15729
+ UNION ALL
15730
+ SELECT sql
15731
+ FROM sqlite_temp_master
15732
+ WHERE name='index_users_on_username' AND type='index'
15733
+ 
15734
+  (0.1ms) SELECT sql
15735
+ FROM sqlite_master
15736
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15737
+ UNION ALL
15738
+ SELECT sql
15739
+ FROM sqlite_temp_master
15740
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15741
+
15742
+  (0.1ms)  SELECT sql
15743
+ FROM sqlite_master
15744
+ WHERE name='index_users_on_email' AND type='index'
15745
+ UNION ALL
15746
+ SELECT sql
15747
+ FROM sqlite_temp_master
15748
+ WHERE name='index_users_on_email' AND type='index'
15749
+ 
15750
+  (1.1ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text, "exception" varchar(255), "user_key" varchar(255))
15751
+  (0.1ms) select sqlite_version(*)
15752
+  (0.8ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
15753
+  (0.1ms)  SELECT sql
15754
+ FROM sqlite_master
15755
+ WHERE name='index_events_on_event_date_time' AND type='index'
15756
+ UNION ALL
15757
+ SELECT sql
15758
+ FROM sqlite_temp_master
15759
+ WHERE name='index_events_on_event_date_time' AND type='index'
15760
+ 
15761
+  (0.8ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
15762
+  (0.1ms)  SELECT sql
15763
+ FROM sqlite_master
15764
+ WHERE name='index_events_on_outcome' AND type='index'
15765
+ UNION ALL
15766
+ SELECT sql
15767
+ FROM sqlite_temp_master
15768
+ WHERE name='index_events_on_outcome' AND type='index'
15769
+ 
15770
+  (0.1ms) SELECT sql
15771
+ FROM sqlite_master
15772
+ WHERE name='index_events_on_event_date_time' AND type='index'
15773
+ UNION ALL
15774
+ SELECT sql
15775
+ FROM sqlite_temp_master
15776
+ WHERE name='index_events_on_event_date_time' AND type='index'
15777
+
15778
+  (0.8ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")
15779
+  (0.1ms) SELECT sql
15780
+ FROM sqlite_master
15781
+ WHERE name='index_events_on_pid' AND type='index'
15782
+ UNION ALL
15783
+ SELECT sql
15784
+ FROM sqlite_temp_master
15785
+ WHERE name='index_events_on_pid' AND type='index'
15786
+
15787
+  (0.1ms)  SELECT sql
15788
+ FROM sqlite_master
15789
+ WHERE name='index_events_on_outcome' AND type='index'
15790
+ UNION ALL
15791
+ SELECT sql
15792
+ FROM sqlite_temp_master
15793
+ WHERE name='index_events_on_outcome' AND type='index'
15794
+ 
15795
+  (0.1ms) SELECT sql
15796
+ FROM sqlite_master
15797
+ WHERE name='index_events_on_event_date_time' AND type='index'
15798
+ UNION ALL
15799
+ SELECT sql
15800
+ FROM sqlite_temp_master
15801
+ WHERE name='index_events_on_event_date_time' AND type='index'
15802
+
15803
+  (0.9ms) CREATE INDEX "index_events_on_type" ON "events" ("type")
15804
+  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))
15805
+  (0.9ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
15806
+  (0.1ms) SELECT sql
15807
+ FROM sqlite_master
15808
+ WHERE name='index_users_on_email' AND type='index'
15809
+ UNION ALL
15810
+ SELECT sql
15811
+ FROM sqlite_temp_master
15812
+ WHERE name='index_users_on_email' AND type='index'
15813
+
15814
+  (0.8ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
15815
+  (0.1ms) SELECT sql
15816
+ FROM sqlite_master
15817
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15818
+ UNION ALL
15819
+ SELECT sql
15820
+ FROM sqlite_temp_master
15821
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15822
+
15823
+  (0.1ms)  SELECT sql
15824
+ FROM sqlite_master
15825
+ WHERE name='index_users_on_email' AND type='index'
15826
+ UNION ALL
15827
+ SELECT sql
15828
+ FROM sqlite_temp_master
15829
+ WHERE name='index_users_on_email' AND type='index'
15830
+ 
15831
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
15832
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
15833
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
15834
+  (0.1ms) SELECT version FROM "schema_migrations"
15835
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150130134416')
15836
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359')
15837
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
15838
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146')
15839
+  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
15840
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012')
15841
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
15842
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141218020612')
15843
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')
15844
+ 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.
15845
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15846
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15847
+  (0.1ms)  SELECT sql
15848
+ FROM sqlite_master
15849
+ WHERE name='index_events_on_type' AND type='index'
15850
+ UNION ALL
15851
+ SELECT sql
15852
+ FROM sqlite_temp_master
15853
+ WHERE name='index_events_on_type' AND type='index'
15854
+ 
15855
+  (0.1ms) SELECT sql
15856
+ FROM sqlite_master
15857
+ WHERE name='index_events_on_pid' AND type='index'
15858
+ UNION ALL
15859
+ SELECT sql
15860
+ FROM sqlite_temp_master
15861
+ WHERE name='index_events_on_pid' AND type='index'
15862
+
15863
+  (0.1ms)  SELECT sql
15864
+ FROM sqlite_master
15865
+ WHERE name='index_events_on_outcome' AND type='index'
15866
+ UNION ALL
15867
+ SELECT sql
15868
+ FROM sqlite_temp_master
15869
+ WHERE name='index_events_on_outcome' AND type='index'
15870
+ 
15871
+  (0.1ms) SELECT sql
15872
+ FROM sqlite_master
15873
+ WHERE name='index_events_on_event_date_time' AND type='index'
15874
+ UNION ALL
15875
+ SELECT sql
15876
+ FROM sqlite_temp_master
15877
+ WHERE name='index_events_on_event_date_time' AND type='index'
15878
+
15879
+  (0.1ms)  SELECT sql
15880
+ FROM sqlite_master
15881
+ WHERE name='index_users_on_username' AND type='index'
15882
+ UNION ALL
15883
+ SELECT sql
15884
+ FROM sqlite_temp_master
15885
+ WHERE name='index_users_on_username' AND type='index'
15886
+ 
15887
+  (0.1ms) SELECT sql
15888
+ FROM sqlite_master
15889
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15890
+ UNION ALL
15891
+ SELECT sql
15892
+ FROM sqlite_temp_master
15893
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15894
+
15895
+  (0.1ms)  SELECT sql
15896
+ FROM sqlite_master
15897
+ WHERE name='index_users_on_email' AND type='index'
15898
+ UNION ALL
15899
+ SELECT sql
15900
+ FROM sqlite_temp_master
15901
+ WHERE name='index_users_on_email' AND type='index'
15902
+ 
15903
+  (1.4ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "event_date_time" datetime, "user_id" integer, "type" varchar(255), "pid" varchar(255), "software" varchar(255), "comment" text, "created_at" datetime, "updated_at" datetime, "summary" varchar(255), "outcome" varchar(255), "detail" text, "exception" varchar(255), "user_key" varchar(255))
15904
+  (0.0ms) select sqlite_version(*)
15905
+  (0.8ms) CREATE INDEX "index_events_on_event_date_time" ON "events" ("event_date_time")
15906
+  (0.2ms)  SELECT sql
15907
+ FROM sqlite_master
15908
+ WHERE name='index_events_on_event_date_time' AND type='index'
15909
+ UNION ALL
15910
+ SELECT sql
15911
+ FROM sqlite_temp_master
15912
+ WHERE name='index_events_on_event_date_time' AND type='index'
15913
+ 
15914
+  (1.1ms) CREATE INDEX "index_events_on_outcome" ON "events" ("outcome")
15915
+  (0.1ms)  SELECT sql
15916
+ FROM sqlite_master
15917
+ WHERE name='index_events_on_outcome' AND type='index'
15918
+ UNION ALL
15919
+ SELECT sql
15920
+ FROM sqlite_temp_master
15921
+ WHERE name='index_events_on_outcome' AND type='index'
15922
+ 
15923
+  (0.1ms) SELECT sql
15924
+ FROM sqlite_master
15925
+ WHERE name='index_events_on_event_date_time' AND type='index'
15926
+ UNION ALL
15927
+ SELECT sql
15928
+ FROM sqlite_temp_master
15929
+ WHERE name='index_events_on_event_date_time' AND type='index'
15930
+
15931
+  (0.9ms) CREATE INDEX "index_events_on_pid" ON "events" ("pid")
15932
+  (0.2ms) SELECT sql
15933
+ FROM sqlite_master
15934
+ WHERE name='index_events_on_pid' AND type='index'
15935
+ UNION ALL
15936
+ SELECT sql
15937
+ FROM sqlite_temp_master
15938
+ WHERE name='index_events_on_pid' AND type='index'
15939
+
15940
+  (0.1ms)  SELECT sql
15941
+ FROM sqlite_master
15942
+ WHERE name='index_events_on_outcome' AND type='index'
15943
+ UNION ALL
15944
+ SELECT sql
15945
+ FROM sqlite_temp_master
15946
+ WHERE name='index_events_on_outcome' AND type='index'
15947
+ 
15948
+  (0.1ms) SELECT sql
15949
+ FROM sqlite_master
15950
+ WHERE name='index_events_on_event_date_time' AND type='index'
15951
+ UNION ALL
15952
+ SELECT sql
15953
+ FROM sqlite_temp_master
15954
+ WHERE name='index_events_on_event_date_time' AND type='index'
15955
+
15956
+  (1.0ms) CREATE INDEX "index_events_on_type" ON "events" ("type")
15957
+  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "username" varchar(255) DEFAULT '' NOT NULL, "first_name" varchar(255), "middle_name" varchar(255), "nickname" varchar(255), "last_name" varchar(255), "display_name" varchar(255))
15958
+  (1.0ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
15959
+  (0.1ms) SELECT sql
15960
+ FROM sqlite_master
15961
+ WHERE name='index_users_on_email' AND type='index'
15962
+ UNION ALL
15963
+ SELECT sql
15964
+ FROM sqlite_temp_master
15965
+ WHERE name='index_users_on_email' AND type='index'
15966
+
15967
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
15968
+  (0.1ms) SELECT sql
15969
+ FROM sqlite_master
15970
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15971
+ UNION ALL
15972
+ SELECT sql
15973
+ FROM sqlite_temp_master
15974
+ WHERE name='index_users_on_reset_password_token' AND type='index'
15975
+
15976
+  (0.1ms)  SELECT sql
15977
+ FROM sqlite_master
15978
+ WHERE name='index_users_on_email' AND type='index'
15979
+ UNION ALL
15980
+ SELECT sql
15981
+ FROM sqlite_temp_master
15982
+ WHERE name='index_users_on_email' AND type='index'
15983
+ 
15984
+  (1.3ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
15985
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
15986
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
15987
+  (0.1ms) SELECT version FROM "schema_migrations"
15988
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150130134416')
15989
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021233359')
15990
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141021234156')
15991
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141103192146')
15992
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141104181418')
15993
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141107124012')
15994
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20141216040225')
15995
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141218020612')
15996
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150110023410')