enju_loc 0.1.0.pre1 → 0.1.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,71 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=2006575029&version=1.1&operation=searchRetrieve
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-length:
20
+ - '3674'
21
+ server:
22
+ - Metaproxy/1.5.3
23
+ connection:
24
+ - Keep-Alive
25
+ content-type:
26
+ - text/xml
27
+ body:
28
+ encoding: US-ASCII
29
+ string: ! "<?xml version=\"1.0\"?>\n<zs:searchRetrieveResponse xmlns:zs=\"http://www.loc.gov/zing/srw/\"><zs:version>1.1</zs:version><zs:numberOfRecords>1</zs:numberOfRecords><zs:records><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
30
+ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
31
+ version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
32
+ \ <titleInfo>\n <title>Microsoft Encarta 2006 premium</title>\n </titleInfo>\n
33
+ \ <titleInfo type=\"alternative\">\n <title>Encarta 2006</title>\n </titleInfo>\n
34
+ \ <titleInfo type=\"alternative\">\n <title>Encarta premium 2006</title>\n
35
+ \ </titleInfo>\n <name type=\"corporate\">\n <namePart>Microsoft Corporation</namePart>\n
36
+ \ </name>\n <typeOfResource>software, multimedia</typeOfResource>\n <originInfo>\n
37
+ \ <place>\n <placeTerm type=\"code\" authority=\"marccountry\">wau</placeTerm>\n
38
+ \ </place>\n <place>\n <placeTerm type=\"text\">Redmond, Wash.]</placeTerm>\n
39
+ \ </place>\n <publisher>Microsoft Corp.</publisher>\n <dateIssued>c2005</dateIssued>\n
40
+ \ <dateIssued encoding=\"marc\">2005</dateIssued>\n <issuance>monographic</issuance>\n
41
+ \ </originInfo>\n <language>\n <languageTerm authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n
42
+ \ </language>\n <physicalDescription>\n <form authority=\"marcform\">electronic</form>\n
43
+ \ <form authority=\"gmd\">electronic resource</form>\n <form authority=\"marccategory\">electronic
44
+ resource</form>\n <form authority=\"marcsmd\">optical disc</form>\n <extent>6
45
+ CD-ROMs : sd., col. ; 4 3/4 in. + 1 DVD</extent>\n </physicalDescription>\n
46
+ \ <abstract type=\"Summary\">An electronic reference library that includes
47
+ homework and research tools with dictionary, thesaurus, and translation dictionary,
48
+ literature guides, videos from Discovery Channel, Encarta Kids and interactive
49
+ world atlas. Features photos and illustration, videos and animations, virtual
50
+ flights, links to preselected web sites, graphing calculator software, and
51
+ games.</abstract>\n <note type=\"statement of responsibility\" altRepGroup=\"00\"/>\n
52
+ \ <note>Title from disc label.</note>\n <note>\"Complete companion to research
53
+ and the internet\"--Container.</note>\n <note type=\"system details\">System
54
+ requirements for Windows: 500MHz Pentium; 256MB RAM; Windows 2000 Professional
55
+ with Service Pack 4, or Windows XP; 950MB available hard-disk space; SVGA
56
+ or higher monitor (4MB VRAM, 800 x 600 resolution, 16-bit color); DVD-ROM
57
+ drive or 4X or faster CD-ROM drive; 16-bit sound card with speakers or headphones.</note>\n
58
+ \ <subject authority=\"lcsh\">\n <topic>Electronic reference sources</topic>\n
59
+ \ </subject>\n <subject authority=\"lcsh\">\n <topic>Electronic dictionaries</topic>\n
60
+ \ </subject>\n <subject authority=\"lcsh\">\n <topic>Atlases</topic>\n
61
+ \ </subject>\n <classification authority=\"lcc\">AG2</classification>\n <classification
62
+ authority=\"ddc\" edition=\"14\">031</classification>\n <identifier type=\"lccn\">2006575029</identifier>\n
63
+ \ <identifier type=\"oclc\">ocm62076740</identifier>\n <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n
64
+ \ <recordContentSource authority=\"marcorg\">DLC</recordContentSource>\n
65
+ \ <recordCreationDate encoding=\"marc\">060526</recordCreationDate>\n <recordChangeDate
66
+ encoding=\"iso8601\">20060526145728.0</recordChangeDate>\n <recordIdentifier>14391706</recordIdentifier>\n
67
+ \ <recordOrigin>Converted from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl\n\t\t\t\t(Revision
68
+ 1.94 2014/02/21)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
69
+ http_version: '1.1'
70
+ recorded_at: Sat, 16 Aug 2014 02:18:05 GMT
71
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,106 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=2014563060&version=1.1&operation=searchRetrieve
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ content-length:
20
+ - '6509'
21
+ server:
22
+ - Metaproxy/1.5.3
23
+ connection:
24
+ - Keep-Alive
25
+ content-type:
26
+ - text/xml
27
+ body:
28
+ encoding: US-ASCII
29
+ string: ! "<?xml version=\"1.0\"?>\n<zs:searchRetrieveResponse xmlns:zs=\"http://www.loc.gov/zing/srw/\"><zs:version>1.1</zs:version><zs:numberOfRecords>1</zs:numberOfRecords><zs:records><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
30
+ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
31
+ version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
32
+ \ <titleInfo>\n <title>Music of the baroque</title>\n <subTitle>an anthology
33
+ of scores</subTitle>\n </titleInfo>\n <name type=\"personal\">\n <namePart>Schulenberg,
34
+ David.</namePart>\n </name>\n <typeOfResource>notated music</typeOfResource>\n
35
+ \ <genre authority=\"rdacontent\">text</genre>\n <originInfo>\n <place>\n
36
+ \ <placeTerm type=\"code\" authority=\"marccountry\">nyu</placeTerm>\n
37
+ \ </place>\n <dateIssued encoding=\"marc\">2014</dateIssued>\n <edition>Third
38
+ edition.</edition>\n <issuance>monographic</issuance>\n </originInfo>\n
39
+ \ <originInfo displayLabel=\"publisher\">\n <place>\n <placeTerm type=\"text\">New
40
+ York :Oxford University Press,[2014]</placeTerm>\n </place>\n <publisher>Oxford
41
+ University Press,</publisher>\n <dateIssued>[2014]</dateIssued>\n </originInfo>\n
42
+ \ <language>\n <languageTerm authority=\"iso639-2b\" type=\"code\">zxx</languageTerm>\n
43
+ \ </language>\n <physicalDescription>\n <form authority=\"marcform\">print</form>\n
44
+ \ <extent>1 score (x, 303 pages) ; 28 cm</extent>\n <form type=\"media\"
45
+ authority=\"rdamedia\">unmediated</form>\n <form type=\"carrier\" authority=\"rdacarrier\">volume</form>\n
46
+ \ </physicalDescription>\n <tableOfContents>Dum complerentur / G.P. da Palestrina
47
+ -- Timor et tremor / Orlande de Lassus -- Luci serene / Claudio Monteverdi
48
+ -- Sfogava con le stelle / Giulio Caccini -- Orfeo, act 2. Selections / Claudio
49
+ Monteverdi -- Calisto. Selections / P.F. Cavalli -- Ardo in tacito foco /
50
+ Barbara Strozzi -- Correa nel seno amato. Selections / Alessandro Scarlatti
51
+ -- From rosy bowers / Henry Purcell -- Armide. Selections / J.-B. Lully --
52
+ In ecclesiis / Giovanni Gabrieli -- Saul, Saul, was verfolgst du mich, SWV
53
+ 415 / Heinrich Schu&#x308;tz -- Jephte. Selections ; Giacomo Carissimi --
54
+ Orlando. Selections / G.F. Handel -- Les indes galantes. Selections / J.-P.
55
+ Rameau -- Herr Jesu Christ, wahr'r Mensch und Gott, BWV 127 / J.S. Bach --
56
+ Jephtha. Selections / G.F. Handel -- Courante L'immortelle ; Allemande (Tombeau
57
+ de Mesangeau) ; Gigue \"La poste\" / Ennemond Gaultier -- Toccata 7 (from
58
+ Libro II) / Girolamo Frescobaldi -- Pre&#x301;lude from Suite 3 in A minor.
59
+ Selections / E.-C. Jacquet de la Guerre -- Praeludium in A minor, BuxWV 153
60
+ / Dieterich Buxtehude -- Prelude and fugue in G, BWV 860, from The well-tempered
61
+ clavier part 1 / J.S. Bach -- Extracts from ornament tables / J.H. d'Anglebert,
62
+ Franc&#x327;ois Couperin, J.-P. Rameau -- 21e. ordre. La reine des coeurs
63
+ ; La Couperin / Franc&#x327;ois Couperin -- Sonata sopra La Bergamasca / Salamone
64
+ Rossi -- Sonata variata for violin and continuo / Biagio Marini -- Sonata
65
+ 5 in E minor for violin and continuo (1681) / H.I.F. Biber -- Sonta in C for
66
+ violin and continuo, op. 5 no. 3 / Arcangelo Corelli -- Sinfonia in D for
67
+ trumpet, strings, and continuo, G. 8 / Giuseppe Torelli -- Concerto grosso
68
+ in G minor, op. 6, no. 8, \"Christmas\" / Arcangelo Corelli -- Concerto in
69
+ E for violin, strings, and continuo, op. 3, no. 12 (R. 265) / Antonio Vivaldi
70
+ -- Brandenburg concerto no. 2, in F, BWV 1047 / J.S. Bach.</tableOfContents>\n
71
+ \ <note type=\"statement of responsibility\" altRepGroup=\"00\">[compiled
72
+ and edited by] David Schulenberg.</note>\n <note>May be used independently
73
+ or in conjunction with the editor's book of the same title.</note>\n <note>Includes
74
+ notes on the edition and performance issues for each selection. Texts in original
75
+ language and with English translation appear after each vocal selection.</note>\n
76
+ \ <note type=\"bibliography\">Includes bibliographical references.</note>\n
77
+ \ <subject authority=\"lcsh\">\n <topic>Musical analysis</topic>\n <genre>Music
78
+ collections</genre>\n </subject>\n <subject authority=\"lcsh\">\n <topic>Music
79
+ appreciation</topic>\n <genre>Music collections</genre>\n </subject>\n
80
+ \ <subject authority=\"lcsh\">\n <topic>Music</topic>\n <temporal>17th
81
+ century</temporal>\n </subject>\n <subject authority=\"lcsh\">\n <topic>Music</topic>\n
82
+ \ <temporal>18th century</temporal>\n </subject>\n <classification authority=\"lcc\">ML193
83
+ .S382 2014</classification>\n <location>\n <url displayLabel=\"Contributor
84
+ biographical information\">http://www.loc.gov/catdir/enhancements/fy1410/2014563060-b.html</url>\n
85
+ \ </location>\n <location>\n <url displayLabel=\"Publisher description\">http://www.loc.gov/catdir/enhancements/fy1410/2014563060-d.html</url>\n
86
+ \ </location>\n <location>\n <url displayLabel=\"Table of contents only\"
87
+ usage=\"primary display\">http://www.loc.gov/catdir/enhancements/fy1410/2014563060-t.html</url>\n
88
+ \ </location>\n <identifier type=\"isbn\">9780199942022</identifier>\n <identifier
89
+ type=\"isbn\">0199942021</identifier>\n <identifier type=\"isbn\" invalid=\"yes\">9780199942015</identifier>\n
90
+ \ <identifier type=\"isbn\" invalid=\"yes\">0199942013</identifier>\n <identifier>40022828665</identifier>\n
91
+ \ <identifier type=\"lccn\">2014563060</identifier>\n <identifier type=\"oclc\">ocn863162098</identifier>\n
92
+ \ <identifier type=\"oclc\">863162098</identifier>\n <relatedItem>\n <location>\n
93
+ \ <url displayLabel=\"Contributor biographical information\">http://www.loc.gov/catdir/enhancements/fy1410/2014563060-b.html</url>\n
94
+ \ </location>\n </relatedItem>\n <relatedItem>\n <location>\n <url
95
+ displayLabel=\"Publisher description\">http://www.loc.gov/catdir/enhancements/fy1410/2014563060-d.html</url>\n
96
+ \ </location>\n </relatedItem>\n <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n
97
+ \ <recordContentSource authority=\"marcorg\">CtY-Mus</recordContentSource>\n
98
+ \ <recordCreationDate encoding=\"marc\">130207</recordCreationDate>\n <recordChangeDate
99
+ encoding=\"iso8601\">20140716094602.0</recordChangeDate>\n <recordIdentifier>18059365</recordIdentifier>\n
100
+ \ <recordOrigin>Converted from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl\n\t\t\t\t(Revision
101
+ 1.94 2014/02/21)</recordOrigin>\n <languageOfCataloging>\n <languageTerm
102
+ authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </languageOfCataloging>\n
103
+ \ </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
104
+ http_version: '1.1'
105
+ recorded_at: Sat, 16 Aug 2014 09:34:11 GMT
106
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,5 @@
1
+ class AddExtentOfTextToManifestation < ActiveRecord::Migration
2
+ def change
3
+ add_column :manifestations, :extent_of_text, :text
4
+ end
5
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20140813182425) do
14
+ ActiveRecord::Schema.define(:version => 20140817155043) do
15
15
 
16
16
  create_table "accepts", :force => true do |t|
17
17
  t.integer "basket_id"
@@ -535,15 +535,14 @@ ActiveRecord::Schema.define(:version => 20140813182425) do
535
535
  t.text "attachment_meta"
536
536
  t.integer "month_of_publication"
537
537
  t.boolean "fulltext_content"
538
- t.string "doi"
539
538
  t.boolean "periodical"
540
539
  t.text "statement_of_responsibility"
541
540
  t.text "publication_place"
541
+ t.text "extent_of_text"
542
542
  end
543
543
 
544
544
  add_index "manifestations", ["access_address"], :name => "index_manifestations_on_access_address"
545
545
  add_index "manifestations", ["date_of_publication"], :name => "index_manifestations_on_date_of_publication"
546
- add_index "manifestations", ["doi"], :name => "index_manifestations_on_doi"
547
546
  add_index "manifestations", ["manifestation_identifier"], :name => "index_manifestations_on_manifestation_identifier"
548
547
  add_index "manifestations", ["updated_at"], :name => "index_manifestations_on_updated_at"
549
548
 
Binary file
@@ -1,90 +1,85 @@
1
1
  Connecting to database specified by database.yml
2
2
   (0.1ms) select sqlite_version(*)
3
-  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6
- Connecting to database specified by database.yml
7
-  (0.1ms) select sqlite_version(*)
8
-  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
9
4
   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
10
5
   (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
11
6
  Migrating to CreateAgents (1)
12
7
   (0.0ms) begin transaction
13
-  (0.4ms) CREATE TABLE "agents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "last_name" varchar(255), "middle_name" varchar(255), "first_name" varchar(255), "last_name_transcription" varchar(255), "middle_name_transcription" varchar(255), "first_name_transcription" varchar(255), "corporate_name" varchar(255), "corporate_name_transcription" varchar(255), "full_name" varchar(255), "full_name_transcription" text, "full_name_alternative" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "zip_code_1" varchar(255), "zip_code_2" varchar(255), "address_1" text, "address_2" text, "address_1_note" text, "address_2_note" text, "telephone_number_1" varchar(255), "telephone_number_2" varchar(255), "fax_number_1" varchar(255), "fax_number_2" varchar(255), "other_designation" text, "place" text, "postal_code" varchar(255), "street" text, "locality" text, "region" text, "date_of_birth" datetime, "date_of_death" datetime, "language_id" integer DEFAULT 1 NOT NULL, "country_id" integer DEFAULT 1 NOT NULL, "agent_type_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "state" varchar(255), "email" text, "url" text)
8
+  (0.6ms) CREATE TABLE "agents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "last_name" varchar(255), "middle_name" varchar(255), "first_name" varchar(255), "last_name_transcription" varchar(255), "middle_name_transcription" varchar(255), "first_name_transcription" varchar(255), "corporate_name" varchar(255), "corporate_name_transcription" varchar(255), "full_name" varchar(255), "full_name_transcription" text, "full_name_alternative" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "zip_code_1" varchar(255), "zip_code_2" varchar(255), "address_1" text, "address_2" text, "address_1_note" text, "address_2_note" text, "telephone_number_1" varchar(255), "telephone_number_2" varchar(255), "fax_number_1" varchar(255), "fax_number_2" varchar(255), "other_designation" text, "place" text, "postal_code" varchar(255), "street" text, "locality" text, "region" text, "date_of_birth" datetime, "date_of_death" datetime, "language_id" integer DEFAULT 1 NOT NULL, "country_id" integer DEFAULT 1 NOT NULL, "agent_type_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "state" varchar(255), "email" text, "url" text)
14
9
   (0.9ms) CREATE UNIQUE INDEX "index_agents_on_user_id" ON "agents" ("user_id")
15
10
   (0.1ms) CREATE INDEX "index_agents_on_language_id" ON "agents" ("language_id")
16
11
   (0.1ms) CREATE INDEX "index_agents_on_country_id" ON "agents" ("country_id")
17
12
   (0.1ms) CREATE INDEX "index_agents_on_required_role_id" ON "agents" ("required_role_id")
18
13
   (0.1ms) CREATE INDEX "index_agents_on_full_name" ON "agents" ("full_name")
19
14
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('1')
20
-  (0.6ms) commit transaction
15
+  (0.7ms) commit transaction
21
16
  Migrating to CreateManifestations (5)
22
17
   (0.0ms) begin transaction
23
18
   (0.3ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "copyright_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_list" varchar(255), "issue_number_list" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL) 
24
-  (0.4ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
19
+  (0.1ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
25
20
   (0.1ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
26
21
   (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
27
-  (0.1ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
22
+  (0.2ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
28
23
   (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
29
24
   (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
30
25
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('5')
31
26
   (0.7ms) commit transaction
32
27
  Migrating to CreateItems (6)
33
28
   (0.0ms) begin transaction
34
-  (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "call_number" varchar(255), "item_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "shelf_id" integer DEFAULT 1 NOT NULL, "include_supplements" boolean DEFAULT 'f' NOT NULL, "note" text, "url" varchar(255), "price" integer, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL) 
35
-  (0.1ms) CREATE INDEX "index_items_on_shelf_id" ON "items" ("shelf_id")
36
-  (0.1ms) CREATE INDEX "index_items_on_item_identifier" ON "items" ("item_identifier")
29
+  (0.4ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "call_number" varchar(255), "item_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "shelf_id" integer DEFAULT 1 NOT NULL, "include_supplements" boolean DEFAULT 'f' NOT NULL, "note" text, "url" varchar(255), "price" integer, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL) 
30
+  (0.2ms) CREATE INDEX "index_items_on_shelf_id" ON "items" ("shelf_id")
31
+  (0.2ms) CREATE INDEX "index_items_on_item_identifier" ON "items" ("item_identifier")
37
32
   (0.1ms) CREATE INDEX "index_items_on_required_role_id" ON "items" ("required_role_id")
38
33
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('6')
39
34
   (0.7ms) commit transaction
40
35
  Migrating to CreateOwns (12)
41
36
   (0.0ms) begin transaction
42
-  (0.7ms) CREATE TABLE "owns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
37
+  (0.4ms) CREATE TABLE "owns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
43
38
   (0.1ms) CREATE INDEX "index_owns_on_agent_id" ON "owns" ("agent_id")
44
39
   (0.1ms) CREATE INDEX "index_owns_on_item_id" ON "owns" ("item_id")
45
40
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('12')
46
-  (2.2ms) commit transaction
41
+  (0.7ms) commit transaction
47
42
  Migrating to CreateCreates (15)
48
43
   (0.0ms) begin transaction
49
44
   (0.3ms) CREATE TABLE "creates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "work_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
50
45
   (0.1ms) CREATE INDEX "index_creates_on_agent_id" ON "creates" ("agent_id")
51
46
   (0.1ms) CREATE INDEX "index_creates_on_work_id" ON "creates" ("work_id")
52
47
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('15')
53
-  (0.7ms) commit transaction
48
+  (0.6ms) commit transaction
54
49
  Migrating to CreateSubjects (29)
55
50
   (0.0ms) begin transaction
56
-  (0.3ms) CREATE TABLE "subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "use_term_id" integer, "term" varchar(255), "term_transcription" text, "subject_type_id" integer NOT NULL, "scope_note" text, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime, "deleted_at" datetime)
51
+  (0.5ms) CREATE TABLE "subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "use_term_id" integer, "term" varchar(255), "term_transcription" text, "subject_type_id" integer NOT NULL, "scope_note" text, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime, "deleted_at" datetime)
57
52
   (0.1ms) CREATE INDEX "index_subjects_on_term" ON "subjects" ("term")
58
-  (0.1ms) CREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")
53
+  (0.2ms) CREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")
59
54
   (0.1ms) CREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")
60
-  (0.1ms) CREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")
55
+  (0.2ms) CREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")
61
56
   (0.1ms) CREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")
62
-  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('29')
57
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('29')
63
58
   (0.7ms) commit transaction
64
59
  Migrating to CreateProduces (47)
65
60
   (0.0ms) begin transaction
66
-  (0.4ms) CREATE TABLE "produces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "manifestation_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
61
+  (0.5ms) CREATE TABLE "produces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "manifestation_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
67
62
   (0.1ms) CREATE INDEX "index_produces_on_agent_id" ON "produces" ("agent_id")
68
63
   (0.1ms) CREATE INDEX "index_produces_on_manifestation_id" ON "produces" ("manifestation_id")
69
64
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('47')
70
65
   (0.7ms) commit transaction
71
66
  Migrating to CreateCarrierTypes (73)
72
67
   (0.0ms) begin transaction
73
-  (1.4ms) CREATE TABLE "carrier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
68
+  (0.3ms) CREATE TABLE "carrier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
74
69
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('73')
75
-  (1.0ms) commit transaction
70
+  (0.6ms) commit transaction
76
71
  Migrating to CreateFrequencies (112)
77
72
   (0.0ms) begin transaction
78
-  (1.0ms) CREATE TABLE "frequencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
79
-  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('112')
80
-  (1.2ms) commit transaction
73
+  (0.3ms) CREATE TABLE "frequencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
74
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('112')
75
+  (0.6ms) commit transaction
81
76
  Migrating to CreateFormOfWorks (117)
82
77
   (0.0ms) begin transaction
83
-  (0.5ms) CREATE TABLE "form_of_works" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
78
+  (0.3ms) CREATE TABLE "form_of_works" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
84
79
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('117')
85
80
   (0.6ms) commit transaction
86
81
  Migrating to CreateDonates (125)
87
-  (0.0ms) begin transaction
82
+  (0.1ms) begin transaction
88
83
   (0.3ms) CREATE TABLE "donates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
89
84
   (0.1ms) CREATE INDEX "index_donates_on_agent_id" ON "donates" ("agent_id")
90
85
   (0.1ms) CREATE INDEX "index_donates_on_item_id" ON "donates" ("item_id")
@@ -92,289 +87,289 @@ Migrating to CreateDonates (125)
92
87
   (0.6ms) commit transaction
93
88
  Migrating to CreateClassifications (142)
94
89
   (0.0ms) begin transaction
95
-  (0.5ms) CREATE TABLE "classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "category" varchar(255) NOT NULL, "note" text, "classification_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
96
-  (0.2ms) CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
97
-  (0.2ms) CREATE INDEX "index_classifications_on_category" ON "classifications" ("category")
90
+  (0.4ms) CREATE TABLE "classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "category" varchar(255) NOT NULL, "note" text, "classification_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
91
+  (0.1ms) CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
92
+  (0.1ms) CREATE INDEX "index_classifications_on_category" ON "classifications" ("category")
98
93
   (0.2ms) CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
99
-  (1.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('142')
100
-  (0.8ms) commit transaction
94
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('142')
95
+  (0.7ms) commit transaction
101
96
  Migrating to CreateSubjectHasClassifications (143)
102
97
   (0.1ms) begin transaction
103
-  (0.8ms) CREATE TABLE "subject_has_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "classification_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
104
-  (0.3ms) CREATE INDEX "index_subject_has_classifications_on_subject_id" ON "subject_has_classifications" ("subject_id")
105
-  (0.2ms) CREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")
98
+  (0.3ms) CREATE TABLE "subject_has_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "classification_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
99
+  (0.2ms) CREATE INDEX "index_subject_has_classifications_on_subject_id" ON "subject_has_classifications" ("subject_id")
100
+  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")
106
101
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('143')
107
-  (0.8ms) commit transaction
102
+  (0.7ms) commit transaction
108
103
  Migrating to CreateClassificationTypes (144)
109
-  (0.1ms) begin transaction
110
-  (0.4ms) CREATE TABLE "classification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
104
+  (0.0ms) begin transaction
105
+  (0.3ms) CREATE TABLE "classification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
111
106
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('144')
112
-  (1.3ms) commit transaction
107
+  (0.5ms) commit transaction
113
108
  Migrating to CreateSubjectHeadingTypes (145)
114
-  (0.1ms) begin transaction
115
-  (0.5ms) CREATE TABLE "subject_heading_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
109
+  (0.0ms) begin transaction
110
+  (0.4ms) CREATE TABLE "subject_heading_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
116
111
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('145')
117
112
   (0.6ms) commit transaction
118
113
  Migrating to CreateSubjectTypes (146)
119
-  (0.0ms) begin transaction
120
-  (0.5ms) CREATE TABLE "subject_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
114
+  (0.1ms) begin transaction
115
+  (0.3ms) CREATE TABLE "subject_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
121
116
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('146')
122
117
   (0.7ms) commit transaction
123
118
  Migrating to CreateWorkHasSubjects (20080606052544)
124
-  (0.1ms) begin transaction
125
-  (0.6ms) CREATE TABLE "work_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "work_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
119
+  (0.0ms) begin transaction
120
+  (0.3ms) CREATE TABLE "work_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "work_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
126
121
   (0.2ms) CREATE INDEX "index_work_has_subjects_on_subject_id" ON "work_has_subjects" ("subject_id")
127
122
   (0.1ms) CREATE INDEX "index_work_has_subjects_on_work_id" ON "work_has_subjects" ("work_id")
128
123
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080606052544')
129
-  (5.2ms) commit transaction
124
+  (0.6ms) commit transaction
130
125
  Migrating to CreateRealizes (20080830154109)
131
126
   (0.1ms) begin transaction
132
-  (0.4ms) CREATE TABLE "realizes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "expression_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
127
+  (0.3ms) CREATE TABLE "realizes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "expression_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
133
128
   (0.1ms) CREATE INDEX "index_realizes_on_agent_id" ON "realizes" ("agent_id")
134
129
   (0.1ms) CREATE INDEX "index_realizes_on_expression_id" ON "realizes" ("expression_id")
135
130
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830154109')
136
-  (1.5ms) commit transaction
131
+  (0.6ms) commit transaction
137
132
  Migrating to CreateExemplifies (20080830172106)
138
133
   (0.0ms) begin transaction
139
134
   (0.3ms) CREATE TABLE "exemplifies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "manifestation_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
140
-  (0.6ms) CREATE INDEX "index_exemplifies_on_manifestation_id" ON "exemplifies" ("manifestation_id")
141
-  (0.6ms) CREATE UNIQUE INDEX "index_exemplifies_on_item_id" ON "exemplifies" ("item_id")
142
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830172106')
143
-  (0.8ms) commit transaction
135
+  (0.1ms) CREATE INDEX "index_exemplifies_on_manifestation_id" ON "exemplifies" ("manifestation_id")
136
+  (0.3ms) CREATE UNIQUE INDEX "index_exemplifies_on_item_id" ON "exemplifies" ("item_id")
137
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830172106')
138
+  (0.6ms) commit transaction
144
139
  Migrating to CreateAgentTypes (20080905191442)
145
140
   (0.0ms) begin transaction
146
-  (0.6ms) CREATE TABLE "agent_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
141
+  (0.4ms) CREATE TABLE "agent_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147
142
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
148
-  (0.7ms) commit transaction
143
+  (0.6ms) commit transaction
149
144
  Migrating to CreateCountries (20081025083323)
150
-  (0.2ms) begin transaction
151
-  (0.9ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "alpha_2" varchar(255), "alpha_3" varchar(255), "numeric_3" varchar(255), "note" text, "position" integer)
145
+  (0.0ms) begin transaction
146
+  (0.5ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "alpha_2" varchar(255), "alpha_3" varchar(255), "numeric_3" varchar(255), "note" text, "position" integer)
152
147
   (0.2ms) CREATE INDEX "index_countries_on_name" ON "countries" ("name")
153
-  (0.1ms) CREATE INDEX "index_countries_on_alpha_2" ON "countries" ("alpha_2")
148
+  (0.2ms) CREATE INDEX "index_countries_on_alpha_2" ON "countries" ("alpha_2")
154
149
   (0.1ms) CREATE INDEX "index_countries_on_alpha_3" ON "countries" ("alpha_3")
155
150
   (0.1ms) CREATE INDEX "index_countries_on_numeric_3" ON "countries" ("numeric_3")
156
151
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083323')
157
-  (0.6ms) commit transaction
152
+  (0.7ms) commit transaction
158
153
  Migrating to CreateLanguages (20081025083905)
159
154
   (0.0ms) begin transaction
160
-  (0.6ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer)
161
-  (0.6ms) CREATE UNIQUE INDEX "index_languages_on_name" ON "languages" ("name")
155
+  (0.3ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer)
156
+  (0.4ms) CREATE UNIQUE INDEX "index_languages_on_name" ON "languages" ("name")
162
157
   (0.1ms) CREATE INDEX "index_languages_on_iso_639_1" ON "languages" ("iso_639_1")
163
158
   (0.1ms) CREATE INDEX "index_languages_on_iso_639_2" ON "languages" ("iso_639_2")
164
-  (0.2ms) CREATE INDEX "index_languages_on_iso_639_3" ON "languages" ("iso_639_3")
159
+  (0.1ms) CREATE INDEX "index_languages_on_iso_639_3" ON "languages" ("iso_639_3")
165
160
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083905')
166
-  (0.8ms) commit transaction
161
+  (0.7ms) commit transaction
167
162
  Migrating to CreatePictureFiles (20081027150907)
168
-  (0.0ms) begin transaction
169
-  (0.7ms) CREATE TABLE "picture_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "picture_attachable_id" integer, "picture_attachable_type" varchar(255), "content_type" varchar(255), "title" text, "thumbnail" varchar(255), "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
163
+  (0.1ms) begin transaction
164
+  (0.3ms) CREATE TABLE "picture_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "picture_attachable_id" integer, "picture_attachable_type" varchar(255), "content_type" varchar(255), "title" text, "thumbnail" varchar(255), "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
170
165
   (0.2ms) CREATE INDEX "index_picture_files_on_picture_attachable_id_and_type" ON "picture_files" ("picture_attachable_id", "picture_attachable_type")
171
166
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081027150907')
172
-  (1.1ms) commit transaction
167
+  (0.6ms) commit transaction
173
168
  Migrating to CreateAgentImportFiles (20081028083142)
174
-  (0.2ms) begin transaction
175
-  (0.6ms) CREATE TABLE "agent_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "state" varchar(255), "agent_import_file_name" varchar(255), "agent_import_content_type" varchar(255), "agent_import_file_size" integer, "agent_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
176
-  (0.2ms) CREATE INDEX "index_agent_import_files_on_parent_id" ON "agent_import_files" ("parent_id")
169
+  (0.0ms) begin transaction
170
+  (0.5ms) CREATE TABLE "agent_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "state" varchar(255), "agent_import_file_name" varchar(255), "agent_import_content_type" varchar(255), "agent_import_file_size" integer, "agent_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
171
+  (0.1ms) CREATE INDEX "index_agent_import_files_on_parent_id" ON "agent_import_files" ("parent_id")
177
172
   (0.1ms) CREATE INDEX "index_agent_import_files_on_user_id" ON "agent_import_files" ("user_id")
178
173
   (0.1ms) CREATE INDEX "index_agent_import_files_on_state" ON "agent_import_files" ("state")
179
174
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083142')
180
175
   (0.7ms) commit transaction
181
176
  Migrating to CreateResourceImportFiles (20081028083208)
182
177
   (0.0ms) begin transaction
183
-  (0.5ms) CREATE TABLE "resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "imported_at" datetime, "state" varchar(255), "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
178
+  (0.3ms) CREATE TABLE "resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "imported_at" datetime, "state" varchar(255), "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
184
179
   (0.2ms) CREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")
185
180
   (0.1ms) CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")
186
-  (0.5ms) CREATE INDEX "index_resource_import_files_on_state" ON "resource_import_files" ("state")
181
+  (0.1ms) CREATE INDEX "index_resource_import_files_on_state" ON "resource_import_files" ("state")
187
182
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083208')
188
-  (0.9ms) commit transaction
183
+  (0.6ms) commit transaction
189
184
  Migrating to CreateSubjectHeadingTypeHasSubjects (20090208044541)
190
-  (0.1ms) begin transaction
191
-  (0.5ms) CREATE TABLE "subject_heading_type_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer NOT NULL, "subject_type" varchar(255), "subject_heading_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
192
-  (0.3ms) CREATE INDEX "index_subject_heading_type_has_subjects_on_subject_id" ON "subject_heading_type_has_subjects" ("subject_id")
185
+  (0.0ms) begin transaction
186
+  (0.4ms) CREATE TABLE "subject_heading_type_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer NOT NULL, "subject_type" varchar(255), "subject_heading_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
187
+  (0.2ms) CREATE INDEX "index_subject_heading_type_has_subjects_on_subject_id" ON "subject_heading_type_has_subjects" ("subject_id")
193
188
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090208044541')
194
-  (2.2ms) commit transaction
189
+  (0.7ms) commit transaction
195
190
  Migrating to AddAttachmentsPictureToPictureFile (20090705133942)
196
191
   (0.1ms) begin transaction
197
-  (3.8ms) ALTER TABLE "picture_files" ADD "picture_file_name" varchar(255)
198
-  (1.4ms) ALTER TABLE "picture_files" ADD "picture_content_type" varchar(255)
199
-  (0.3ms) ALTER TABLE "picture_files" ADD "picture_file_size" integer
192
+  (0.3ms) ALTER TABLE "picture_files" ADD "picture_file_name" varchar(255)
193
+  (0.1ms) ALTER TABLE "picture_files" ADD "picture_content_type" varchar(255)
194
+  (0.2ms) ALTER TABLE "picture_files" ADD "picture_file_size" integer
200
195
   (0.2ms) ALTER TABLE "picture_files" ADD "picture_updated_at" datetime
201
196
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705133942')
202
-  (1.4ms) commit transaction
197
+  (0.6ms) commit transaction
203
198
  Migrating to AddAttachmentsAttachmentToManifestation (20090705212043)
204
-  (0.2ms) begin transaction
205
-  (0.7ms) ALTER TABLE "manifestations" ADD "attachment_file_name" varchar(255)
206
-  (0.4ms) ALTER TABLE "manifestations" ADD "attachment_content_type" varchar(255)
207
-  (0.3ms) ALTER TABLE "manifestations" ADD "attachment_file_size" integer
208
-  (0.3ms) ALTER TABLE "manifestations" ADD "attachment_updated_at" datetime
199
+  (0.0ms) begin transaction
200
+  (0.4ms) ALTER TABLE "manifestations" ADD "attachment_file_name" varchar(255)
201
+  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_content_type" varchar(255)
202
+  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_file_size" integer
203
+  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_updated_at" datetime
209
204
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705212043')
210
-  (0.6ms) commit transaction
205
+  (0.5ms) commit transaction
211
206
  Migrating to CreateExtents (20090719201843)
212
-  (0.2ms) begin transaction
213
-  (2.3ms) CREATE TABLE "extents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
214
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090719201843')
215
-  (3.5ms) commit transaction
207
+  (0.0ms) begin transaction
208
+  (0.4ms) CREATE TABLE "extents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
209
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090719201843')
210
+  (0.7ms) commit transaction
216
211
  Migrating to CreateMediumOfPerformances (20090720091106)
217
-  (0.1ms) begin transaction
212
+  (0.0ms) begin transaction
218
213
   (0.3ms) CREATE TABLE "medium_of_performances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
219
214
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091106')
220
-  (0.9ms) commit transaction
215
+  (0.6ms) commit transaction
221
216
  Migrating to CreateContentTypes (20090720091429)
222
217
   (0.0ms) begin transaction
223
-  (0.5ms) CREATE TABLE "content_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
218
+  (0.4ms) CREATE TABLE "content_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
224
219
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091429')
225
-  (1.2ms) commit transaction
220
+  (0.6ms) commit transaction
226
221
  Migrating to CreateAgentRelationshipTypes (20090812151902)
227
222
   (0.0ms) begin transaction
228
-  (0.3ms) CREATE TABLE "agent_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
223
+  (0.5ms) CREATE TABLE "agent_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
229
224
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090812151902')
230
-  (0.7ms) commit transaction
225
+  (0.6ms) commit transaction
231
226
  Migrating to AddDcndlSchema (20091012101112)
232
227
   (0.0ms) begin transaction
233
-  (0.8ms) ALTER TABLE "manifestations" ADD "title_alternative_transcription" text
234
-  (0.4ms) ALTER TABLE "agents" ADD "full_name_alternative_transcription" text
235
-  (0.7ms) ALTER TABLE "manifestations" ADD "description" text
236
-  (0.3ms) ALTER TABLE "manifestations" ADD "abstract" text
237
-  (0.3ms) ALTER TABLE "manifestations" ADD "available_at" datetime
238
-  (0.3ms) ALTER TABLE "manifestations" ADD "valid_until" datetime
239
-  (0.4ms) ALTER TABLE "manifestations" ADD "date_submitted" datetime
240
-  (0.3ms) ALTER TABLE "manifestations" ADD "date_accepted" datetime
241
-  (0.4ms) ALTER TABLE "manifestations" ADD "date_caputured" datetime
242
-  (0.6ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_list" varchar(255), "issue_number_list" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime) 
243
-  (0.3ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
228
+  (0.4ms) ALTER TABLE "manifestations" ADD "title_alternative_transcription" text
229
+  (0.2ms) ALTER TABLE "agents" ADD "full_name_alternative_transcription" text
230
+  (0.2ms) ALTER TABLE "manifestations" ADD "description" text
231
+  (0.2ms) ALTER TABLE "manifestations" ADD "abstract" text
232
+  (0.2ms) ALTER TABLE "manifestations" ADD "available_at" datetime
233
+  (0.2ms) ALTER TABLE "manifestations" ADD "valid_until" datetime
234
+  (0.2ms) ALTER TABLE "manifestations" ADD "date_submitted" datetime
235
+  (0.2ms) ALTER TABLE "manifestations" ADD "date_accepted" datetime
236
+  (0.2ms) ALTER TABLE "manifestations" ADD "date_caputured" datetime
237
+  (0.5ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_list" varchar(255), "issue_number_list" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime) 
238
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
244
239
   (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
245
240
   (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
246
241
   (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
247
-  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
248
-  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
249
-  (0.2ms) SELECT * FROM "manifestations"
250
-  (1.2ms) DROP TABLE "manifestations"
251
-  (0.9ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_list" varchar(255), "issue_number_list" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime)
252
-  (0.2ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
253
-  (0.3ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
254
-  (0.2ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
255
-  (0.2ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
256
-  (0.2ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
257
-  (0.2ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
242
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
243
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
244
+  (0.1ms) SELECT * FROM "manifestations"
245
+  (0.4ms) DROP TABLE "manifestations"
246
+  (0.4ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_list" varchar(255), "issue_number_list" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime)
247
+  (0.1ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
248
+  (0.2ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
249
+  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
250
+  (0.1ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
251
+  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
252
+  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
258
253
   (0.1ms) SELECT * FROM "altered_manifestations"
259
-  (0.6ms) DROP TABLE "altered_manifestations"
254
+  (0.5ms) DROP TABLE "altered_manifestations"
260
255
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091012101112')
261
-  (2.2ms) commit transaction
256
+  (1.5ms) commit transaction
262
257
  Migrating to CreateLicenses (20091025080447)
263
-  (0.1ms) begin transaction
264
-  (0.7ms) CREATE TABLE "licenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" varchar(255), "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
258
+  (0.0ms) begin transaction
259
+  (0.3ms) CREATE TABLE "licenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" varchar(255), "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
265
260
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091025080447')
266
261
   (0.6ms) commit transaction
267
262
  Migrating to CreateVersions (20091202124834)
268
263
   (0.0ms) begin transaction
269
-  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar(255) NOT NULL, "item_id" integer NOT NULL, "event" varchar(255) NOT NULL, "whodunnit" varchar(255), "object" text, "created_at" datetime)
264
+  (0.4ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar(255) NOT NULL, "item_id" integer NOT NULL, "event" varchar(255) NOT NULL, "whodunnit" varchar(255), "object" text, "created_at" datetime)
270
265
   (0.2ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
271
266
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091202124834')
272
-  (0.7ms) commit transaction
267
+  (0.8ms) commit transaction
273
268
  Migrating to CreateSeriesStatements (20091214131723)
274
269
   (0.0ms) begin transaction
275
-  (1.2ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
270
+  (0.4ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
276
271
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091214131723')
277
-  (1.0ms) commit transaction
272
+  (0.6ms) commit transaction
278
273
  Migrating to CreateImportRequests (20100129142347)
279
274
   (0.0ms) begin transaction
280
-  (0.5ms) CREATE TABLE "import_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "isbn" varchar(255), "state" varchar(255), "manifestation_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
281
-  (0.2ms) CREATE INDEX "index_import_requests_on_isbn" ON "import_requests" ("isbn")
275
+  (0.3ms) CREATE TABLE "import_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "isbn" varchar(255), "state" varchar(255), "manifestation_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
276
+  (0.1ms) CREATE INDEX "index_import_requests_on_isbn" ON "import_requests" ("isbn")
282
277
   (0.2ms) CREATE INDEX "index_import_requests_on_manifestation_id" ON "import_requests" ("manifestation_id")
283
278
   (0.2ms) CREATE INDEX "index_import_requests_on_user_id" ON "import_requests" ("user_id")
284
279
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100129142347')
285
-  (1.7ms) commit transaction
280
+  (0.7ms) commit transaction
286
281
  Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
287
-  (0.1ms) begin transaction
288
-  (0.3ms) CREATE TEMPORARY TABLE "altered_series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
282
+  (0.0ms) begin transaction
283
+  (0.2ms) CREATE TEMPORARY TABLE "altered_series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
289
284
   (0.1ms) SELECT * FROM "series_statements"
290
-  (0.3ms) DROP TABLE "series_statements"
291
-  (0.3ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
292
-  (0.1ms) SELECT * FROM "altered_series_statements"
285
+  (0.2ms) DROP TABLE "series_statements"
286
+  (0.1ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
287
+  (0.0ms) SELECT * FROM "altered_series_statements"
293
288
   (0.1ms) DROP TABLE "altered_series_statements"
294
-  (0.3ms) ALTER TABLE "series_statements" ADD "title_transcription" text
295
-  (0.4ms) ALTER TABLE "series_statements" ADD "title_alternative" text
296
-  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100223121519')
297
-  (1.1ms) commit transaction
289
+  (0.1ms) ALTER TABLE "series_statements" ADD "title_transcription" text
290
+  (0.1ms) ALTER TABLE "series_statements" ADD "title_alternative" text
291
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100223121519')
292
+  (0.7ms) commit transaction
298
293
  Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
299
-  (0.1ms) begin transaction
300
-  (0.6ms) ALTER TABLE "series_statements" ADD "series_statement_identifier" varchar(255)
301
-  (0.2ms) CREATE INDEX "index_series_statements_on_series_statement_identifier" ON "series_statements" ("series_statement_identifier")
294
+  (0.0ms) begin transaction
295
+  (0.3ms) ALTER TABLE "series_statements" ADD "series_statement_identifier" varchar(255)
296
+  (0.1ms) CREATE INDEX "index_series_statements_on_series_statement_identifier" ON "series_statements" ("series_statement_identifier")
302
297
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100321235924')
303
-  (2.1ms) commit transaction
298
+  (2.7ms) commit transaction
304
299
  Migrating to CreateManifestationRelationships (20100525124311)
305
300
   (0.1ms) begin transaction
306
-  (1.3ms) CREATE TABLE "manifestation_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "manifestation_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
307
-  (0.2ms) CREATE INDEX "index_manifestation_relationships_on_parent_id" ON "manifestation_relationships" ("parent_id")
308
-  (0.2ms) CREATE INDEX "index_manifestation_relationships_on_child_id" ON "manifestation_relationships" ("child_id")
301
+  (0.3ms) CREATE TABLE "manifestation_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "manifestation_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
302
+  (0.1ms) CREATE INDEX "index_manifestation_relationships_on_parent_id" ON "manifestation_relationships" ("parent_id")
303
+  (0.1ms) CREATE INDEX "index_manifestation_relationships_on_child_id" ON "manifestation_relationships" ("child_id")
309
304
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100525124311')
310
305
   (0.7ms) commit transaction
311
306
  Migrating to CreateAgentRelationships (20100606073747)
312
-  (0.1ms) begin transaction
313
-  (0.5ms) CREATE TABLE "agent_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "agent_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
307
+  (0.0ms) begin transaction
308
+  (0.4ms) CREATE TABLE "agent_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "agent_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
314
309
   (0.2ms) CREATE INDEX "index_agent_relationships_on_parent_id" ON "agent_relationships" ("parent_id")
315
-  (0.1ms) CREATE INDEX "index_agent_relationships_on_child_id" ON "agent_relationships" ("child_id")
310
+  (0.2ms) CREATE INDEX "index_agent_relationships_on_child_id" ON "agent_relationships" ("child_id")
316
311
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100606073747')
317
-  (3.2ms) commit transaction
312
+  (0.6ms) commit transaction
318
313
  Migrating to CreateManifestationRelationshipTypes (20100607044753)
319
-  (0.1ms) begin transaction
320
-  (0.5ms) CREATE TABLE "manifestation_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
314
+  (0.0ms) begin transaction
315
+  (0.3ms) CREATE TABLE "manifestation_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
321
316
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100607044753')
322
-  (0.5ms) commit transaction
317
+  (0.6ms) commit transaction
323
318
  Migrating to AddPositionToAgentRelationship (20100814091104)
324
319
   (0.0ms) begin transaction
325
-  (0.6ms) ALTER TABLE "manifestation_relationships" ADD "position" integer
326
-  (0.2ms) ALTER TABLE "agent_relationships" ADD "position" integer
320
+  (0.3ms) ALTER TABLE "manifestation_relationships" ADD "position" integer
321
+  (0.1ms) ALTER TABLE "agent_relationships" ADD "position" integer
327
322
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100814091104')
328
-  (0.9ms) commit transaction
323
+  (0.6ms) commit transaction
329
324
  Migrating to CreateResourceImportResults (20100925043847)
330
325
   (0.0ms) begin transaction
331
-  (0.5ms) CREATE TABLE "resource_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_import_file_id" integer, "manifestation_id" integer, "item_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
332
-  (0.2ms) CREATE INDEX "index_resource_import_results_on_resource_import_file_id" ON "resource_import_results" ("resource_import_file_id")
333
-  (0.3ms) CREATE INDEX "index_resource_import_results_on_manifestation_id" ON "resource_import_results" ("manifestation_id")
334
-  (0.4ms) CREATE INDEX "index_resource_import_results_on_item_id" ON "resource_import_results" ("item_id")
335
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925043847')
336
-  (2.0ms) commit transaction
326
+  (0.3ms) CREATE TABLE "resource_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_import_file_id" integer, "manifestation_id" integer, "item_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
327
+  (0.1ms) CREATE INDEX "index_resource_import_results_on_resource_import_file_id" ON "resource_import_results" ("resource_import_file_id")
328
+  (0.1ms) CREATE INDEX "index_resource_import_results_on_manifestation_id" ON "resource_import_results" ("manifestation_id")
329
+  (0.1ms) CREATE INDEX "index_resource_import_results_on_item_id" ON "resource_import_results" ("item_id")
330
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925043847')
331
+  (0.7ms) commit transaction
337
332
  Migrating to CreateAgentImportResults (20100925074559)
338
-  (0.1ms) begin transaction
339
-  (5.0ms) CREATE TABLE "agent_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_import_file_id" integer, "agent_id" integer, "user_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
340
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925074559')
341
-  (1.3ms) commit transaction
333
+  (0.0ms) begin transaction
334
+  (0.5ms) CREATE TABLE "agent_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_import_file_id" integer, "agent_id" integer, "user_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
335
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925074559')
336
+  (0.6ms) commit transaction
342
337
  Migrating to AddAcquiredAtToItem (20101212070145)
343
-  (0.1ms) begin transaction
344
-  (0.6ms) ALTER TABLE "items" ADD "acquired_at" datetime
345
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101212070145')
346
-  (0.9ms) commit transaction
338
+  (0.0ms) begin transaction
339
+  (0.5ms) ALTER TABLE "items" ADD "acquired_at" datetime
340
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101212070145')
341
+  (0.6ms) commit transaction
347
342
  Migrating to AddPubDateToManifestation (20110301035123)
348
343
   (0.1ms) begin transaction
349
-  (1.2ms) ALTER TABLE "manifestations" ADD "pub_date" varchar(255)
344
+  (0.4ms) ALTER TABLE "manifestations" ADD "pub_date" varchar(255)
350
345
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301035123')
351
-  (0.7ms) commit transaction
346
+  (0.5ms) commit transaction
352
347
  Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
353
-  (0.1ms) begin transaction
354
-  (0.7ms) ALTER TABLE "agents" ADD "birth_date" varchar(255)
355
-  (0.5ms) ALTER TABLE "agents" ADD "death_date" varchar(255)
348
+  (0.0ms) begin transaction
349
+  (0.5ms) ALTER TABLE "agents" ADD "birth_date" varchar(255)
350
+  (0.3ms) ALTER TABLE "agents" ADD "death_date" varchar(255)
356
351
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301121550')
357
-  (0.6ms) commit transaction
352
+  (0.5ms) commit transaction
358
353
  Migrating to AddIssnToSeriesStatement (20110425133109)
359
-  (0.1ms) begin transaction
360
-  (0.5ms) ALTER TABLE "series_statements" ADD "issn" varchar(255)
354
+  (0.0ms) begin transaction
355
+  (0.4ms) ALTER TABLE "series_statements" ADD "issn" varchar(255)
361
356
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110425133109')
362
-  (0.8ms) commit transaction
357
+  (0.6ms) commit transaction
363
358
  Migrating to AddEditModeToResourceImportFile (20110603184217)
364
359
   (0.0ms) begin transaction
365
-  (0.5ms) ALTER TABLE "resource_import_files" ADD "edit_mode" varchar(255)
360
+  (0.3ms) ALTER TABLE "resource_import_files" ADD "edit_mode" varchar(255)
366
361
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110603184217')
367
-  (2.4ms) commit transaction
362
+  (0.5ms) commit transaction
368
363
  Migrating to AddPeriodicalToSeriesStatement (20110618091240)
369
-  (1.5ms) begin transaction
370
-  (0.6ms) ALTER TABLE "series_statements" ADD "periodical" boolean
364
+  (0.0ms) begin transaction
365
+  (0.5ms) ALTER TABLE "series_statements" ADD "periodical" boolean
371
366
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110618091240')
372
-  (0.6ms) commit transaction
367
+  (0.5ms) commit transaction
373
368
  Migrating to AddEditionStringToManifestation (20110619064807)
374
-  (0.1ms) begin transaction
375
-  (0.7ms) ALTER TABLE "manifestations" ADD "edition_string" varchar(255)
369
+  (0.0ms) begin transaction
370
+  (0.4ms) ALTER TABLE "manifestations" ADD "edition_string" varchar(255)
376
371
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110619064807')
377
-  (0.6ms) commit transaction
372
+  (0.9ms) commit transaction
378
373
  Migrating to AddBookstoreIdToItem (20110620173525)
379
374
   (0.0ms) begin transaction
380
375
   (0.5ms) ALTER TABLE "items" ADD "bookstore_id" integer
@@ -385,330 +380,341 @@ Migrating to CreateSeriesStatementMergeLists (20110627034940)
385
380
   (0.0ms) begin transaction
386
381
   (0.4ms) CREATE TABLE "series_statement_merge_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
387
382
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627034940')
388
-  (2.1ms) commit transaction
383
+  (1.2ms) commit transaction
389
384
  Migrating to CreateSeriesStatementMerges (20110627035057)
390
-  (0.1ms) begin transaction
391
-  (2.0ms) CREATE TABLE "series_statement_merges" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer NOT NULL, "series_statement_merge_list_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
392
-  (0.4ms) CREATE INDEX "index_series_statement_merges_on_series_statement_id" ON "series_statement_merges" ("series_statement_id")
393
-  (0.2ms) CREATE INDEX "index_series_statement_merges_on_series_statement_merge_list_id" ON "series_statement_merges" ("series_statement_merge_list_id")
385
+  (0.0ms) begin transaction
386
+  (0.5ms) CREATE TABLE "series_statement_merges" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer NOT NULL, "series_statement_merge_list_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
387
+  (0.1ms) CREATE INDEX "index_series_statement_merges_on_series_statement_id" ON "series_statement_merges" ("series_statement_id")
388
+  (0.1ms) CREATE INDEX "index_series_statement_merges_on_series_statement_merge_list_id" ON "series_statement_merges" ("series_statement_merge_list_id")
394
389
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627035057')
395
-  (1.2ms) commit transaction
390
+  (1.4ms) commit transaction
396
391
  Migrating to CreateSeriesHasManifestations (20110820131417)
397
-  (0.0ms) begin transaction
398
-  (0.5ms) CREATE TABLE "series_has_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer, "manifestation_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
399
-  (0.2ms) CREATE INDEX "index_series_has_manifestations_on_series_statement_id" ON "series_has_manifestations" ("series_statement_id")
392
+  (0.1ms) begin transaction
393
+  (0.4ms) CREATE TABLE "series_has_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer, "manifestation_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
394
+  (0.1ms) CREATE INDEX "index_series_has_manifestations_on_series_statement_id" ON "series_has_manifestations" ("series_statement_id")
400
395
   (0.2ms) CREATE INDEX "index_series_has_manifestations_on_manifestation_id" ON "series_has_manifestations" ("manifestation_id")
401
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110820131417')
402
-  (1.5ms) commit transaction
396
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110820131417')
397
+  (0.6ms) commit transaction
403
398
  Migrating to AddLftAndRgtToClassification (20110913120629)
404
-  (0.1ms) begin transaction
405
-  (0.6ms) ALTER TABLE "classifications" ADD "lft" integer
406
-  (1.3ms) ALTER TABLE "classifications" ADD "rgt" integer
407
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
408
-  (1.6ms) commit transaction
399
+  (0.0ms) begin transaction
400
+  (0.4ms) ALTER TABLE "classifications" ADD "lft" integer
401
+  (0.2ms) ALTER TABLE "classifications" ADD "rgt" integer
402
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
403
+  (0.5ms) commit transaction
409
404
  Migrating to RenameManifestationNumberListToNumberString (20110916053430)
410
-  (0.1ms) begin transaction
411
-  (0.4ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_list" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255)) 
405
+  (0.0ms) begin transaction
406
+  (0.3ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_list" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255)) 
412
407
   (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
413
408
   (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
414
-  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
415
-  (0.6ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
416
-  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
417
-  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
418
-  (0.3ms) SELECT * FROM "manifestations"
419
-  (0.6ms) DROP TABLE "manifestations"
420
-  (0.5ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_list" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255))
421
-  (1.2ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
422
-  (0.9ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
423
-  (0.2ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
424
-  (0.2ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
425
-  (0.2ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
426
-  (0.2ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
427
-  (0.3ms) SELECT * FROM "altered_manifestations"
428
-  (0.3ms) DROP TABLE "altered_manifestations"
429
-  (0.4ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255)) 
409
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
410
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
411
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
412
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
413
+  (0.1ms) SELECT * FROM "manifestations"
414
+  (0.5ms) DROP TABLE "manifestations"
415
+  (0.4ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_list" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255))
416
+  (0.1ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
417
+  (0.1ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
418
+  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
419
+  (0.1ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
420
+  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
421
+  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
422
+  (0.1ms) SELECT * FROM "altered_manifestations"
423
+  (0.1ms) DROP TABLE "altered_manifestations"
424
+  (0.2ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255)) 
430
425
   (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
431
426
   (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
432
-  (0.4ms) CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
433
-  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
434
-  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
435
-  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
436
-  (0.2ms) SELECT * FROM "manifestations"
437
-  (0.8ms) DROP TABLE "manifestations"
427
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
428
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
429
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
430
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
431
+  (0.1ms) SELECT * FROM "manifestations"
432
+  (0.6ms) DROP TABLE "manifestations"
438
433
   (0.4ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255))
439
-  (0.2ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
434
+  (0.1ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
440
435
   (0.1ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
441
-  (0.2ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
442
-  (0.2ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
443
-  (2.4ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
444
-  (0.2ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
445
-  (0.2ms) SELECT * FROM "altered_manifestations"
446
-  (0.3ms) DROP TABLE "altered_manifestations"
447
-  (0.3ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255)) 
448
-  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
436
+  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
437
+  (0.1ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
438
+  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
439
+  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
440
+  (0.1ms) SELECT * FROM "altered_manifestations"
441
+  (0.2ms) DROP TABLE "altered_manifestations"
442
+  (0.2ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255)) 
443
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
449
444
   (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
450
-  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
445
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
451
446
   (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
452
447
   (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
453
-  (0.9ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
448
+  (0.3ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
454
449
   (0.2ms) SELECT * FROM "manifestations"
455
-  (0.3ms) DROP TABLE "manifestations"
456
-  (0.4ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255))
457
-  (0.2ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
450
+  (0.5ms) DROP TABLE "manifestations"
451
+  (0.2ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255))
452
+  (0.1ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
458
453
   (0.2ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
459
454
   (0.2ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
460
455
   (0.2ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
461
-  (0.2ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
462
-  (0.2ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
463
-  (1.1ms) SELECT * FROM "altered_manifestations"
464
-  (0.3ms) DROP TABLE "altered_manifestations"
456
+  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
457
+  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
458
+  (0.1ms) SELECT * FROM "altered_manifestations"
459
+  (0.2ms) DROP TABLE "altered_manifestations"
465
460
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916053430')
466
-  (3.1ms) commit transaction
461
+  (1.7ms) commit transaction
467
462
  Migrating to AddVolumeNumberToManifestation (20110916091020)
468
-  (0.1ms) begin transaction
469
-  (0.8ms) ALTER TABLE "manifestations" ADD "volume_number" integer
470
-  (0.4ms) ALTER TABLE "manifestations" ADD "issue_number" integer
471
-  (2.4ms) ALTER TABLE "manifestations" ADD "serial_number" integer
472
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916091020')
473
-  (0.8ms) commit transaction
463
+  (0.0ms) begin transaction
464
+  (0.4ms) ALTER TABLE "manifestations" ADD "volume_number" integer
465
+  (0.2ms) ALTER TABLE "manifestations" ADD "issue_number" integer
466
+  (0.2ms) ALTER TABLE "manifestations" ADD "serial_number" integer
467
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916091020')
468
+  (1.2ms) commit transaction
474
469
  Migrating to AddManifestaitonIdToSeriesStatement (20110916103953)
475
-  (0.1ms) begin transaction
476
-  (0.6ms) ALTER TABLE "series_statements" ADD "manifestation_id" integer
477
-  (0.2ms) CREATE INDEX "index_series_statements_on_manifestation_id" ON "series_statements" ("manifestation_id")
470
+  (0.0ms) begin transaction
471
+  (0.3ms) ALTER TABLE "series_statements" ADD "manifestation_id" integer
472
+  (0.1ms) CREATE INDEX "index_series_statements_on_manifestation_id" ON "series_statements" ("manifestation_id")
478
473
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916103953')
479
-  (1.0ms) commit transaction
474
+  (7.9ms) commit transaction
480
475
  Migrating to AddNoteToSeriesStatement (20110918162329)
481
-  (0.1ms) begin transaction
482
-  (0.8ms) ALTER TABLE "series_statements" ADD "note" text
483
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110918162329')
484
-  (4.1ms) commit transaction
476
+  (0.0ms) begin transaction
477
+  (0.3ms) ALTER TABLE "series_statements" ADD "note" text
478
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110918162329')
479
+  (0.5ms) commit transaction
485
480
  Migrating to AddNdcToManifestation (20111009183423)
486
-  (0.1ms) begin transaction
487
-  (0.8ms) ALTER TABLE "manifestations" ADD "ndc" varchar(255)
481
+  (0.0ms) begin transaction
482
+  (0.4ms) ALTER TABLE "manifestations" ADD "ndc" varchar(255)
488
483
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111009183423')
489
-  (1.5ms) commit transaction
484
+  (0.5ms) commit transaction
490
485
  Migrating to CreateCreateTypes (20111124110059)
491
486
   (0.0ms) begin transaction
492
-  (0.5ms) CREATE TABLE "create_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
487
+  (0.3ms) CREATE TABLE "create_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
493
488
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110059')
494
489
   (0.6ms) commit transaction
495
490
  Migrating to CreateRealizeTypes (20111124110319)
496
491
   (0.0ms) begin transaction
497
-  (0.5ms) CREATE TABLE "realize_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
492
+  (0.3ms) CREATE TABLE "realize_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
498
493
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110319')
499
-  (1.4ms) commit transaction
494
+  (0.6ms) commit transaction
500
495
  Migrating to CreateProduceTypes (20111124110355)
501
-  (0.1ms) begin transaction
502
-  (0.9ms) CREATE TABLE "produce_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
503
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110355')
504
-  (0.8ms) commit transaction
496
+  (0.0ms) begin transaction
497
+  (0.3ms) CREATE TABLE "produce_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
498
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110355')
499
+  (1.9ms) commit transaction
505
500
  Migrating to AddCreateTypeToCreate (20111124112131)
506
501
   (0.0ms) begin transaction
507
-  (0.4ms) ALTER TABLE "creates" ADD "create_type_id" integer
502
+  (0.3ms) ALTER TABLE "creates" ADD "create_type_id" integer
508
503
   (0.2ms) ALTER TABLE "realizes" ADD "realize_type_id" integer
509
-  (0.1ms) ALTER TABLE "produces" ADD "produce_type_id" integer
504
+  (0.3ms) ALTER TABLE "produces" ADD "produce_type_id" integer
510
505
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124112131')
511
-  (0.5ms) commit transaction
506
+  (2.6ms) commit transaction
512
507
  Migrating to CreateRoles (20111201121844)
513
-  (0.0ms) begin transaction
514
-  (0.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
508
+  (0.1ms) begin transaction
509
+  (0.7ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
515
510
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844')
516
-  (0.7ms) commit transaction
511
+  (0.6ms) commit transaction
517
512
  Migrating to CreateUsers (20111201155456)
518
513
   (0.0ms) begin transaction
519
-  (3.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "locale" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
514
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "locale" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
520
515
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456')
521
-  (1.3ms) commit transaction
516
+  (8.8ms) commit transaction
522
517
  Migrating to AddDeviseToUsers (20111201155513)
523
-  (0.5ms) begin transaction
524
-  (0.7ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL
525
-  (0.3ms) ALTER TABLE "users" ADD "encrypted_password" varchar(255) DEFAULT '' NOT NULL
518
+  (0.1ms) begin transaction
519
+  (0.5ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL
520
+  (0.2ms) ALTER TABLE "users" ADD "encrypted_password" varchar(255) DEFAULT '' NOT NULL
526
521
   (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar(255)
527
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
528
-  (0.3ms) ALTER TABLE "users" ADD "remember_created_at" datetime
522
+  (0.4ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
523
+  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
529
524
   (0.2ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
530
525
   (0.2ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime
531
526
   (0.2ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime
532
527
   (0.2ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)
533
-  (0.3ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
528
+  (0.2ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
534
529
   (0.2ms) ALTER TABLE "users" ADD "password_salt" varchar(255)
535
530
   (0.2ms) ALTER TABLE "users" ADD "confirmation_token" varchar(255)
536
531
   (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
537
532
   (0.2ms) ALTER TABLE "users" ADD "confirmation_sent_at" datetime
538
533
   (0.2ms) ALTER TABLE "users" ADD "unconfirmed_email" varchar(255)
539
-  (0.2ms) ALTER TABLE "users" ADD "failed_attempts" integer DEFAULT 0
540
-  (0.3ms) ALTER TABLE "users" ADD "unlock_token" varchar(255)
541
-  (0.3ms) ALTER TABLE "users" ADD "locked_at" datetime
542
-  (1.9ms) ALTER TABLE "users" ADD "authentication_token" varchar(255)
543
-  (0.3ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
544
-  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
534
+  (0.3ms) ALTER TABLE "users" ADD "failed_attempts" integer DEFAULT 0
535
+  (0.2ms) ALTER TABLE "users" ADD "unlock_token" varchar(255)
536
+  (0.2ms) ALTER TABLE "users" ADD "locked_at" datetime
537
+  (0.2ms) ALTER TABLE "users" ADD "authentication_token" varchar(255)
538
+  (0.2ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
539
+  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
545
540
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513')
546
-  (2.3ms) commit transaction
541
+  (0.6ms) commit transaction
547
542
  Migrating to CreateUserHasRoles (20111201163718)
548
-  (0.1ms) begin transaction
549
-  (0.5ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
543
+  (0.0ms) begin transaction
544
+  (0.3ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
550
545
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')
551
-  (1.9ms) commit transaction
546
+  (0.5ms) commit transaction
552
547
  Migrating to AddTitleSubseriesTranscriptionToSeriesStatement (20120125152919)
553
-  (0.1ms) begin transaction
554
-  (0.6ms) ALTER TABLE "series_statements" ADD "title_subseries_transcription" text
548
+  (0.0ms) begin transaction
549
+  (0.3ms) ALTER TABLE "series_statements" ADD "title_subseries_transcription" text
555
550
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120125152919')
556
551
   (0.6ms) commit transaction
557
552
  Migrating to AddBudgetTypeIdToItem (20120129020544)
558
553
   (0.0ms) begin transaction
559
-  (0.6ms) ALTER TABLE "items" ADD "budget_type_id" integer
554
+  (0.4ms) ALTER TABLE "items" ADD "budget_type_id" integer
560
555
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120129020544')
561
-  (0.5ms) commit transaction
556
+  (2.8ms) commit transaction
562
557
  Migrating to AddContentTypeIdToManifestation (20120319120638)
563
-  (0.0ms) begin transaction
564
-  (0.9ms) ALTER TABLE "manifestations" ADD "content_type_id" integer DEFAULT 1
558
+  (0.1ms) begin transaction
559
+  (0.6ms) ALTER TABLE "manifestations" ADD "content_type_id" integer DEFAULT 1
565
560
   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120319120638')
566
-  (1.2ms) commit transaction
561
+  (2.8ms) commit transaction
567
562
  Migrating to AddUrlToSubject (20120406020752)
568
563
   (0.1ms) begin transaction
569
-  (0.6ms) ALTER TABLE "subjects" ADD "url" varchar(255)
564
+  (0.4ms) ALTER TABLE "subjects" ADD "url" varchar(255)
570
565
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120406020752')
571
-  (0.7ms) commit transaction
566
+  (0.6ms) commit transaction
572
567
  Migrating to AddYearOfPublicationToManifestation (20120410104851)
573
-  (0.1ms) begin transaction
574
-  (0.7ms) ALTER TABLE "manifestations" ADD "year_of_publication" integer
568
+  (0.0ms) begin transaction
569
+  (0.4ms) ALTER TABLE "manifestations" ADD "year_of_publication" integer
575
570
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120410104851')
576
571
   (0.5ms) commit transaction
577
572
  Migrating to AddPictureMetaToPictureFile (20120413072700)
578
573
   (0.0ms) begin transaction
579
-  (0.5ms) ALTER TABLE "picture_files" ADD "picture_meta" text
574
+  (0.3ms) ALTER TABLE "picture_files" ADD "picture_meta" text
580
575
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413072700')
581
-  (0.7ms) commit transaction
576
+  (0.6ms) commit transaction
582
577
  Migrating to AddFingerprintToPictureFile (20120413100352)
583
-  (0.2ms) begin transaction
584
-  (0.7ms) ALTER TABLE "picture_files" ADD "picture_fingerprint" varchar(255)
578
+  (0.0ms) begin transaction
579
+  (0.4ms) ALTER TABLE "picture_files" ADD "picture_fingerprint" varchar(255)
585
580
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413100352')
586
-  (0.8ms) commit transaction
581
+  (0.6ms) commit transaction
587
582
  Migrating to AddFingerprintToResourceImportFile (20120413161340)
588
-  (0.1ms) begin transaction
589
-  (0.6ms) ALTER TABLE "resource_import_files" ADD "resource_import_fingerprint" varchar(255)
583
+  (0.0ms) begin transaction
584
+  (0.4ms) ALTER TABLE "resource_import_files" ADD "resource_import_fingerprint" varchar(255)
590
585
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413161340')
591
-  (1.0ms) commit transaction
586
+  (0.5ms) commit transaction
592
587
  Migrating to AddFingerprintToAgentImportFile (20120413161403)
593
-  (0.1ms) begin transaction
594
-  (0.5ms) ALTER TABLE "agent_import_files" ADD "agent_import_fingerprint" varchar(255)
588
+  (0.0ms) begin transaction
589
+  (0.3ms) ALTER TABLE "agent_import_files" ADD "agent_import_fingerprint" varchar(255)
595
590
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413161403')
596
-  (0.6ms) commit transaction
591
+  (0.5ms) commit transaction
597
592
  Migrating to AddErrorMessageToResourceImportFile (20120413170705)
598
593
   (0.0ms) begin transaction
599
-  (0.7ms) ALTER TABLE "resource_import_files" ADD "error_message" text
594
+  (0.4ms) ALTER TABLE "resource_import_files" ADD "error_message" text
600
595
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413170705')
601
596
   (0.6ms) commit transaction
602
597
  Migrating to AddErrorMessageToAgentImportFile (20120413170720)
603
598
   (0.0ms) begin transaction
604
-  (0.4ms) ALTER TABLE "agent_import_files" ADD "error_message" text
599
+  (0.5ms) ALTER TABLE "agent_import_files" ADD "error_message" text
605
600
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413170720')
606
-  (0.6ms) commit transaction
601
+  (0.8ms) commit transaction
607
602
  Migrating to RenameResourceImportFileImportedAtToExecutedAt (20120415060308)
608
603
   (0.0ms) begin transaction
609
-  (0.3ms) CREATE TEMPORARY TABLE "altered_resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "state" varchar(255), "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "edit_mode" varchar(255), "resource_import_fingerprint" varchar(255), "error_message" text) 
604
+  (0.1ms) CREATE TEMPORARY TABLE "altered_resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "state" varchar(255), "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "edit_mode" varchar(255), "resource_import_fingerprint" varchar(255), "error_message" text) 
610
605
   (0.1ms) CREATE INDEX "temp_index_altered_resource_import_files_on_state" ON "altered_resource_import_files" ("state")
611
606
   (0.1ms) CREATE INDEX "temp_index_altered_resource_import_files_on_user_id" ON "altered_resource_import_files" ("user_id")
612
607
   (0.1ms) CREATE INDEX "temp_index_altered_resource_import_files_on_parent_id" ON "altered_resource_import_files" ("parent_id")
613
608
   (0.1ms) SELECT * FROM "resource_import_files"
614
609
   (0.3ms) DROP TABLE "resource_import_files"
615
-  (0.3ms) CREATE TABLE "resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "state" varchar(255), "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "edit_mode" varchar(255), "resource_import_fingerprint" varchar(255), "error_message" text) 
610
+  (0.1ms) CREATE TABLE "resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "state" varchar(255), "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "edit_mode" varchar(255), "resource_import_fingerprint" varchar(255), "error_message" text) 
616
611
   (0.1ms) CREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")
617
-  (0.2ms) CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")
618
-  (0.2ms) CREATE INDEX "index_resource_import_files_on_state" ON "resource_import_files" ("state")
619
-  (0.1ms) SELECT * FROM "altered_resource_import_files"
612
+  (0.1ms) CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")
613
+  (0.1ms) CREATE INDEX "index_resource_import_files_on_state" ON "resource_import_files" ("state")
614
+  (0.0ms) SELECT * FROM "altered_resource_import_files"
620
615
   (0.1ms) DROP TABLE "altered_resource_import_files"
621
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120415060308')
622
-  (1.6ms) commit transaction
616
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120415060308')
617
+  (0.7ms) commit transaction
623
618
  Migrating to AddAttachmentMetaToManifestation (20120415164821)
624
-  (0.1ms) begin transaction
625
-  (0.5ms) ALTER TABLE "manifestations" ADD "attachment_meta" text
619
+  (0.0ms) begin transaction
620
+  (0.4ms) ALTER TABLE "manifestations" ADD "attachment_meta" text
626
621
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120415164821')
627
-  (1.2ms) commit transaction
622
+  (0.6ms) commit transaction
628
623
  Migrating to AddMonthOfPublicationToManifestation (20120418081407)
629
624
   (0.1ms) begin transaction
630
-  (0.6ms) ALTER TABLE "manifestations" ADD "month_of_publication" integer
631
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120418081407')
632
-  (1.0ms) commit transaction
625
+  (0.5ms) ALTER TABLE "manifestations" ADD "month_of_publication" integer
626
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120418081407')
627
+  (0.6ms) commit transaction
633
628
  Migrating to AddAgentIdentifierToAgent (20120511072422)
634
-  (0.1ms) begin transaction
635
-  (0.7ms) ALTER TABLE "agents" ADD "agent_identifier" varchar(255)
636
-  (0.4ms) CREATE INDEX "index_agents_on_agent_identifier" ON "agents" ("agent_identifier")
637
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120511072422')
638
-  (0.7ms) commit transaction
629
+  (0.0ms) begin transaction
630
+  (0.4ms) ALTER TABLE "agents" ADD "agent_identifier" varchar(255)
631
+  (0.1ms) CREATE INDEX "index_agents_on_agent_identifier" ON "agents" ("agent_identifier")
632
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120511072422')
633
+  (17.1ms) commit transaction
639
634
  Migrating to AddEditModeToAgentImportFile (20120602141129)
640
-  (0.1ms) begin transaction
641
-  (0.6ms) ALTER TABLE "agent_import_files" ADD "edit_mode" varchar(255)
642
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120602141129')
643
-  (1.2ms) commit transaction
635
+  (0.0ms) begin transaction
636
+  (0.4ms) ALTER TABLE "agent_import_files" ADD "edit_mode" varchar(255)
637
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120602141129')
638
+  (0.9ms) commit transaction
644
639
  Migrating to AddDoiToManifestation (20121116033446)
645
-  (0.1ms) begin transaction
646
-  (0.7ms) ALTER TABLE "manifestations" ADD "doi" varchar(255)
647
-  (0.3ms) CREATE INDEX "index_manifestations_on_doi" ON "manifestations" ("doi")
640
+  (0.0ms) begin transaction
641
+  (0.4ms) ALTER TABLE "manifestations" ADD "doi" varchar(255)
642
+  (0.2ms) CREATE INDEX "index_manifestations_on_doi" ON "manifestations" ("doi")
648
643
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121116033446')
649
-  (0.6ms) commit transaction
644
+  (2.6ms) commit transaction
650
645
  Migrating to AddPeriodicalToManifestation (20130421093852)
651
646
   (0.0ms) begin transaction
652
-  (2.2ms) ALTER TABLE "manifestations" ADD "periodical" boolean
647
+  (0.6ms) ALTER TABLE "manifestations" ADD "periodical" boolean
653
648
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421093852')
654
-  (2.5ms) commit transaction
649
+  (3.7ms) commit transaction
655
650
  Migrating to AddCreatorStringToSeriesStatement (20130421155019)
656
-  (0.1ms) begin transaction
657
-  (0.8ms) ALTER TABLE "series_statements" ADD "creator_string" text
658
-  (0.3ms) ALTER TABLE "series_statements" ADD "volume_number_string" text
659
-  (0.3ms) ALTER TABLE "series_statements" ADD "volume_number_transcription_string" text
651
+  (0.0ms) begin transaction
652
+  (0.5ms) ALTER TABLE "series_statements" ADD "creator_string" text
653
+  (0.2ms) ALTER TABLE "series_statements" ADD "volume_number_string" text
654
+  (0.2ms) ALTER TABLE "series_statements" ADD "volume_number_transcription_string" text
660
655
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421155019')
661
-  (1.3ms) commit transaction
656
+  (0.5ms) commit transaction
662
657
  Migrating to AddSeriesMasterToSeriesStatement (20130421164124)
663
658
   (0.0ms) begin transaction
664
-  (0.6ms) ALTER TABLE "series_statements" ADD "series_master" boolean
665
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421164124')
666
-  (0.6ms) commit transaction
667
- Migrating to AddRootManifestationIdToSeriesStatement (20130429020822)
668
-  (0.1ms) begin transaction
669
-  (0.7ms) ALTER TABLE "series_statements" ADD "root_manifestation_id" integer
670
-  (0.4ms) CREATE INDEX "index_series_statements_on_root_manifestation_id" ON "series_statements" ("root_manifestation_id")
659
+  (0.3ms) ALTER TABLE "series_statements" ADD "series_master" boolean
660
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421164124')
661
+  (0.5ms) commit transaction
662
+ Migrating to AddRootManifestationIdToSeriesStatement (20130429020822)
663
+  (0.0ms) begin transaction
664
+  (0.4ms) ALTER TABLE "series_statements" ADD "root_manifestation_id" integer
665
+  (0.2ms) CREATE INDEX "index_series_statements_on_root_manifestation_id" ON "series_statements" ("root_manifestation_id")
671
666
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130429020822')
672
-  (1.0ms) commit transaction
667
+  (4.5ms) commit transaction
673
668
  Migrating to AddManifestationIdToSubject (20130504133816)
674
-  (0.0ms) begin transaction
669
+  (0.1ms) begin transaction
675
670
   (0.5ms) ALTER TABLE "subjects" ADD "manifestation_id" integer
676
671
   (0.2ms) CREATE INDEX "index_subjects_on_manifestation_id" ON "subjects" ("manifestation_id")
677
672
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504133816')
678
-  (0.7ms) commit transaction
673
+  (5.0ms) commit transaction
679
674
  Migrating to AddManifestationIdToClassification (20130504143515)
680
675
   (0.0ms) begin transaction
681
-  (0.6ms) ALTER TABLE "classifications" ADD "manifestation_id" integer
676
+  (0.4ms) ALTER TABLE "classifications" ADD "manifestation_id" integer
682
677
   (0.2ms) CREATE INDEX "index_classifications_on_manifestation_id" ON "classifications" ("manifestation_id")
683
678
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504143515')
684
-  (0.7ms) commit transaction
679
+  (6.2ms) commit transaction
685
680
  Migrating to AddSubjectHeadingTypeIdToSubject (20130504195916)
686
681
   (0.1ms) begin transaction
687
682
   (0.6ms) ALTER TABLE "subjects" ADD "subject_heading_type_id" integer
688
683
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504195916')
689
-  (0.5ms) commit transaction
684
+  (4.3ms) commit transaction
690
685
  Migrating to CreateIdentifierTypes (20130506175303)
691
686
   (0.0ms) begin transaction
692
-  (0.5ms) CREATE TABLE "identifier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
687
+  (0.4ms) CREATE TABLE "identifier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
693
688
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130506175303')
694
-  (1.0ms) commit transaction
689
+  (23.3ms) commit transaction
695
690
  Migrating to CreateIdentifiers (20130506175834)
696
691
   (0.0ms) begin transaction
697
-  (0.5ms) CREATE TABLE "identifiers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar(255) NOT NULL, "identifier_type_id" integer NOT NULL, "manifestation_id" integer, "primary" boolean, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
692
+  (0.4ms) CREATE TABLE "identifiers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar(255) NOT NULL, "identifier_type_id" integer NOT NULL, "manifestation_id" integer, "primary" boolean, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
698
693
   (0.2ms) CREATE INDEX "index_identifiers_on_body_and_identifier_type_id" ON "identifiers" ("body", "identifier_type_id")
699
694
   (0.2ms) CREATE INDEX "index_identifiers_on_manifestation_id" ON "identifiers" ("manifestation_id")
700
695
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130506175834')
701
-  (3.2ms) commit transaction
696
+  (0.7ms) commit transaction
702
697
  Migrating to AddStatementOfResponsibilityToManifestation (20130509185724)
703
-  (0.1ms) begin transaction
704
-  (0.8ms) ALTER TABLE "manifestations" ADD "statement_of_responsibility" text
698
+  (0.0ms) begin transaction
699
+  (0.4ms) ALTER TABLE "manifestations" ADD "statement_of_responsibility" text
705
700
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130509185724')
706
-  (0.7ms) commit transaction
707
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
701
+  (0.5ms) commit transaction
702
+ Migrating to AddManifestationIdToItem (20140802082007)
703
+  (0.0ms) begin transaction
704
+  (0.3ms) ALTER TABLE "items" ADD "manifestation_id" integer
705
+  (0.1ms) CREATE INDEX "index_items_on_manifestation_id" ON "items" ("manifestation_id")
706
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140802082007')
707
+  (0.7ms) commit transaction
708
+ Migrating to AddPublicationPlaceToManifestation (20140813182425)
709
+  (0.0ms) begin transaction
710
+  (0.4ms) ALTER TABLE "manifestations" ADD "publication_place" text
711
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140813182425')
712
+  (0.5ms) commit transaction
713
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
708
714
  Connecting to database specified by database.yml
709
-  (0.0ms) select sqlite_version(*)
710
-  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
711
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
715
+  (0.1ms) select sqlite_version(*)
716
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
717
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
712
718
   (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
713
719
  Migrating to CreateAgents (1)
714
720
   (0.0ms) begin transaction
@@ -719,13 +725,20 @@ Migrating to CreateAgents (1)
719
725
   (0.1ms) CREATE INDEX "index_agents_on_full_name" ON "agents" ("full_name")
720
726
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('1')
721
727
   (0.7ms) commit transaction
728
+ Migrating to DeviseCreateUsers (2)
729
+  (0.1ms) begin transaction
730
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
731
+  (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
732
+  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
733
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('2')
734
+  (0.8ms) commit transaction
722
735
  Migrating to CreateManifestations (5)
723
736
   (0.0ms) begin transaction
724
-  (0.4ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "copyright_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL)
725
-  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
737
+  (0.3ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "copyright_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL)
738
+  (0.2ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
726
739
   (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
727
740
   (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
728
-  (0.1ms) CREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")
741
+  (0.2ms) CREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")
729
742
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('5')
730
743
   (0.7ms) commit transaction
731
744
  Migrating to CreateItems (6)
@@ -735,221 +748,270 @@ Migrating to CreateItems (6)
735
748
   (0.1ms) CREATE INDEX "index_items_on_item_identifier" ON "items" ("item_identifier")
736
749
   (0.1ms) CREATE INDEX "index_items_on_required_role_id" ON "items" ("required_role_id")
737
750
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('6')
738
-  (0.7ms) commit transaction
751
+  (0.8ms) commit transaction
739
752
  Migrating to CreateOwns (12)
740
-  (0.1ms) begin transaction
753
+  (0.0ms) begin transaction
741
754
   (0.2ms) CREATE TABLE "owns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
742
755
   (0.1ms) CREATE INDEX "index_owns_on_agent_id" ON "owns" ("agent_id")
743
756
   (0.1ms) CREATE INDEX "index_owns_on_item_id" ON "owns" ("item_id")
744
757
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('12')
745
-  (0.7ms) commit transaction
758
+  (0.5ms) commit transaction
746
759
  Migrating to CreateCreates (15)
747
-  (0.0ms) begin transaction
748
-  (0.3ms) CREATE TABLE "creates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "work_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
760
+  (0.1ms) begin transaction
761
+  (0.4ms) CREATE TABLE "creates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "work_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
749
762
   (0.1ms) CREATE INDEX "index_creates_on_agent_id" ON "creates" ("agent_id")
750
763
   (0.1ms) CREATE INDEX "index_creates_on_work_id" ON "creates" ("work_id")
751
764
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('15')
752
-  (0.6ms) commit transaction
765
+  (0.7ms) commit transaction
753
766
  Migrating to CreateSubjects (29)
754
-  (0.1ms) begin transaction
755
-  (0.3ms) CREATE TABLE "subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "use_term_id" integer, "term" varchar(255), "term_transcription" text, "subject_type_id" integer NOT NULL, "scope_note" text, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime, "deleted_at" datetime) 
767
+  (0.0ms) begin transaction
768
+  (0.2ms) CREATE TABLE "subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "use_term_id" integer, "term" varchar(255), "term_transcription" text, "subject_type_id" integer NOT NULL, "scope_note" text, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime, "deleted_at" datetime) 
756
769
   (0.1ms) CREATE INDEX "index_subjects_on_term" ON "subjects" ("term")
757
770
   (0.1ms) CREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")
758
771
   (0.1ms) CREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")
759
772
   (0.1ms) CREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")
760
773
   (0.1ms) CREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")
761
774
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('29')
762
-  (0.7ms) commit transaction
775
+  (0.6ms) commit transaction
776
+ Migrating to CreateRoles (41)
777
+  (0.0ms) begin transaction
778
+  (0.3ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" varchar(255), "note" text, "created_at" datetime, "updated_at" datetime, "score" integer DEFAULT 0 NOT NULL, "position" integer)
779
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('41')
780
+  (0.6ms) commit transaction
763
781
  Migrating to CreateProduces (47)
764
782
   (0.0ms) begin transaction
765
783
   (0.2ms) CREATE TABLE "produces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "manifestation_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
766
784
   (0.1ms) CREATE INDEX "index_produces_on_agent_id" ON "produces" ("agent_id")
767
785
   (0.1ms) CREATE INDEX "index_produces_on_manifestation_id" ON "produces" ("manifestation_id")
768
786
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('47')
769
-  (0.6ms) commit transaction
770
- Migrating to CreateCarrierTypes (73)
787
+  (0.5ms) commit transaction
788
+ Migrating to CreateLibraries (59)
789
+  (0.1ms) begin transaction
790
+  (0.4ms) CREATE TABLE "libraries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_display_name" varchar(255) NOT NULL, "zip_code" varchar(255), "street" text, "locality" text, "region" text, "telephone_number_1" varchar(255), "telephone_number_2" varchar(255), "fax_number" varchar(255), "note" text, "call_number_rows" integer DEFAULT 1 NOT NULL, "call_number_delimiter" varchar(255) DEFAULT '|' NOT NULL, "library_group_id" integer DEFAULT 1 NOT NULL, "users_count" integer DEFAULT 0 NOT NULL, "position" integer, "country_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime)
791
+  (0.2ms) CREATE INDEX "index_libraries_on_library_group_id" ON "libraries" ("library_group_id")
792
+  (0.4ms) CREATE UNIQUE INDEX "index_libraries_on_name" ON "libraries" ("name")
793
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('59')
794
+  (0.7ms) commit transaction
795
+ Migrating to CreateShelves (69)
771
796
   (0.0ms) begin transaction
772
-  (0.3ms) CREATE TABLE "carrier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
773
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('73')
774
-  (0.6ms) commit transaction
797
+  (0.3ms) CREATE TABLE "shelves" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "library_id" integer DEFAULT 1 NOT NULL, "items_count" integer DEFAULT 0 NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime)
798
+  (0.1ms) CREATE INDEX "index_shelves_on_library_id" ON "shelves" ("library_id")
799
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('69')
800
+  (0.7ms) commit transaction
801
+ Migrating to CreateCarrierTypes (73)
802
+  (0.1ms) begin transaction
803
+  (0.3ms) CREATE TABLE "carrier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
804
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('73')
805
+  (0.7ms) commit transaction
806
+ Migrating to CreateUserGroups (77)
807
+  (0.0ms) begin transaction
808
+  (0.6ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime) 
809
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('77')
810
+  (1.1ms) commit transaction
811
+ Migrating to CreateLibraryGroups (80)
812
+  (0.0ms) begin transaction
813
+  (0.5ms) CREATE TABLE "library_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "my_networks" text, "login_banner" text, "note" text, "country_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
814
+  (0.1ms) CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")
815
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('80')
816
+  (0.8ms) commit transaction
775
817
  Migrating to CreateFrequencies (112)
776
818
   (0.0ms) begin transaction
777
-  (0.2ms) CREATE TABLE "frequencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
819
+  (0.3ms) CREATE TABLE "frequencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
778
820
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('112')
779
821
   (0.6ms) commit transaction
780
822
  Migrating to CreateFormOfWorks (117)
781
823
   (0.0ms) begin transaction
782
-  (0.2ms) CREATE TABLE "form_of_works" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
824
+  (0.3ms) CREATE TABLE "form_of_works" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
783
825
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('117')
784
826
   (0.7ms) commit transaction
785
- Migrating to CreateDonates (125)
786
-  (0.0ms) begin transaction
787
-  (0.3ms) CREATE TABLE "donates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
788
-  (0.1ms) CREATE INDEX "index_donates_on_agent_id" ON "donates" ("agent_id")
789
-  (0.1ms) CREATE INDEX "index_donates_on_item_id" ON "donates" ("item_id")
790
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('125')
791
-  (0.7ms) commit transaction
792
- Migrating to CreateClassifications (142)
827
+ Migrating to CreateBaskets (120)
793
828
   (0.0ms) begin transaction
794
-  (0.3ms) CREATE TABLE "classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "category" varchar(255) NOT NULL, "note" text, "classification_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
795
-  (0.1ms) CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
796
-  (0.1ms) CREATE INDEX "index_classifications_on_category" ON "classifications" ("category")
797
-  (0.1ms) CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
798
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('142')
829
+  (0.4ms) CREATE TABLE "baskets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "note" text, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
830
+  (0.1ms) CREATE INDEX "index_baskets_on_user_id" ON "baskets" ("user_id")
831
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('120')
799
832
   (0.7ms) commit transaction
800
- Migrating to CreateSubjectHasClassifications (143)
833
+ Migrating to CreateBookstores (124)
801
834
   (0.0ms) begin transaction
802
-  (0.4ms) CREATE TABLE "subject_has_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "classification_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
803
-  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_subject_id" ON "subject_has_classifications" ("subject_id")
804
-  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")
805
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('143')
835
+  (0.5ms) CREATE TABLE "bookstores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" text NOT NULL, "zip_code" varchar(255), "address" text, "note" text, "telephone_number" varchar(255), "fax_number" varchar(255), "url" varchar(255), "position" integer, "deleted_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
836
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('124')
806
837
   (0.7ms) commit transaction
807
- Migrating to CreateClassificationTypes (144)
838
+ Migrating to CreateDonates (125)
808
839
   (0.0ms) begin transaction
809
-  (0.4ms) CREATE TABLE "classification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
810
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('144')
840
+  (0.5ms) CREATE TABLE "donates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
841
+  (0.1ms) CREATE INDEX "index_donates_on_agent_id" ON "donates" ("agent_id")
842
+  (0.1ms) CREATE INDEX "index_donates_on_item_id" ON "donates" ("item_id")
843
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('125')
811
844
   (0.8ms) commit transaction
812
- Migrating to CreateSubjectHeadingTypes (145)
845
+ Migrating to CreateRequestStatusTypes (130)
813
846
   (0.0ms) begin transaction
814
-  (0.2ms) CREATE TABLE "subject_heading_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
815
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('145')
816
-  (0.7ms) commit transaction
817
- Migrating to CreateSubjectTypes (146)
847
+  (0.3ms) CREATE TABLE "request_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
848
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('130')
849
+  (0.6ms) commit transaction
850
+ Migrating to CreateRequestTypes (131)
818
851
   (0.0ms) begin transaction
819
-  (0.3ms) CREATE TABLE "subject_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
820
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('146')
821
-  (0.7ms) commit transaction
822
- Migrating to CreateWorkHasSubjects (20080606052544)
852
+  (0.4ms) CREATE TABLE "request_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
853
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('131')
854
+  (0.5ms) commit transaction
855
+ Migrating to CreateClassifications (142)
823
856
   (0.0ms) begin transaction
824
-  (0.3ms) CREATE TABLE "work_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "work_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
825
-  (0.1ms) CREATE INDEX "index_work_has_subjects_on_subject_id" ON "work_has_subjects" ("subject_id")
826
-  (0.2ms) CREATE INDEX "index_work_has_subjects_on_work_id" ON "work_has_subjects" ("work_id")
827
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080606052544')
828
-  (0.7ms) commit transaction
857
+  (0.6ms) CREATE TABLE "classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "category" varchar(255) NOT NULL, "note" text, "classification_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
858
+  (0.1ms) CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
859
+  (0.1ms) CREATE INDEX "index_classifications_on_category" ON "classifications" ("category")
860
+  (0.1ms) CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
861
+  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('142')
862
+  (0.6ms) commit transaction
863
+ Migrating to CreateClassificationTypes (144)
864
+  (0.0ms) begin transaction
865
+  (0.3ms) CREATE TABLE "classification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
866
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('144')
867
+  (0.6ms) commit transaction
868
+ Migrating to CreateSubjectHeadingTypes (145)
869
+  (0.0ms) begin transaction
870
+  (0.3ms) CREATE TABLE "subject_heading_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
871
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('145')
872
+  (0.8ms) commit transaction
873
+ Migrating to CreateSubjectTypes (146)
874
+  (0.0ms) begin transaction
875
+  (0.3ms) CREATE TABLE "subject_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
876
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('146')
877
+  (0.7ms) commit transaction
829
878
  Migrating to CreateRealizes (20080830154109)
830
-  (0.0ms) begin transaction
831
-  (0.4ms) CREATE TABLE "realizes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "expression_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
832
-  (0.1ms) CREATE INDEX "index_realizes_on_agent_id" ON "realizes" ("agent_id")
833
-  (0.1ms) CREATE INDEX "index_realizes_on_expression_id" ON "realizes" ("expression_id")
834
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830154109')
835
-  (0.7ms) commit transaction
879
+  (0.0ms) begin transaction
880
+  (0.2ms) CREATE TABLE "realizes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "expression_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
881
+  (0.1ms) CREATE INDEX "index_realizes_on_agent_id" ON "realizes" ("agent_id")
882
+  (0.1ms) CREATE INDEX "index_realizes_on_expression_id" ON "realizes" ("expression_id")
883
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830154109')
884
+  (0.6ms) commit transaction
836
885
  Migrating to CreateExemplifies (20080830172106)
837
-  (0.0ms) begin transaction
838
-  (0.3ms) CREATE TABLE "exemplifies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "manifestation_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
839
-  (0.2ms) CREATE INDEX "index_exemplifies_on_manifestation_id" ON "exemplifies" ("manifestation_id")
840
-  (0.9ms) CREATE UNIQUE INDEX "index_exemplifies_on_item_id" ON "exemplifies" ("item_id")
841
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830172106')
842
-  (0.7ms) commit transaction
886
+  (0.0ms) begin transaction
887
+  (0.3ms) CREATE TABLE "exemplifies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "manifestation_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
888
+  (0.1ms) CREATE INDEX "index_exemplifies_on_manifestation_id" ON "exemplifies" ("manifestation_id")
889
+  (0.4ms) CREATE UNIQUE INDEX "index_exemplifies_on_item_id" ON "exemplifies" ("item_id")
890
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830172106')
891
+  (0.8ms) commit transaction
843
892
  Migrating to CreateAgentTypes (20080905191442)
844
-  (0.0ms) begin transaction
845
-  (0.4ms) CREATE TABLE "agent_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
846
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
847
-  (0.7ms) commit transaction
893
+  (0.0ms) begin transaction
894
+  (0.2ms) CREATE TABLE "agent_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
895
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
896
+  (0.6ms) commit transaction
897
+ Migrating to CreateSubscriptions (20081006090811)
898
+  (0.0ms) begin transaction
899
+  (0.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" text NOT NULL, "note" text, "user_id" integer, "order_list_id" integer, "deleted_at" datetime, "subscribes_count" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
900
+  (0.1ms) CREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")
901
+  (0.1ms) CREATE INDEX "index_subscriptions_on_order_list_id" ON "subscriptions" ("order_list_id")
902
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081006090811')
903
+  (0.7ms) commit transaction
904
+ Migrating to CreateSubscribes (20081006093246)
905
+  (0.0ms) begin transaction
906
+  (0.4ms) CREATE TABLE "subscribes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscription_id" integer NOT NULL, "work_id" integer NOT NULL, "start_at" datetime NOT NULL, "end_at" datetime NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
907
+  (0.1ms) CREATE INDEX "index_subscribes_on_subscription_id" ON "subscribes" ("subscription_id")
908
+  (0.1ms) CREATE INDEX "index_subscribes_on_work_id" ON "subscribes" ("work_id")
909
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081006093246')
910
+  (0.6ms) commit transaction
911
+ Migrating to CreateSearchEngines (20081023092436)
912
+  (0.1ms) begin transaction
913
+  (0.3ms) CREATE TABLE "search_engines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "url" varchar(255) NOT NULL, "base_url" text NOT NULL, "http_method" text NOT NULL, "query_param" text NOT NULL, "additional_param" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
914
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081023092436')
915
+  (0.6ms) commit transaction
848
916
  Migrating to CreateCountries (20081025083323)
849
-  (0.0ms) begin transaction
850
-  (0.3ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "alpha_2" varchar(255), "alpha_3" varchar(255), "numeric_3" varchar(255), "note" text, "position" integer) 
851
-  (0.1ms) CREATE INDEX "index_countries_on_name" ON "countries" ("name")
852
-  (0.1ms) CREATE INDEX "index_countries_on_alpha_2" ON "countries" ("alpha_2")
853
-  (0.1ms) CREATE INDEX "index_countries_on_alpha_3" ON "countries" ("alpha_3")
854
-  (0.1ms) CREATE INDEX "index_countries_on_numeric_3" ON "countries" ("numeric_3")
855
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083323')
856
-  (0.7ms) commit transaction
917
+  (0.0ms) begin transaction
918
+  (0.2ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "alpha_2" varchar(255), "alpha_3" varchar(255), "numeric_3" varchar(255), "note" text, "position" integer)
919
+  (0.1ms) CREATE INDEX "index_countries_on_name" ON "countries" ("name")
920
+  (0.1ms) CREATE INDEX "index_countries_on_alpha_2" ON "countries" ("alpha_2")
921
+  (0.1ms) CREATE INDEX "index_countries_on_alpha_3" ON "countries" ("alpha_3")
922
+  (0.1ms) CREATE INDEX "index_countries_on_numeric_3" ON "countries" ("numeric_3")
923
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083323')
924
+  (0.6ms) commit transaction
857
925
  Migrating to CreateLanguages (20081025083905)
858
-  (0.3ms) begin transaction
859
-  (0.2ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer) 
860
-  (0.3ms) CREATE UNIQUE INDEX "index_languages_on_name" ON "languages" ("name")
861
-  (0.1ms) CREATE INDEX "index_languages_on_iso_639_1" ON "languages" ("iso_639_1")
862
-  (0.1ms) CREATE INDEX "index_languages_on_iso_639_2" ON "languages" ("iso_639_2")
863
-  (0.1ms) CREATE INDEX "index_languages_on_iso_639_3" ON "languages" ("iso_639_3")
864
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083905')
865
-  (0.7ms) commit transaction
926
+  (0.0ms) begin transaction
927
+  (0.5ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer)
928
+  (0.5ms) CREATE UNIQUE INDEX "index_languages_on_name" ON "languages" ("name")
929
+  (0.1ms) CREATE INDEX "index_languages_on_iso_639_1" ON "languages" ("iso_639_1")
930
+  (0.1ms) CREATE INDEX "index_languages_on_iso_639_2" ON "languages" ("iso_639_2")
931
+  (0.1ms) CREATE INDEX "index_languages_on_iso_639_3" ON "languages" ("iso_639_3")
932
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083905')
933
+  (0.8ms) commit transaction
866
934
  Migrating to CreatePictureFiles (20081027150907)
867
-  (0.0ms) begin transaction
868
-  (0.3ms) CREATE TABLE "picture_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "picture_attachable_id" integer, "picture_attachable_type" varchar(255), "content_type" varchar(255), "title" text, "thumbnail" varchar(255), "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
869
-  (0.1ms) CREATE INDEX "index_picture_files_on_picture_attachable_id_and_type" ON "picture_files" ("picture_attachable_id", "picture_attachable_type")
870
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081027150907')
871
-  (0.7ms) commit transaction
872
- Migrating to CreateAgentImportFiles (20081028083142)
873
935
   (0.0ms) begin transaction
874
-  (0.3ms) CREATE TABLE "agent_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "agent_import_file_name" varchar(255), "agent_import_content_type" varchar(255), "agent_import_file_size" integer, "agent_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
875
-  (0.1ms) CREATE INDEX "index_agent_import_files_on_parent_id" ON "agent_import_files" ("parent_id")
876
-  (0.1ms) CREATE INDEX "index_agent_import_files_on_user_id" ON "agent_import_files" ("user_id")
877
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083142')
878
-  (0.7ms) commit transaction
936
+  (0.4ms) CREATE TABLE "picture_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "picture_attachable_id" integer, "picture_attachable_type" varchar(255), "content_type" varchar(255), "title" text, "thumbnail" varchar(255), "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
937
+  (0.1ms) CREATE INDEX "index_picture_files_on_picture_attachable_id_and_type" ON "picture_files" ("picture_attachable_id", "picture_attachable_type")
938
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081027150907')
939
+  (0.8ms) commit transaction
940
+ Migrating to CreateAgentImportFiles (20081028083142)
941
+  (0.0ms) begin transaction
942
+  (0.2ms) CREATE TABLE "agent_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "agent_import_file_name" varchar(255), "agent_import_content_type" varchar(255), "agent_import_file_size" integer, "agent_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
943
+  (0.1ms) CREATE INDEX "index_agent_import_files_on_parent_id" ON "agent_import_files" ("parent_id")
944
+  (0.1ms) CREATE INDEX "index_agent_import_files_on_user_id" ON "agent_import_files" ("user_id")
945
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083142')
946
+  (0.7ms) commit transaction
879
947
  Migrating to CreateResourceImportFiles (20081028083208)
880
-  (0.0ms) begin transaction
881
-  (0.2ms) CREATE TABLE "resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
882
-  (0.2ms) CREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")
883
-  (0.1ms) CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")
884
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083208')
885
-  (0.7ms) commit transaction
886
- Migrating to CreateSubjectHeadingTypeHasSubjects (20090208044541)
887
-  (0.0ms) begin transaction
888
-  (0.3ms) CREATE TABLE "subject_heading_type_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer NOT NULL, "subject_type" varchar(255), "subject_heading_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
889
-  (0.1ms) CREATE INDEX "index_subject_heading_type_has_subjects_on_subject_id" ON "subject_heading_type_has_subjects" ("subject_id")
890
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090208044541')
948
+  (0.0ms) begin transaction
949
+  (0.4ms) CREATE TABLE "resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
950
+  (0.2ms) CREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")
951
+  (0.1ms) CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")
952
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083208')
891
953
   (0.7ms) commit transaction
892
954
  Migrating to AddAttachmentsPictureToPictureFile (20090705133942)
893
955
   (0.0ms) begin transaction
894
956
   (0.3ms) ALTER TABLE "picture_files" ADD "picture_file_name" varchar(255)
895
957
   (0.2ms) ALTER TABLE "picture_files" ADD "picture_content_type" varchar(255)
896
-  (0.1ms) ALTER TABLE "picture_files" ADD "picture_file_size" integer
897
-  (0.1ms) ALTER TABLE "picture_files" ADD "picture_updated_at" datetime
958
+  (0.2ms) ALTER TABLE "picture_files" ADD "picture_file_size" integer
959
+  (0.2ms) ALTER TABLE "picture_files" ADD "picture_updated_at" datetime
898
960
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705133942')
899
-  (0.6ms) commit transaction
961
+  (0.7ms) commit transaction
900
962
  Migrating to AddAttachmentsAttachmentToManifestation (20090705212043)
901
963
   (0.0ms) begin transaction
902
-  (0.5ms) ALTER TABLE "manifestations" ADD "attachment_file_name" varchar(255)
903
-  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_content_type" varchar(255)
964
+  (0.4ms) ALTER TABLE "manifestations" ADD "attachment_file_name" varchar(255)
965
+  (0.3ms) ALTER TABLE "manifestations" ADD "attachment_content_type" varchar(255)
904
966
   (0.2ms) ALTER TABLE "manifestations" ADD "attachment_file_size" integer
905
967
   (0.2ms) ALTER TABLE "manifestations" ADD "attachment_updated_at" datetime
906
968
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705212043')
907
969
   (0.6ms) commit transaction
908
970
  Migrating to CreateExtents (20090719201843)
909
971
   (0.0ms) begin transaction
910
-  (0.3ms) CREATE TABLE "extents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
972
+  (0.2ms) CREATE TABLE "extents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
911
973
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090719201843')
912
-  (0.7ms) commit transaction
974
+  (0.8ms) commit transaction
913
975
  Migrating to CreateMediumOfPerformances (20090720091106)
914
976
   (0.0ms) begin transaction
915
-  (0.3ms) CREATE TABLE "medium_of_performances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
977
+  (0.5ms) CREATE TABLE "medium_of_performances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
916
978
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091106')
917
-  (0.6ms) commit transaction
979
+  (0.9ms) commit transaction
918
980
  Migrating to CreateContentTypes (20090720091429)
919
981
   (0.0ms) begin transaction
920
-  (0.2ms) CREATE TABLE "content_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
982
+  (0.3ms) CREATE TABLE "content_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
921
983
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091429')
922
984
   (0.7ms) commit transaction
923
985
  Migrating to CreateAgentRelationshipTypes (20090812151902)
924
986
   (0.0ms) begin transaction
925
-  (0.2ms) CREATE TABLE "agent_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
987
+  (0.4ms) CREATE TABLE "agent_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
926
988
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090812151902')
927
-  (0.5ms) commit transaction
989
+  (0.8ms) commit transaction
928
990
  Migrating to AddDcndlSchema (20091012101112)
929
991
   (0.0ms) begin transaction
930
-  (0.4ms) ALTER TABLE "manifestations" ADD "title_alternative_transcription" text
931
-  (0.2ms) ALTER TABLE "agents" ADD "full_name_alternative_transcription" text
932
-  (0.2ms) ALTER TABLE "manifestations" ADD "description" text
992
+  (0.5ms) ALTER TABLE "manifestations" ADD "title_alternative_transcription" text
993
+  (0.3ms) ALTER TABLE "agents" ADD "full_name_alternative_transcription" text
994
+  (0.3ms) ALTER TABLE "manifestations" ADD "description" text
933
995
   (0.2ms) ALTER TABLE "manifestations" ADD "abstract" text
934
996
   (0.2ms) ALTER TABLE "manifestations" ADD "available_at" datetime
935
997
   (0.2ms) ALTER TABLE "manifestations" ADD "valid_until" datetime
936
998
   (0.2ms) ALTER TABLE "manifestations" ADD "date_submitted" datetime
937
999
   (0.2ms) ALTER TABLE "manifestations" ADD "date_accepted" datetime
938
1000
   (0.2ms) ALTER TABLE "manifestations" ADD "date_caputured" datetime
939
-  (0.5ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime)
1001
+  (0.6ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime)
940
1002
   (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_date_of_publication" ON "altered_manifestations" ("date_of_publication")
941
1003
   (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
942
1004
   (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
943
1005
   (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
944
1006
   (0.1ms) SELECT * FROM "manifestations"
945
-  (0.4ms) DROP TABLE "manifestations"
1007
+  (0.5ms) DROP TABLE "manifestations"
946
1008
   (0.2ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime) 
947
-  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
1009
+  (0.2ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
948
1010
   (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
949
1011
   (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
950
1012
   (0.1ms) CREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")
951
-  (0.1ms) SELECT * FROM "altered_manifestations"
952
-  (0.4ms) DROP TABLE "altered_manifestations"
1013
+  (0.2ms) SELECT * FROM "altered_manifestations"
1014
+  (0.6ms) DROP TABLE "altered_manifestations"
953
1015
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091012101112')
954
1016
   (1.2ms) commit transaction
955
1017
  Migrating to CreateLicenses (20091025080447)
@@ -967,891 +1029,366 @@ Migrating to CreateSeriesStatements (20091214131723)
967
1029
   (0.0ms) begin transaction
968
1030
   (0.3ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
969
1031
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091214131723')
970
-  (0.9ms) commit transaction
1032
+  (0.7ms) commit transaction
971
1033
  Migrating to CreateImportRequests (20100129142347)
972
1034
   (0.1ms) begin transaction
973
-  (0.4ms) CREATE TABLE "import_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "isbn" varchar(255), "manifestation_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
974
-  (0.1ms) CREATE INDEX "index_import_requests_on_isbn" ON "import_requests" ("isbn")
1035
+  (0.3ms) CREATE TABLE "import_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "isbn" varchar(255), "manifestation_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1036
+  (0.2ms) CREATE INDEX "index_import_requests_on_isbn" ON "import_requests" ("isbn")
975
1037
   (0.1ms) CREATE INDEX "index_import_requests_on_manifestation_id" ON "import_requests" ("manifestation_id")
976
1038
   (0.1ms) CREATE INDEX "index_import_requests_on_user_id" ON "import_requests" ("user_id")
977
1039
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100129142347')
978
1040
   (0.8ms) commit transaction
1041
+ Migrating to AddAdminNetworksToLibraryGroup (20100211105551)
1042
+  (0.0ms) begin transaction
1043
+  (0.3ms) ALTER TABLE "library_groups" ADD "admin_networks" text
1044
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100211105551')
1045
+  (0.6ms) commit transaction
979
1046
  Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
980
1047
   (0.0ms) begin transaction
981
-  (0.1ms) CREATE TEMPORARY TABLE "altered_series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1048
+  (0.2ms) CREATE TEMPORARY TABLE "altered_series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
982
1049
   (0.1ms) SELECT * FROM "series_statements"
983
-  (0.2ms) DROP TABLE "series_statements"
1050
+  (0.4ms) DROP TABLE "series_statements"
984
1051
   (0.1ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
985
1052
   (0.0ms) SELECT * FROM "altered_series_statements"
986
1053
   (0.1ms) DROP TABLE "altered_series_statements"
987
1054
   (0.2ms) ALTER TABLE "series_statements" ADD "title_transcription" text
988
1055
   (0.1ms) ALTER TABLE "series_statements" ADD "title_alternative" text
989
1056
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100223121519')
990
-  (0.8ms) commit transaction
1057
+  (0.7ms) commit transaction
1058
+ Migrating to AddOpeningHourToLibrary (20100314190054)
1059
+  (0.0ms) begin transaction
1060
+  (0.4ms) ALTER TABLE "libraries" ADD "opening_hour" text
1061
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100314190054')
1062
+  (0.6ms) commit transaction
991
1063
  Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
992
1064
   (0.0ms) begin transaction
993
-  (0.4ms) ALTER TABLE "series_statements" ADD "series_statement_identifier" varchar(255)
994
-  (0.2ms) CREATE INDEX "index_series_statements_on_series_statement_identifier" ON "series_statements" ("series_statement_identifier")
1065
+  (0.3ms) ALTER TABLE "series_statements" ADD "series_statement_identifier" varchar(255)
1066
+  (0.1ms) CREATE INDEX "index_series_statements_on_series_statement_identifier" ON "series_statements" ("series_statement_identifier")
995
1067
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100321235924')
996
-  (0.8ms) commit transaction
1068
+  (0.7ms) commit transaction
997
1069
  Migrating to CreateManifestationRelationships (20100525124311)
998
1070
   (0.0ms) begin transaction
999
-  (0.3ms) CREATE TABLE "manifestation_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "manifestation_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1000
-  (0.1ms) CREATE INDEX "index_manifestation_relationships_on_parent_id" ON "manifestation_relationships" ("parent_id")
1071
+  (0.5ms) CREATE TABLE "manifestation_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "manifestation_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1072
+  (0.2ms) CREATE INDEX "index_manifestation_relationships_on_parent_id" ON "manifestation_relationships" ("parent_id")
1001
1073
   (0.1ms) CREATE INDEX "index_manifestation_relationships_on_child_id" ON "manifestation_relationships" ("child_id")
1002
1074
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100525124311')
1003
-  (0.6ms) commit transaction
1075
+  (0.7ms) commit transaction
1076
+ Migrating to CreateUserHasRoles (20100606065209)
1077
+  (0.0ms) begin transaction
1078
+  (0.3ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1079
+  (0.2ms) CREATE INDEX "index_user_has_roles_on_user_id" ON "user_has_roles" ("user_id")
1080
+  (0.1ms) CREATE INDEX "index_user_has_roles_on_role_id" ON "user_has_roles" ("role_id")
1081
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100606065209')
1082
+  (0.7ms) commit transaction
1004
1083
  Migrating to CreateAgentRelationships (20100606073747)
1005
1084
   (0.0ms) begin transaction
1006
1085
   (0.3ms) CREATE TABLE "agent_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "agent_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1007
1086
   (0.1ms) CREATE INDEX "index_agent_relationships_on_parent_id" ON "agent_relationships" ("parent_id")
1008
1087
   (0.1ms) CREATE INDEX "index_agent_relationships_on_child_id" ON "agent_relationships" ("child_id")
1009
1088
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100606073747')
1010
-  (0.7ms) commit transaction
1089
+  (0.8ms) commit transaction
1011
1090
  Migrating to CreateManifestationRelationshipTypes (20100607044753)
1012
1091
   (0.0ms) begin transaction
1013
-  (0.2ms) CREATE TABLE "manifestation_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1092
+  (0.3ms) CREATE TABLE "manifestation_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1014
1093
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100607044753')
1015
1094
   (0.7ms) commit transaction
1016
1095
  Migrating to AddPositionToAgentRelationship (20100814091104)
1017
1096
   (0.0ms) begin transaction
1018
-  (0.3ms) ALTER TABLE "manifestation_relationships" ADD "position" integer
1019
-  (0.2ms) ALTER TABLE "agent_relationships" ADD "position" integer
1097
+  (0.4ms) ALTER TABLE "manifestation_relationships" ADD "position" integer
1098
+  (0.3ms) ALTER TABLE "agent_relationships" ADD "position" integer
1020
1099
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100814091104')
1021
-  (0.6ms) commit transaction
1100
+  (0.7ms) commit transaction
1022
1101
  Migrating to CreateResourceImportResults (20100925043847)
1023
1102
   (0.0ms) begin transaction
1024
1103
   (0.3ms) CREATE TABLE "resource_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_import_file_id" integer, "manifestation_id" integer, "item_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1025
1104
   (0.1ms) CREATE INDEX "index_resource_import_results_on_resource_import_file_id" ON "resource_import_results" ("resource_import_file_id")
1026
1105
   (0.1ms) CREATE INDEX "index_resource_import_results_on_manifestation_id" ON "resource_import_results" ("manifestation_id")
1027
-  (0.1ms) CREATE INDEX "index_resource_import_results_on_item_id" ON "resource_import_results" ("item_id")
1106
+  (0.2ms) CREATE INDEX "index_resource_import_results_on_item_id" ON "resource_import_results" ("item_id")
1028
1107
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925043847')
1029
-  (0.7ms) commit transaction
1108
+  (0.8ms) commit transaction
1030
1109
  Migrating to CreateAgentImportResults (20100925074559)
1031
-  (0.1ms) begin transaction
1032
-  (0.3ms) CREATE TABLE "agent_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_import_file_id" integer, "agent_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1110
+  (0.0ms) begin transaction
1111
+  (0.5ms) CREATE TABLE "agent_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_import_file_id" integer, "agent_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1033
1112
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925074559')
1034
-  (0.7ms) commit transaction
1113
+  (0.8ms) commit transaction
1035
1114
  Migrating to AddAcquiredAtToItem (20101212070145)
1036
1115
   (0.0ms) begin transaction
1037
-  (0.3ms) ALTER TABLE "items" ADD "acquired_at" datetime
1116
+  (0.5ms) ALTER TABLE "items" ADD "acquired_at" datetime
1038
1117
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101212070145')
1118
+  (0.7ms) commit transaction
1119
+ Migrating to AddUrlToLibraryGroup (20110222073537)
1120
+  (0.0ms) begin transaction
1121
+  (0.3ms) ALTER TABLE "library_groups" ADD "url" varchar(255) DEFAULT 'http://localhost:3000/'
1122
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110222073537')
1039
1123
   (0.6ms) commit transaction
1040
1124
  Migrating to AddPubDateToManifestation (20110301035123)
1041
1125
   (0.0ms) begin transaction
1042
-  (0.5ms) ALTER TABLE "manifestations" ADD "pub_date" varchar(255)
1126
+  (0.4ms) ALTER TABLE "manifestations" ADD "pub_date" varchar(255)
1043
1127
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301035123')
1044
-  (0.5ms) commit transaction
1128
+  (0.6ms) commit transaction
1045
1129
  Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
1046
1130
   (0.0ms) begin transaction
1047
-  (0.4ms) ALTER TABLE "agents" ADD "birth_date" varchar(255)
1048
-  (0.3ms) ALTER TABLE "agents" ADD "death_date" varchar(255)
1131
+  (0.8ms) ALTER TABLE "agents" ADD "birth_date" varchar(255)
1132
+  (0.5ms) ALTER TABLE "agents" ADD "death_date" varchar(255)
1049
1133
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301121550')
1050
1134
   (0.7ms) commit transaction
1051
- Migrating to AddIssnToSeriesStatement (20110425133109)
1052
-  (0.1ms) begin transaction
1053
-  (0.3ms) ALTER TABLE "series_statements" ADD "issn" varchar(255)
1054
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110425133109')
1055
-  (0.6ms) commit transaction
1056
- Migrating to AddEditModeToResourceImportFile (20110603184217)
1057
-  (0.0ms) begin transaction
1058
-  (0.4ms) ALTER TABLE "resource_import_files" ADD "edit_mode" varchar(255)
1059
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110603184217')
1060
-  (0.6ms) commit transaction
1061
- Migrating to AddPeriodicalToSeriesStatement (20110618091240)
1062
-  (0.1ms) begin transaction
1063
-  (0.4ms) ALTER TABLE "series_statements" ADD "periodical" boolean
1064
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110618091240')
1065
-  (0.7ms) commit transaction
1066
- Migrating to AddEditionStringToManifestation (20110619064807)
1067
-  (0.0ms) begin transaction
1068
-  (0.6ms) ALTER TABLE "manifestations" ADD "edition_string" varchar(255)
1069
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110619064807')
1070
-  (0.6ms) commit transaction
1071
- Migrating to AddBookstoreIdToItem (20110620173525)
1135
+ Migrating to AddValidPeriodForNewUserToUserGroup (20110318183304)
1072
1136
   (0.0ms) begin transaction
1073
-  (0.4ms) ALTER TABLE "items" ADD "bookstore_id" integer
1074
-  (0.2ms) CREATE INDEX "index_items_on_bookstore_id" ON "items" ("bookstore_id")
1075
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110620173525')
1076
-  (0.8ms) commit transaction
1077
- Migrating to CreateSeriesStatementMergeLists (20110627034940)
1078
-  (0.0ms) begin transaction
1079
-  (0.4ms) CREATE TABLE "series_statement_merge_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1080
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627034940')
1137
+  (0.3ms) ALTER TABLE "user_groups" ADD "valid_period_for_new_user" integer DEFAULT 0 NOT NULL
1138
+  (0.2ms) ALTER TABLE "user_groups" ADD "expired_at" datetime
1139
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110318183304')
1081
1140
   (0.7ms) commit transaction
1082
- Migrating to CreateSeriesStatementMerges (20110627035057)
1141
+ Migrating to AddEditModeToResourceImportFile (20110603184217)
1083
1142
   (0.0ms) begin transaction
1084
-  (0.3ms) CREATE TABLE "series_statement_merges" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer NOT NULL, "series_statement_merge_list_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1085
-  (0.1ms) CREATE INDEX "index_series_statement_merges_on_series_statement_id" ON "series_statement_merges" ("series_statement_id")
1086
-  (0.2ms) CREATE INDEX "index_series_statement_merges_on_series_statement_merge_list_id" ON "series_statement_merges" ("series_statement_merge_list_id")
1087
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627035057')
1088
-  (0.7ms) commit transaction
1089
- Migrating to CreateSeriesHasManifestations (20110820131417)
1090
-  (0.0ms) begin transaction
1091
-  (0.2ms) CREATE TABLE "series_has_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer, "manifestation_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1092
-  (0.1ms) CREATE INDEX "index_series_has_manifestations_on_series_statement_id" ON "series_has_manifestations" ("series_statement_id")
1093
-  (0.1ms) CREATE INDEX "index_series_has_manifestations_on_manifestation_id" ON "series_has_manifestations" ("manifestation_id")
1094
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110820131417')
1095
-  (0.8ms) commit transaction
1096
- Migrating to AddLftAndRgtToClassification (20110913120629)
1097
-  (0.0ms) begin transaction
1098
-  (0.4ms) ALTER TABLE "classifications" ADD "lft" integer
1099
-  (0.2ms) ALTER TABLE "classifications" ADD "rgt" integer
1100
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
1101
-  (0.7ms) commit transaction
1102
- Migrating to RenameManifestationNumberListToNumberString (20110916053430)
1103
-  (0.1ms) begin transaction
1104
-  (0.0ms) rollback transaction
1105
- Connecting to database specified by database.yml
1106
-  (0.0ms) select sqlite_version(*)
1107
-  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1108
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1109
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1110
- Migrating to CreateAgents (1)
1111
-  (0.0ms) begin transaction
1112
-  (0.5ms) CREATE TABLE "agents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "last_name" varchar(255), "middle_name" varchar(255), "first_name" varchar(255), "last_name_transcription" varchar(255), "middle_name_transcription" varchar(255), "first_name_transcription" varchar(255), "corporate_name" varchar(255), "corporate_name_transcription" varchar(255), "full_name" varchar(255), "full_name_transcription" text, "full_name_alternative" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "zip_code_1" varchar(255), "zip_code_2" varchar(255), "address_1" text, "address_2" text, "address_1_note" text, "address_2_note" text, "telephone_number_1" varchar(255), "telephone_number_2" varchar(255), "fax_number_1" varchar(255), "fax_number_2" varchar(255), "other_designation" text, "place" text, "postal_code" varchar(255), "street" text, "locality" text, "region" text, "date_of_birth" datetime, "date_of_death" datetime, "language_id" integer DEFAULT 1 NOT NULL, "country_id" integer DEFAULT 1 NOT NULL, "agent_type_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "email" text, "url" text)
1113
-  (0.1ms) CREATE INDEX "index_agents_on_language_id" ON "agents" ("language_id")
1114
-  (0.1ms) CREATE INDEX "index_agents_on_country_id" ON "agents" ("country_id")
1115
-  (0.1ms) CREATE INDEX "index_agents_on_required_role_id" ON "agents" ("required_role_id")
1116
-  (0.1ms) CREATE INDEX "index_agents_on_full_name" ON "agents" ("full_name")
1117
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('1')
1118
-  (0.7ms) commit transaction
1119
- Migrating to CreateManifestations (5)
1120
-  (0.0ms) begin transaction
1121
-  (0.3ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "copyright_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL)
1122
-  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
1123
-  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
1124
-  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
1125
-  (0.2ms) CREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")
1126
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('5')
1127
-  (0.7ms) commit transaction
1128
- Migrating to CreateItems (6)
1129
-  (0.0ms) begin transaction
1130
-  (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "call_number" varchar(255), "item_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "shelf_id" integer DEFAULT 1 NOT NULL, "include_supplements" boolean DEFAULT 'f' NOT NULL, "note" text, "url" varchar(255), "price" integer, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL)
1131
-  (0.2ms) CREATE INDEX "index_items_on_shelf_id" ON "items" ("shelf_id")
1132
-  (0.1ms) CREATE INDEX "index_items_on_item_identifier" ON "items" ("item_identifier")
1133
-  (0.1ms) CREATE INDEX "index_items_on_required_role_id" ON "items" ("required_role_id")
1134
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('6')
1135
-  (0.7ms) commit transaction
1136
- Migrating to CreateOwns (12)
1137
-  (0.1ms) begin transaction
1138
-  (0.3ms) CREATE TABLE "owns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1139
-  (0.1ms) CREATE INDEX "index_owns_on_agent_id" ON "owns" ("agent_id")
1140
-  (0.1ms) CREATE INDEX "index_owns_on_item_id" ON "owns" ("item_id")
1141
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('12')
1142
-  (0.8ms) commit transaction
1143
- Migrating to CreateCreates (15)
1143
+  (0.4ms) ALTER TABLE "resource_import_files" ADD "edit_mode" varchar(255)
1144
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110603184217')
1145
+  (0.6ms) commit transaction
1146
+ Migrating to AddEditionStringToManifestation (20110619064807)
1144
1147
   (0.0ms) begin transaction
1145
-  (0.3ms) CREATE TABLE "creates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "work_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1146
-  (0.2ms) CREATE INDEX "index_creates_on_agent_id" ON "creates" ("agent_id")
1147
-  (0.1ms) CREATE INDEX "index_creates_on_work_id" ON "creates" ("work_id")
1148
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('15')
1148
+  (0.6ms) ALTER TABLE "manifestations" ADD "edition_string" varchar(255)
1149
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110619064807')
1149
1150
   (0.5ms) commit transaction
1150
- Migrating to CreateSubjects (29)
1151
+ Migrating to AddBookstoreIdToItem (20110620173525)
1151
1152
   (0.0ms) begin transaction
1152
-  (0.4ms) CREATE TABLE "subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "use_term_id" integer, "term" varchar(255), "term_transcription" text, "subject_type_id" integer NOT NULL, "scope_note" text, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime, "deleted_at" datetime) 
1153
-  (0.1ms) CREATE INDEX "index_subjects_on_term" ON "subjects" ("term")
1154
-  (0.1ms) CREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")
1155
-  (0.1ms) CREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")
1156
-  (0.1ms) CREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")
1157
-  (0.1ms) CREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")
1158
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('29')
1159
-  (0.8ms) commit transaction
1160
- Migrating to CreateProduces (47)
1161
-  (0.0ms) begin transaction
1162
-  (0.3ms) CREATE TABLE "produces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "manifestation_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1163
-  (0.1ms) CREATE INDEX "index_produces_on_agent_id" ON "produces" ("agent_id")
1164
-  (0.1ms) CREATE INDEX "index_produces_on_manifestation_id" ON "produces" ("manifestation_id")
1165
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('47')
1166
-  (0.6ms) commit transaction
1167
- Migrating to CreateCarrierTypes (73)
1168
-  (0.0ms) begin transaction
1169
-  (0.4ms) CREATE TABLE "carrier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1170
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('73')
1171
-  (0.7ms) commit transaction
1172
- Migrating to CreateFrequencies (112)
1173
-  (0.0ms) begin transaction
1174
-  (0.4ms) CREATE TABLE "frequencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1175
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('112')
1153
+  (0.3ms) ALTER TABLE "items" ADD "bookstore_id" integer
1154
+  (0.1ms) CREATE INDEX "index_items_on_bookstore_id" ON "items" ("bookstore_id")
1155
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110620173525')
1176
1156
   (0.6ms) commit transaction
1177
- Migrating to CreateFormOfWorks (117)
1157
+ Migrating to CreateSeriesStatementMergeLists (20110627034940)
1178
1158
   (0.0ms) begin transaction
1179
-  (0.2ms) CREATE TABLE "form_of_works" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1180
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('117')
1181
-  (0.7ms) commit transaction
1182
- Migrating to CreateDonates (125)
1159
+  (0.3ms) CREATE TABLE "series_statement_merge_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1160
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627034940')
1161
+  (0.5ms) commit transaction
1162
+ Migrating to CreateSeriesStatementMerges (20110627035057)
1183
1163
   (0.0ms) begin transaction
1184
-  (0.3ms) CREATE TABLE "donates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1185
-  (0.1ms) CREATE INDEX "index_donates_on_agent_id" ON "donates" ("agent_id")
1186
-  (0.1ms) CREATE INDEX "index_donates_on_item_id" ON "donates" ("item_id")
1187
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('125')
1164
+  (0.3ms) CREATE TABLE "series_statement_merges" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer NOT NULL, "series_statement_merge_list_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1165
+  (0.1ms) CREATE INDEX "index_series_statement_merges_on_series_statement_id" ON "series_statement_merges" ("series_statement_id")
1166
+  (0.1ms) CREATE INDEX "index_series_statement_merges_on_series_statement_merge_list_id" ON "series_statement_merges" ("series_statement_merge_list_id")
1167
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627035057')
1188
1168
   (0.7ms) commit transaction
1189
- Migrating to CreateClassifications (142)
1169
+ Migrating to AddLftAndRgtToClassification (20110913120629)
1190
1170
   (0.0ms) begin transaction
1191
-  (0.4ms) CREATE TABLE "classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "category" varchar(255) NOT NULL, "note" text, "classification_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1192
-  (0.2ms) CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
1193
-  (0.1ms) CREATE INDEX "index_classifications_on_category" ON "classifications" ("category")
1194
-  (0.2ms) CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
1195
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('142')
1196
-  (0.7ms) commit transaction
1197
- Migrating to CreateSubjectHasClassifications (143)
1198
-  (0.0ms) begin transaction
1199
-  (0.3ms) CREATE TABLE "subject_has_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "classification_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1200
-  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_subject_id" ON "subject_has_classifications" ("subject_id")
1201
-  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")
1202
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('143')
1203
-  (0.7ms) commit transaction
1204
- Migrating to CreateClassificationTypes (144)
1205
-  (0.0ms) begin transaction
1206
-  (0.3ms) CREATE TABLE "classification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1207
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('144')
1208
-  (0.7ms) commit transaction
1209
- Migrating to CreateSubjectHeadingTypes (145)
1210
-  (0.0ms) begin transaction
1211
-  (0.3ms) CREATE TABLE "subject_heading_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1212
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('145')
1213
-  (0.7ms) commit transaction
1214
- Migrating to CreateSubjectTypes (146)
1215
-  (0.0ms) begin transaction
1216
-  (0.3ms) CREATE TABLE "subject_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1217
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('146')
1171
+  (0.5ms) ALTER TABLE "classifications" ADD "lft" integer
1172
+  (0.4ms) ALTER TABLE "classifications" ADD "rgt" integer
1173
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
1218
1174
   (0.7ms) commit transaction
1219
- Migrating to CreateWorkHasSubjects (20080606052544)
1220
-  (0.0ms) begin transaction
1221
-  (0.3ms) CREATE TABLE "work_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "work_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1222
-  (0.1ms) CREATE INDEX "index_work_has_subjects_on_subject_id" ON "work_has_subjects" ("subject_id")
1223
-  (0.1ms) CREATE INDEX "index_work_has_subjects_on_work_id" ON "work_has_subjects" ("work_id")
1224
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080606052544')
1225
-  (0.7ms) commit transaction
1226
- Migrating to CreateRealizes (20080830154109)
1227
-  (0.0ms) begin transaction
1228
-  (0.3ms) CREATE TABLE "realizes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "expression_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1229
-  (0.1ms) CREATE INDEX "index_realizes_on_agent_id" ON "realizes" ("agent_id")
1230
-  (0.1ms) CREATE INDEX "index_realizes_on_expression_id" ON "realizes" ("expression_id")
1231
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830154109')
1232
-  (0.6ms) commit transaction
1233
- Migrating to CreateExemplifies (20080830172106)
1234
-  (0.0ms) begin transaction
1235
-  (0.4ms) CREATE TABLE "exemplifies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "manifestation_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1236
-  (0.1ms) CREATE INDEX "index_exemplifies_on_manifestation_id" ON "exemplifies" ("manifestation_id")
1237
-  (0.9ms) CREATE UNIQUE INDEX "index_exemplifies_on_item_id" ON "exemplifies" ("item_id")
1238
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830172106')
1239
-  (0.7ms) commit transaction
1240
- Migrating to CreateAgentTypes (20080905191442)
1241
-  (0.0ms) begin transaction
1242
-  (0.4ms) CREATE TABLE "agent_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1243
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
1244
-  (0.6ms) commit transaction
1245
- Migrating to CreateCountries (20081025083323)
1246
-  (0.0ms) begin transaction
1247
-  (0.7ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "alpha_2" varchar(255), "alpha_3" varchar(255), "numeric_3" varchar(255), "note" text, "position" integer) 
1248
-  (0.3ms) CREATE INDEX "index_countries_on_name" ON "countries" ("name")
1249
-  (0.1ms) CREATE INDEX "index_countries_on_alpha_2" ON "countries" ("alpha_2")
1250
-  (0.1ms) CREATE INDEX "index_countries_on_alpha_3" ON "countries" ("alpha_3")
1251
-  (0.2ms) CREATE INDEX "index_countries_on_numeric_3" ON "countries" ("numeric_3")
1252
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083323')
1175
+ Migrating to AddVolumeNumberToManifestation (20110916091020)
1176
+  (0.1ms) begin transaction
1177
+  (0.6ms) ALTER TABLE "manifestations" ADD "volume_number" integer
1178
+  (0.2ms) ALTER TABLE "manifestations" ADD "issue_number" integer
1179
+  (0.3ms) ALTER TABLE "manifestations" ADD "serial_number" integer
1180
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916091020')
1253
1181
   (0.7ms) commit transaction
1254
- Migrating to CreateLanguages (20081025083905)
1255
-  (0.2ms) begin transaction
1256
-  (0.4ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer) 
1257
-  (0.4ms) CREATE UNIQUE INDEX "index_languages_on_name" ON "languages" ("name")
1258
-  (0.1ms) CREATE INDEX "index_languages_on_iso_639_1" ON "languages" ("iso_639_1")
1259
-  (0.2ms) CREATE INDEX "index_languages_on_iso_639_2" ON "languages" ("iso_639_2")
1260
-  (0.1ms) CREATE INDEX "index_languages_on_iso_639_3" ON "languages" ("iso_639_3")
1261
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083905')
1262
-  (0.8ms) commit transaction
1263
- Migrating to CreatePictureFiles (20081027150907)
1182
+ Migrating to AddManifestaitonIdToSeriesStatement (20110916103953)
1264
1183
   (0.0ms) begin transaction
1265
-  (0.3ms) CREATE TABLE "picture_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "picture_attachable_id" integer, "picture_attachable_type" varchar(255), "content_type" varchar(255), "title" text, "thumbnail" varchar(255), "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1266
-  (0.1ms) CREATE INDEX "index_picture_files_on_picture_attachable_id_and_type" ON "picture_files" ("picture_attachable_id", "picture_attachable_type")
1267
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081027150907')
1184
+  (0.5ms) ALTER TABLE "series_statements" ADD "manifestation_id" integer
1185
+  (0.2ms) CREATE INDEX "index_series_statements_on_manifestation_id" ON "series_statements" ("manifestation_id")
1186
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916103953')
1187
+  (1.0ms) commit transaction
1188
+ Migrating to AddNoteToSeriesStatement (20110918162329)
1189
+  (0.0ms) begin transaction
1190
+  (0.4ms) ALTER TABLE "series_statements" ADD "note" text
1191
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110918162329')
1268
1192
   (0.6ms) commit transaction
1269
- Migrating to CreateAgentImportFiles (20081028083142)
1193
+ Migrating to CreateCreateTypes (20111124110059)
1270
1194
   (0.0ms) begin transaction
1271
-  (0.4ms) CREATE TABLE "agent_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "agent_import_file_name" varchar(255), "agent_import_content_type" varchar(255), "agent_import_file_size" integer, "agent_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1272
-  (0.1ms) CREATE INDEX "index_agent_import_files_on_parent_id" ON "agent_import_files" ("parent_id")
1273
-  (0.1ms) CREATE INDEX "index_agent_import_files_on_user_id" ON "agent_import_files" ("user_id")
1274
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083142')
1195
+  (0.2ms) CREATE TABLE "create_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1196
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110059')
1275
1197
   (0.7ms) commit transaction
1276
- Migrating to CreateResourceImportFiles (20081028083208)
1277
-  (0.0ms) begin transaction
1278
-  (0.3ms) CREATE TABLE "resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1279
-  (0.1ms) CREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")
1280
-  (0.1ms) CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")
1281
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083208')
1282
-  (0.8ms) commit transaction
1283
- Migrating to CreateSubjectHeadingTypeHasSubjects (20090208044541)
1198
+ Migrating to CreateRealizeTypes (20111124110319)
1284
1199
   (0.0ms) begin transaction
1285
-  (0.4ms) CREATE TABLE "subject_heading_type_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer NOT NULL, "subject_type" varchar(255), "subject_heading_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1286
-  (0.1ms) CREATE INDEX "index_subject_heading_type_has_subjects_on_subject_id" ON "subject_heading_type_has_subjects" ("subject_id")
1287
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090208044541')
1288
-  (0.6ms) commit transaction
1289
- Migrating to AddAttachmentsPictureToPictureFile (20090705133942)
1290
-  (0.0ms) begin transaction
1291
-  (0.3ms) ALTER TABLE "picture_files" ADD "picture_file_name" varchar(255)
1292
-  (0.2ms) ALTER TABLE "picture_files" ADD "picture_content_type" varchar(255)
1293
-  (0.1ms) ALTER TABLE "picture_files" ADD "picture_file_size" integer
1294
-  (0.2ms) ALTER TABLE "picture_files" ADD "picture_updated_at" datetime
1295
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705133942')
1296
-  (0.8ms) commit transaction
1297
- Migrating to AddAttachmentsAttachmentToManifestation (20090705212043)
1200
+  (0.2ms) CREATE TABLE "realize_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1201
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110319')
1202
+  (0.7ms) commit transaction
1203
+ Migrating to CreateProduceTypes (20111124110355)
1298
1204
   (0.0ms) begin transaction
1299
-  (0.4ms) ALTER TABLE "manifestations" ADD "attachment_file_name" varchar(255)
1300
-  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_content_type" varchar(255)
1301
-  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_file_size" integer
1302
-  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_updated_at" datetime
1303
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705212043')
1304
-  (0.7ms) commit transaction
1305
- Migrating to CreateExtents (20090719201843)
1306
-  (0.0ms) begin transaction
1307
-  (0.3ms) CREATE TABLE "extents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1308
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090719201843')
1309
-  (0.7ms) commit transaction
1310
- Migrating to CreateMediumOfPerformances (20090720091106)
1311
-  (0.0ms) begin transaction
1312
-  (0.3ms) CREATE TABLE "medium_of_performances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1313
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091106')
1314
-  (0.7ms) commit transaction
1315
- Migrating to CreateContentTypes (20090720091429)
1316
-  (0.0ms) begin transaction
1317
-  (0.3ms) CREATE TABLE "content_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1318
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091429')
1319
-  (0.6ms) commit transaction
1320
- Migrating to CreateAgentRelationshipTypes (20090812151902)
1321
-  (0.0ms) begin transaction
1322
-  (0.3ms) CREATE TABLE "agent_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1323
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090812151902')
1324
-  (0.7ms) commit transaction
1325
- Migrating to AddDcndlSchema (20091012101112)
1326
-  (0.0ms) begin transaction
1327
-  (0.3ms) ALTER TABLE "manifestations" ADD "title_alternative_transcription" text
1328
-  (0.2ms) ALTER TABLE "agents" ADD "full_name_alternative_transcription" text
1329
-  (0.2ms) ALTER TABLE "manifestations" ADD "description" text
1330
-  (0.2ms) ALTER TABLE "manifestations" ADD "abstract" text
1331
-  (0.3ms) ALTER TABLE "manifestations" ADD "available_at" datetime
1332
-  (0.3ms) ALTER TABLE "manifestations" ADD "valid_until" datetime
1333
-  (0.3ms) ALTER TABLE "manifestations" ADD "date_submitted" datetime
1334
-  (0.3ms) ALTER TABLE "manifestations" ADD "date_accepted" datetime
1335
-  (0.3ms) ALTER TABLE "manifestations" ADD "date_caputured" datetime
1336
-  (0.6ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime)
1337
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_date_of_publication" ON "altered_manifestations" ("date_of_publication")
1338
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
1339
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
1340
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
1341
-  (0.1ms) SELECT * FROM "manifestations"
1342
-  (0.4ms) DROP TABLE "manifestations"
1343
-  (0.2ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime) 
1344
-  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
1345
-  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
1346
-  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
1347
-  (0.1ms) CREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")
1348
-  (0.1ms) SELECT * FROM "altered_manifestations"
1349
-  (0.4ms) DROP TABLE "altered_manifestations"
1350
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091012101112')
1351
-  (1.1ms) commit transaction
1352
- Migrating to CreateLicenses (20091025080447)
1353
-  (0.0ms) begin transaction
1354
-  (0.3ms) CREATE TABLE "licenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" varchar(255), "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1355
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091025080447')
1356
-  (0.8ms) commit transaction
1357
- Migrating to CreateVersions (20091202124834)
1358
-  (0.0ms) begin transaction
1359
-  (0.3ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar(255) NOT NULL, "item_id" integer NOT NULL, "event" varchar(255) NOT NULL, "whodunnit" varchar(255), "object" text, "created_at" datetime) 
1360
-  (0.1ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
1361
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091202124834')
1205
+  (0.3ms) CREATE TABLE "produce_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1206
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110355')
1362
1207
   (0.7ms) commit transaction
1363
- Migrating to CreateSeriesStatements (20091214131723)
1208
+ Migrating to AddCreateTypeToCreate (20111124112131)
1364
1209
   (0.0ms) begin transaction
1365
-  (0.3ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1366
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091214131723')
1210
+  (0.3ms) ALTER TABLE "creates" ADD "create_type_id" integer
1211
+  (0.2ms) ALTER TABLE "realizes" ADD "realize_type_id" integer
1212
+  (0.2ms) ALTER TABLE "produces" ADD "produce_type_id" integer
1213
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124112131')
1367
1214
   (0.6ms) commit transaction
1368
- Migrating to CreateImportRequests (20100129142347)
1215
+ Migrating to AddIsilToLibrary (20120105074911)
1369
1216
   (0.0ms) begin transaction
1370
-  (0.4ms) CREATE TABLE "import_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "isbn" varchar(255), "manifestation_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1371
-  (0.1ms) CREATE INDEX "index_import_requests_on_isbn" ON "import_requests" ("isbn")
1372
-  (0.1ms) CREATE INDEX "index_import_requests_on_manifestation_id" ON "import_requests" ("manifestation_id")
1373
-  (0.1ms) CREATE INDEX "index_import_requests_on_user_id" ON "import_requests" ("user_id")
1374
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100129142347')
1375
-  (1.1ms) commit transaction
1376
- Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
1377
-  (0.0ms) begin transaction
1378
-  (0.2ms) CREATE TEMPORARY TABLE "altered_series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1379
-  (0.1ms) SELECT * FROM "series_statements"
1380
-  (0.2ms) DROP TABLE "series_statements"
1381
-  (0.1ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1382
-  (0.0ms) SELECT * FROM "altered_series_statements"
1383
-  (0.1ms) DROP TABLE "altered_series_statements"
1384
-  (0.2ms) ALTER TABLE "series_statements" ADD "title_transcription" text
1385
-  (0.1ms) ALTER TABLE "series_statements" ADD "title_alternative" text
1386
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100223121519')
1387
-  (0.7ms) commit transaction
1388
- Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
1389
-  (0.1ms) begin transaction
1390
-  (0.6ms) ALTER TABLE "series_statements" ADD "series_statement_identifier" varchar(255)
1391
-  (0.3ms) CREATE INDEX "index_series_statements_on_series_statement_identifier" ON "series_statements" ("series_statement_identifier")
1392
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100321235924')
1393
-  (0.8ms) commit transaction
1394
- Migrating to CreateManifestationRelationships (20100525124311)
1395
-  (0.0ms) begin transaction
1396
-  (0.3ms) CREATE TABLE "manifestation_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "manifestation_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1397
-  (0.1ms) CREATE INDEX "index_manifestation_relationships_on_parent_id" ON "manifestation_relationships" ("parent_id")
1398
-  (0.1ms) CREATE INDEX "index_manifestation_relationships_on_child_id" ON "manifestation_relationships" ("child_id")
1399
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100525124311')
1400
-  (0.7ms) commit transaction
1401
- Migrating to CreateAgentRelationships (20100606073747)
1402
-  (0.0ms) begin transaction
1403
-  (0.4ms) CREATE TABLE "agent_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "agent_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1404
-  (0.2ms) CREATE INDEX "index_agent_relationships_on_parent_id" ON "agent_relationships" ("parent_id")
1405
-  (0.2ms) CREATE INDEX "index_agent_relationships_on_child_id" ON "agent_relationships" ("child_id")
1406
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100606073747')
1407
-  (0.8ms) commit transaction
1408
- Migrating to CreateManifestationRelationshipTypes (20100607044753)
1409
-  (0.0ms) begin transaction
1410
-  (0.5ms) CREATE TABLE "manifestation_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1411
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100607044753')
1412
-  (0.6ms) commit transaction
1413
- Migrating to AddPositionToAgentRelationship (20100814091104)
1414
-  (0.0ms) begin transaction
1415
-  (0.4ms) ALTER TABLE "manifestation_relationships" ADD "position" integer
1416
-  (0.2ms) ALTER TABLE "agent_relationships" ADD "position" integer
1417
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100814091104')
1217
+  (0.4ms) ALTER TABLE "libraries" ADD "isil" varchar(255)
1218
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120105074911')
1418
1219
   (0.5ms) commit transaction
1419
- Migrating to CreateResourceImportResults (20100925043847)
1420
-  (0.0ms) begin transaction
1421
-  (0.3ms) CREATE TABLE "resource_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_import_file_id" integer, "manifestation_id" integer, "item_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1422
-  (0.1ms) CREATE INDEX "index_resource_import_results_on_resource_import_file_id" ON "resource_import_results" ("resource_import_file_id")
1423
-  (0.1ms) CREATE INDEX "index_resource_import_results_on_manifestation_id" ON "resource_import_results" ("manifestation_id")
1424
-  (0.1ms) CREATE INDEX "index_resource_import_results_on_item_id" ON "resource_import_results" ("item_id")
1425
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925043847')
1426
-  (0.7ms) commit transaction
1427
- Migrating to CreateAgentImportResults (20100925074559)
1428
-  (0.0ms) begin transaction
1429
-  (0.3ms) CREATE TABLE "agent_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_import_file_id" integer, "agent_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1430
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925074559')
1431
-  (0.7ms) commit transaction
1432
- Migrating to AddAcquiredAtToItem (20101212070145)
1433
-  (0.1ms) begin transaction
1434
-  (0.4ms) ALTER TABLE "items" ADD "acquired_at" datetime
1435
-  (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101212070145')
1436
-  (0.7ms) commit transaction
1437
- Migrating to AddPubDateToManifestation (20110301035123)
1438
-  (0.2ms) begin transaction
1439
-  (0.5ms) ALTER TABLE "manifestations" ADD "pub_date" varchar(255)
1440
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301035123')
1441
-  (0.7ms) commit transaction
1442
- Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
1443
-  (0.1ms) begin transaction
1444
-  (0.5ms) ALTER TABLE "agents" ADD "birth_date" varchar(255)
1445
-  (0.2ms) ALTER TABLE "agents" ADD "death_date" varchar(255)
1446
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301121550')
1447
-  (0.7ms) commit transaction
1448
- Migrating to AddIssnToSeriesStatement (20110425133109)
1449
-  (0.0ms) begin transaction
1450
-  (0.5ms) ALTER TABLE "series_statements" ADD "issn" varchar(255)
1451
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110425133109')
1452
-  (0.7ms) commit transaction
1453
- Migrating to AddEditModeToResourceImportFile (20110603184217)
1220
+ Migrating to AddTitleSubseriesTranscriptionToSeriesStatement (20120125152919)
1454
1221
   (0.0ms) begin transaction
1455
-  (0.3ms) ALTER TABLE "resource_import_files" ADD "edit_mode" varchar(255)
1456
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110603184217')
1222
+  (0.4ms) ALTER TABLE "series_statements" ADD "title_subseries_transcription" text
1223
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120125152919')
1457
1224
   (0.7ms) commit transaction
1458
- Migrating to AddPeriodicalToSeriesStatement (20110618091240)
1225
+ Migrating to CreateBudgetTypes (20120129014038)
1459
1226
   (0.0ms) begin transaction
1460
-  (0.4ms) ALTER TABLE "series_statements" ADD "periodical" boolean
1461
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110618091240')
1227
+  (0.3ms) CREATE TABLE "budget_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1228
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120129014038')
1462
1229
   (0.7ms) commit transaction
1463
- Migrating to AddEditionStringToManifestation (20110619064807)
1230
+ Migrating to AddBudgetTypeIdToItem (20120129020544)
1464
1231
   (0.0ms) begin transaction
1465
-  (0.5ms) ALTER TABLE "manifestations" ADD "edition_string" varchar(255)
1466
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110619064807')
1232
+  (0.5ms) ALTER TABLE "items" ADD "budget_type_id" integer
1233
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120129020544')
1467
1234
   (0.6ms) commit transaction
1468
- Migrating to AddBookstoreIdToItem (20110620173525)
1469
-  (0.0ms) begin transaction
1470
-  (0.5ms) ALTER TABLE "items" ADD "bookstore_id" integer
1471
-  (0.1ms) CREATE INDEX "index_items_on_bookstore_id" ON "items" ("bookstore_id")
1472
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110620173525')
1473
-  (0.9ms) commit transaction
1474
- Migrating to CreateSeriesStatementMergeLists (20110627034940)
1475
-  (0.0ms) begin transaction
1476
-  (0.3ms) CREATE TABLE "series_statement_merge_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1477
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627034940')
1478
-  (0.6ms) commit transaction
1479
- Migrating to CreateSeriesStatementMerges (20110627035057)
1480
-  (0.0ms) begin transaction
1481
-  (0.3ms) CREATE TABLE "series_statement_merges" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer NOT NULL, "series_statement_merge_list_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1482
-  (0.1ms) CREATE INDEX "index_series_statement_merges_on_series_statement_id" ON "series_statement_merges" ("series_statement_id")
1483
-  (0.1ms) CREATE INDEX "index_series_statement_merges_on_series_statement_merge_list_id" ON "series_statement_merges" ("series_statement_merge_list_id")
1484
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627035057')
1485
-  (0.9ms) commit transaction
1486
- Migrating to CreateSeriesHasManifestations (20110820131417)
1487
-  (0.0ms) begin transaction
1488
-  (0.3ms) CREATE TABLE "series_has_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer, "manifestation_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1489
-  (0.2ms) CREATE INDEX "index_series_has_manifestations_on_series_statement_id" ON "series_has_manifestations" ("series_statement_id")
1490
-  (0.1ms) CREATE INDEX "index_series_has_manifestations_on_manifestation_id" ON "series_has_manifestations" ("manifestation_id")
1491
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110820131417')
1492
-  (0.9ms) commit transaction
1493
- Migrating to AddLftAndRgtToClassification (20110913120629)
1494
-  (0.1ms) begin transaction
1495
-  (0.4ms) ALTER TABLE "classifications" ADD "lft" integer
1496
-  (0.2ms) ALTER TABLE "classifications" ADD "rgt" integer
1497
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
1498
-  (0.6ms) commit transaction
1499
- Migrating to RenameManifestationNumberListToNumberString (20110916053430)
1235
+ Migrating to AddContentTypeIdToManifestation (20120319120638)
1500
1236
   (0.0ms) begin transaction
1501
-  (0.0ms) rollback transaction
1502
- Connecting to database specified by database.yml
1503
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1504
- Migrating to CreateAgents (1)
1505
- Migrating to DeviseCreateUsers (2)
1506
-  (0.0ms) select sqlite_version(*)
1237
+  (0.5ms) ALTER TABLE "manifestations" ADD "content_type_id" integer DEFAULT 1
1238
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120319120638')
1239
+  (0.7ms) commit transaction
1240
+ Migrating to CreateAccepts (20120319173203)
1507
1241
   (0.1ms) begin transaction
1508
-  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1509
-  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
1510
-  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
1511
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('2')
1242
+  (0.4ms) CREATE TABLE "accepts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "basket_id" integer, "item_id" integer, "librarian_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1243
+  (0.2ms) CREATE INDEX "index_accepts_on_basket_id" ON "accepts" ("basket_id")
1244
+  (0.1ms) CREATE INDEX "index_accepts_on_item_id" ON "accepts" ("item_id")
1245
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120319173203')
1512
1246
   (0.8ms) commit transaction
1513
- Migrating to CreateManifestations (5)
1514
- Migrating to CreateItems (6)
1515
- Migrating to CreateOwns (12)
1516
- Migrating to CreateCreates (15)
1517
- Migrating to CreateRoles (41)
1247
+ Migrating to AddUrlToSubject (20120406020752)
1518
1248
   (0.0ms) begin transaction
1519
-  (0.3ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" varchar(255), "note" text, "created_at" datetime, "updated_at" datetime, "score" integer DEFAULT 0 NOT NULL, "position" integer)
1520
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('41')
1249
+  (0.4ms) ALTER TABLE "subjects" ADD "url" varchar(255)
1250
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120406020752')
1521
1251
   (0.7ms) commit transaction
1522
- Migrating to CreateProduces (47)
1523
- Migrating to CreateLibraries (59)
1524
-  (0.0ms) begin transaction
1525
-  (0.4ms) CREATE TABLE "libraries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_display_name" varchar(255) NOT NULL, "zip_code" varchar(255), "street" text, "locality" text, "region" text, "telephone_number_1" varchar(255), "telephone_number_2" varchar(255), "fax_number" varchar(255), "note" text, "call_number_rows" integer DEFAULT 1 NOT NULL, "call_number_delimiter" varchar(255) DEFAULT '|' NOT NULL, "library_group_id" integer DEFAULT 1 NOT NULL, "users_count" integer DEFAULT 0 NOT NULL, "position" integer, "country_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime)
1526
-  (0.1ms) CREATE INDEX "index_libraries_on_library_group_id" ON "libraries" ("library_group_id")
1527
-  (0.3ms) CREATE UNIQUE INDEX "index_libraries_on_name" ON "libraries" ("name")
1528
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('59')
1529
-  (0.8ms) commit transaction
1530
- Migrating to CreateShelves (69)
1252
+ Migrating to AddYearOfPublicationToManifestation (20120410104851)
1531
1253
   (0.0ms) begin transaction
1532
-  (0.4ms) CREATE TABLE "shelves" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "library_id" integer DEFAULT 1 NOT NULL, "items_count" integer DEFAULT 0 NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime)
1533
-  (0.1ms) CREATE INDEX "index_shelves_on_library_id" ON "shelves" ("library_id")
1534
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('69')
1535
-  (0.7ms) commit transaction
1536
- Migrating to CreateCarrierTypes (73)
1537
- Migrating to CreateUserGroups (77)
1538
-  (0.0ms) begin transaction
1539
-  (0.4ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime) 
1540
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('77')
1541
-  (0.7ms) commit transaction
1542
- Migrating to CreateLibraryGroups (80)
1543
-  (0.0ms) begin transaction
1544
-  (0.3ms) CREATE TABLE "library_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "my_networks" text, "login_banner" text, "note" text, "country_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1545
-  (0.1ms) CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")
1546
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('80')
1254
+  (0.6ms) ALTER TABLE "manifestations" ADD "year_of_publication" integer
1255
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120410104851')
1547
1256
   (0.8ms) commit transaction
1548
- Migrating to CreateFrequencies (112)
1549
- Migrating to CreateFormOfWorks (117)
1550
- Migrating to CreateBaskets (120)
1551
-  (0.0ms) begin transaction
1552
-  (0.3ms) CREATE TABLE "baskets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "note" text, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1553
-  (0.2ms) CREATE INDEX "index_baskets_on_user_id" ON "baskets" ("user_id")
1554
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('120')
1555
-  (0.8ms) commit transaction
1556
- Migrating to CreateBookstores (124)
1557
-  (0.0ms) begin transaction
1558
-  (0.2ms) CREATE TABLE "bookstores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" text NOT NULL, "zip_code" varchar(255), "address" text, "note" text, "telephone_number" varchar(255), "fax_number" varchar(255), "url" varchar(255), "position" integer, "deleted_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1559
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('124')
1560
-  (0.7ms) commit transaction
1561
- Migrating to CreateDonates (125)
1562
- Migrating to CreateRequestStatusTypes (130)
1563
-  (0.0ms) begin transaction
1564
-  (0.3ms) CREATE TABLE "request_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1565
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('130')
1566
-  (0.7ms) commit transaction
1567
- Migrating to CreateRequestTypes (131)
1568
-  (0.1ms) begin transaction
1569
-  (0.5ms) CREATE TABLE "request_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1570
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('131')
1571
-  (0.7ms) commit transaction
1572
- Migrating to CreateRealizes (20080830154109)
1573
- Migrating to CreateExemplifies (20080830172106)
1574
- Migrating to CreateAgentTypes (20080905191442)
1575
- Migrating to CreateSubscriptions (20081006090811)
1576
-  (0.0ms) begin transaction
1577
-  (0.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" text NOT NULL, "note" text, "user_id" integer, "order_list_id" integer, "deleted_at" datetime, "subscribes_count" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1578
-  (0.2ms) CREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")
1579
-  (0.2ms) CREATE INDEX "index_subscriptions_on_order_list_id" ON "subscriptions" ("order_list_id")
1580
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081006090811')
1581
-  (0.6ms) commit transaction
1582
- Migrating to CreateSubscribes (20081006093246)
1583
-  (0.0ms) begin transaction
1584
-  (0.5ms) CREATE TABLE "subscribes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscription_id" integer NOT NULL, "work_id" integer NOT NULL, "start_at" datetime NOT NULL, "end_at" datetime NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1585
-  (0.2ms) CREATE INDEX "index_subscribes_on_subscription_id" ON "subscribes" ("subscription_id")
1586
-  (0.2ms) CREATE INDEX "index_subscribes_on_work_id" ON "subscribes" ("work_id")
1587
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081006093246')
1588
-  (0.7ms) commit transaction
1589
- Migrating to CreateSearchEngines (20081023092436)
1590
-  (0.0ms) begin transaction
1591
-  (0.6ms) CREATE TABLE "search_engines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "url" varchar(255) NOT NULL, "base_url" text NOT NULL, "http_method" text NOT NULL, "query_param" text NOT NULL, "additional_param" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1592
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081023092436')
1593
-  (0.6ms) commit transaction
1594
- Migrating to CreateCountries (20081025083323)
1595
- Migrating to CreateLanguages (20081025083905)
1596
- Migrating to CreatePictureFiles (20081027150907)
1597
- Migrating to CreateAgentImportFiles (20081028083142)
1598
- Migrating to CreateResourceImportFiles (20081028083208)
1599
- Migrating to AddAttachmentsPictureToPictureFile (20090705133942)
1600
- Migrating to AddAttachmentsAttachmentToManifestation (20090705212043)
1601
- Migrating to CreateExtents (20090719201843)
1602
- Migrating to CreateMediumOfPerformances (20090720091106)
1603
- Migrating to CreateContentTypes (20090720091429)
1604
- Migrating to CreateAgentRelationshipTypes (20090812151902)
1605
- Migrating to AddDcndlSchema (20091012101112)
1606
- Migrating to CreateLicenses (20091025080447)
1607
- Migrating to CreateVersions (20091202124834)
1608
- Migrating to CreateSeriesStatements (20091214131723)
1609
- Migrating to CreateImportRequests (20100129142347)
1610
- Migrating to AddAdminNetworksToLibraryGroup (20100211105551)
1611
-  (0.0ms) begin transaction
1612
-  (0.4ms) ALTER TABLE "library_groups" ADD "admin_networks" text
1613
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100211105551')
1614
-  (0.5ms) commit transaction
1615
- Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
1616
- Migrating to AddOpeningHourToLibrary (20100314190054)
1617
-  (0.0ms) begin transaction
1618
-  (0.4ms) ALTER TABLE "libraries" ADD "opening_hour" text
1619
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100314190054')
1620
-  (0.6ms) commit transaction
1621
- Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
1622
- Migrating to CreateManifestationRelationships (20100525124311)
1623
- Migrating to CreateUserHasRoles (20100606065209)
1624
-  (0.0ms) begin transaction
1625
-  (0.3ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1626
-  (0.1ms) CREATE INDEX "index_user_has_roles_on_user_id" ON "user_has_roles" ("user_id")
1627
-  (0.1ms) CREATE INDEX "index_user_has_roles_on_role_id" ON "user_has_roles" ("role_id")
1628
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100606065209')
1629
-  (0.6ms) commit transaction
1630
- Migrating to CreateAgentRelationships (20100606073747)
1631
- Migrating to CreateManifestationRelationshipTypes (20100607044753)
1632
- Migrating to AddPositionToAgentRelationship (20100814091104)
1633
- Migrating to CreateResourceImportResults (20100925043847)
1634
- Migrating to CreateAgentImportResults (20100925074559)
1635
- Migrating to AddAcquiredAtToItem (20101212070145)
1636
- Migrating to AddUrlToLibraryGroup (20110222073537)
1637
-  (0.0ms) begin transaction
1638
-  (0.6ms) ALTER TABLE "library_groups" ADD "url" varchar(255) DEFAULT 'http://localhost:3000/'
1639
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110222073537')
1640
-  (0.7ms) commit transaction
1641
- Migrating to AddPubDateToManifestation (20110301035123)
1642
- Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
1643
- Migrating to AddValidPeriodForNewUserToUserGroup (20110318183304)
1644
-  (0.0ms) begin transaction
1645
-  (0.4ms) ALTER TABLE "user_groups" ADD "valid_period_for_new_user" integer DEFAULT 0 NOT NULL
1646
-  (0.4ms) ALTER TABLE "user_groups" ADD "expired_at" datetime
1647
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110318183304')
1648
-  (0.7ms) commit transaction
1649
- Migrating to AddEditModeToResourceImportFile (20110603184217)
1650
- Migrating to AddEditionStringToManifestation (20110619064807)
1651
- Migrating to AddBookstoreIdToItem (20110620173525)
1652
- Migrating to CreateSeriesStatementMergeLists (20110627034940)
1653
- Migrating to CreateSeriesStatementMerges (20110627035057)
1654
- Migrating to AddVolumeNumberToManifestation (20110916091020)
1655
-  (0.1ms) begin transaction
1656
-  (0.8ms) ALTER TABLE "manifestations" ADD "volume_number" integer
1657
-  (0.5ms) ALTER TABLE "manifestations" ADD "issue_number" integer
1658
-  (0.2ms) ALTER TABLE "manifestations" ADD "serial_number" integer
1659
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916091020')
1660
-  (0.7ms) commit transaction
1661
- Migrating to AddManifestaitonIdToSeriesStatement (20110916103953)
1662
-  (0.1ms) begin transaction
1663
-  (0.6ms) ALTER TABLE "series_statements" ADD "manifestation_id" integer
1664
-  (0.4ms) CREATE INDEX "index_series_statements_on_manifestation_id" ON "series_statements" ("manifestation_id")
1665
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916103953')
1666
-  (3.4ms) commit transaction
1667
- Migrating to AddNoteToSeriesStatement (20110918162329)
1668
-  (0.1ms) begin transaction
1669
-  (0.4ms) ALTER TABLE "series_statements" ADD "note" text
1670
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110918162329')
1671
-  (0.6ms) commit transaction
1672
- Migrating to CreateCreateTypes (20111124110059)
1673
-  (0.0ms) begin transaction
1674
-  (0.3ms) CREATE TABLE "create_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1675
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110059')
1676
-  (0.7ms) commit transaction
1677
- Migrating to CreateRealizeTypes (20111124110319)
1678
-  (0.0ms) begin transaction
1679
-  (0.3ms) CREATE TABLE "realize_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1680
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110319')
1681
-  (0.6ms) commit transaction
1682
- Migrating to CreateProduceTypes (20111124110355)
1683
-  (0.0ms) begin transaction
1684
-  (0.3ms) CREATE TABLE "produce_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1685
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110355')
1686
-  (0.6ms) commit transaction
1687
- Migrating to AddCreateTypeToCreate (20111124112131)
1688
-  (0.0ms) begin transaction
1689
-  (0.4ms) ALTER TABLE "creates" ADD "create_type_id" integer
1690
-  (0.2ms) ALTER TABLE "realizes" ADD "realize_type_id" integer
1691
-  (0.2ms) ALTER TABLE "produces" ADD "produce_type_id" integer
1692
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124112131')
1693
-  (0.7ms) commit transaction
1694
- Migrating to AddIsilToLibrary (20120105074911)
1695
-  (0.1ms) begin transaction
1696
-  (0.4ms) ALTER TABLE "libraries" ADD "isil" varchar(255)
1697
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120105074911')
1698
-  (0.7ms) commit transaction
1699
- Migrating to AddTitleSubseriesTranscriptionToSeriesStatement (20120125152919)
1700
-  (0.0ms) begin transaction
1701
-  (0.5ms) ALTER TABLE "series_statements" ADD "title_subseries_transcription" text
1702
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120125152919')
1703
-  (0.6ms) commit transaction
1704
- Migrating to CreateBudgetTypes (20120129014038)
1705
-  (0.1ms) begin transaction
1706
-  (0.5ms) CREATE TABLE "budget_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1707
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120129014038')
1708
-  (0.6ms) commit transaction
1709
- Migrating to AddBudgetTypeIdToItem (20120129020544)
1710
-  (0.1ms) begin transaction
1711
-  (0.6ms) ALTER TABLE "items" ADD "budget_type_id" integer
1712
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120129020544')
1713
-  (0.6ms) commit transaction
1714
- Migrating to AddContentTypeIdToManifestation (20120319120638)
1715
-  (0.1ms) begin transaction
1716
-  (0.7ms) ALTER TABLE "manifestations" ADD "content_type_id" integer DEFAULT 1
1717
-  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120319120638')
1718
-  (0.7ms) commit transaction
1719
- Migrating to CreateAccepts (20120319173203)
1720
-  (0.0ms) begin transaction
1721
-  (0.4ms) CREATE TABLE "accepts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "basket_id" integer, "item_id" integer, "librarian_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1722
-  (0.1ms) CREATE INDEX "index_accepts_on_basket_id" ON "accepts" ("basket_id")
1723
-  (0.4ms) CREATE INDEX "index_accepts_on_item_id" ON "accepts" ("item_id")
1724
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120319173203')
1725
-  (1.2ms) commit transaction
1726
- Migrating to AddYearOfPublicationToManifestation (20120410104851)
1727
-  (0.1ms) begin transaction
1728
-  (0.7ms) ALTER TABLE "manifestations" ADD "year_of_publication" integer
1729
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120410104851')
1730
-  (0.7ms) commit transaction
1731
1257
  Migrating to AddPictureMetaToPictureFile (20120413072700)
1732
-  (0.0ms) begin transaction
1733
-  (0.4ms) ALTER TABLE "picture_files" ADD "picture_meta" text
1734
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413072700')
1735
-  (0.6ms) commit transaction
1258
+  (0.0ms) begin transaction
1259
+  (0.6ms) ALTER TABLE "picture_files" ADD "picture_meta" text
1260
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413072700')
1261
+  (0.5ms) commit transaction
1736
1262
  Migrating to AddFingerprintToPictureFile (20120413100352)
1737
-  (0.0ms) begin transaction
1738
-  (0.7ms) ALTER TABLE "picture_files" ADD "picture_fingerprint" varchar(255)
1739
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413100352')
1740
-  (1.2ms) commit transaction
1263
+  (0.0ms) begin transaction
1264
+  (0.3ms) ALTER TABLE "picture_files" ADD "picture_fingerprint" varchar(255)
1265
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413100352')
1266
+  (0.6ms) commit transaction
1741
1267
  Migrating to AddFingerprintToResourceImportFile (20120413161340)
1742
-  (0.1ms) begin transaction
1743
-  (16.1ms) ALTER TABLE "resource_import_files" ADD "resource_import_fingerprint" varchar(255)
1744
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413161340')
1745
-  (0.6ms) commit transaction
1746
- Migrating to AddFingerprintToAgentImportFile (20120413161403)
1747
-  (0.0ms) begin transaction
1748
-  (0.3ms) ALTER TABLE "agent_import_files" ADD "agent_import_fingerprint" varchar(255)
1749
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413161403')
1750
-  (0.7ms) commit transaction
1268
+  (0.0ms) begin transaction
1269
+  (0.5ms) ALTER TABLE "resource_import_files" ADD "resource_import_fingerprint" varchar(255)
1270
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413161340')
1271
+  (0.7ms) commit transaction
1272
+ Migrating to AddFingerprintToAgentImportFile (20120413161403)
1273
+  (0.0ms) begin transaction
1274
+  (0.4ms) ALTER TABLE "agent_import_files" ADD "agent_import_fingerprint" varchar(255)
1275
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413161403')
1276
+  (0.7ms) commit transaction
1751
1277
  Migrating to AddErrorMessageToResourceImportFile (20120413170705)
1752
-  (0.0ms) begin transaction
1753
-  (0.3ms) ALTER TABLE "resource_import_files" ADD "error_message" text
1754
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413170705')
1755
-  (0.8ms) commit transaction
1278
+  (0.0ms) begin transaction
1279
+  (0.4ms) ALTER TABLE "resource_import_files" ADD "error_message" text
1280
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413170705')
1281
+  (0.6ms) commit transaction
1756
1282
  Migrating to AddErrorMessageToAgentImportFile (20120413170720)
1757
-  (0.0ms) begin transaction
1758
-  (0.4ms) ALTER TABLE "agent_import_files" ADD "error_message" text
1759
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413170720')
1760
-  (0.6ms) commit transaction
1283
+  (0.0ms) begin transaction
1284
+  (0.3ms) ALTER TABLE "agent_import_files" ADD "error_message" text
1285
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413170720')
1286
+  (0.6ms) commit transaction
1761
1287
  Migrating to AddAttachmentMetaToManifestation (20120415164821)
1762
-  (0.1ms) begin transaction
1763
-  (0.7ms) ALTER TABLE "manifestations" ADD "attachment_meta" text
1764
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120415164821')
1765
-  (0.6ms) commit transaction
1288
+  (0.0ms) begin transaction
1289
+  (0.6ms) ALTER TABLE "manifestations" ADD "attachment_meta" text
1290
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120415164821')
1291
+  (0.7ms) commit transaction
1766
1292
  Migrating to AddMonthOfPublicationToManifestation (20120418081407)
1767
-  (0.0ms) begin transaction
1768
-  (0.6ms) ALTER TABLE "manifestations" ADD "month_of_publication" integer
1769
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120418081407')
1770
-  (0.5ms) commit transaction
1771
- Migrating to AddClosedToShelf (20120510140958)
1772
-  (0.0ms) begin transaction
1773
-  (0.4ms) ALTER TABLE "shelves" ADD "closed" boolean DEFAULT 'f' NOT NULL
1774
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120510140958')
1775
-  (0.5ms) commit transaction
1776
- Migrating to AddAgentIdentifierToAgent (20120511072422)
1777
-  (0.0ms) begin transaction
1778
-  (0.8ms) ALTER TABLE "agents" ADD "agent_identifier" varchar(255)
1779
-  (0.2ms) CREATE INDEX "index_agents_on_agent_identifier" ON "agents" ("agent_identifier")
1780
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120511072422')
1781
-  (0.6ms) commit transaction
1782
- Migrating to AddEditModeToAgentImportFile (20120602141129)
1783
1293
   (0.0ms) begin transaction
1784
-  (0.4ms) ALTER TABLE "agent_import_files" ADD "edit_mode" varchar(255)
1785
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120602141129')
1786
-  (0.5ms) commit transaction
1787
- Migrating to AddFulltextContentToManifestation (20121116031206)
1294
+  (0.5ms) ALTER TABLE "manifestations" ADD "month_of_publication" integer
1295
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120418081407')
1296
+  (0.7ms) commit transaction
1297
+ Migrating to AddClosedToShelf (20120510140958)
1788
1298
   (0.0ms) begin transaction
1789
-  (0.4ms) ALTER TABLE "manifestations" ADD "fulltext_content" boolean
1790
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121116031206')
1791
-  (0.6ms) commit transaction
1792
- Migrating to AddDoiToManifestation (20121116033446)
1299
+  (0.4ms) ALTER TABLE "shelves" ADD "closed" boolean DEFAULT 'f' NOT NULL
1300
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120510140958')
1301
+  (0.7ms) commit transaction
1302
+ Migrating to AddAgentIdentifierToAgent (20120511072422)
1793
1303
   (0.0ms) begin transaction
1794
-  (0.4ms) ALTER TABLE "manifestations" ADD "doi" varchar(255)
1795
-  (0.1ms) CREATE INDEX "index_manifestations_on_doi" ON "manifestations" ("doi")
1796
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121116033446')
1304
+  (0.6ms) ALTER TABLE "agents" ADD "agent_identifier" varchar(255)
1305
+  (0.2ms) CREATE INDEX "index_agents_on_agent_identifier" ON "agents" ("agent_identifier")
1306
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120511072422')
1797
1307
   (0.7ms) commit transaction
1308
+ Migrating to AddEditModeToAgentImportFile (20120602141129)
1309
+  (0.0ms) begin transaction
1310
+  (0.7ms) ALTER TABLE "agent_import_files" ADD "edit_mode" varchar(255)
1311
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120602141129')
1312
+  (0.5ms) commit transaction
1313
+ Migrating to AddFulltextContentToManifestation (20121116031206)
1314
+  (0.0ms) begin transaction
1315
+  (0.5ms) ALTER TABLE "manifestations" ADD "fulltext_content" boolean
1316
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121116031206')
1317
+  (0.8ms) commit transaction
1798
1318
  Migrating to AddAdditionalAttributesToUser (20130221154434)
1799
1319
   (0.0ms) begin transaction
1800
-  (0.3ms) ALTER TABLE "users" ADD "username" varchar(255)
1320
+  (0.4ms) ALTER TABLE "users" ADD "username" varchar(255)
1801
1321
   (0.2ms) ALTER TABLE "users" ADD "deleted_at" datetime
1802
-  (0.1ms) ALTER TABLE "users" ADD "expired_at" datetime
1322
+  (0.2ms) ALTER TABLE "users" ADD "expired_at" datetime
1803
1323
   (0.2ms) ALTER TABLE "users" ADD "failed_attempts" integer DEFAULT 0
1804
-  (0.2ms) ALTER TABLE "users" ADD "unlock_token" varchar(255)
1805
-  (0.1ms) ALTER TABLE "users" ADD "locked_at" datetime
1324
+  (0.3ms) ALTER TABLE "users" ADD "unlock_token" varchar(255)
1325
+  (0.3ms) ALTER TABLE "users" ADD "locked_at" datetime
1806
1326
   (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
1807
1327
   (0.3ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
1808
-  (0.2ms) CREATE UNIQUE INDEX "index_users_on_unlock_token" ON "users" ("unlock_token")
1328
+  (0.1ms) CREATE UNIQUE INDEX "index_users_on_unlock_token" ON "users" ("unlock_token")
1809
1329
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130221154434')
1810
-  (0.7ms) commit transaction
1330
+  (0.8ms) commit transaction
1811
1331
  Migrating to AddLatitudeAndLongitudeToLibrary (20130412083556)
1812
-  (0.0ms) begin transaction
1813
-  (0.5ms) ALTER TABLE "libraries" ADD "latitude" float
1332
+  (0.1ms) begin transaction
1333
+  (0.4ms) ALTER TABLE "libraries" ADD "latitude" float
1814
1334
   (0.2ms) ALTER TABLE "libraries" ADD "longitude" float
1815
1335
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130412083556')
1816
-  (0.8ms) commit transaction
1336
+  (1.1ms) commit transaction
1817
1337
  Migrating to AddPeriodicalToManifestation (20130421093852)
1818
1338
   (0.0ms) begin transaction
1819
-  (0.4ms) ALTER TABLE "manifestations" ADD "periodical" boolean
1339
+  (0.6ms) ALTER TABLE "manifestations" ADD "periodical" boolean
1820
1340
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421093852')
1821
-  (0.7ms) commit transaction
1341
+  (0.6ms) commit transaction
1822
1342
  Migrating to AddCreatorStringToSeriesStatement (20130421155019)
1823
-  (0.1ms) begin transaction
1824
-  (0.7ms) ALTER TABLE "series_statements" ADD "creator_string" text
1825
-  (0.3ms) ALTER TABLE "series_statements" ADD "volume_number_string" text
1826
-  (0.3ms) ALTER TABLE "series_statements" ADD "volume_number_transcription_string" text
1343
+  (0.0ms) begin transaction
1344
+  (0.4ms) ALTER TABLE "series_statements" ADD "creator_string" text
1345
+  (0.2ms) ALTER TABLE "series_statements" ADD "volume_number_string" text
1346
+  (0.2ms) ALTER TABLE "series_statements" ADD "volume_number_transcription_string" text
1827
1347
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421155019')
1828
-  (0.6ms) commit transaction
1348
+  (0.5ms) commit transaction
1829
1349
  Migrating to AddSeriesMasterToSeriesStatement (20130421164124)
1830
-  (0.1ms) begin transaction
1831
-  (0.6ms) ALTER TABLE "series_statements" ADD "series_master" boolean
1350
+  (0.0ms) begin transaction
1351
+  (0.3ms) ALTER TABLE "series_statements" ADD "series_master" boolean
1832
1352
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421164124')
1833
-  (0.9ms) commit transaction
1353
+  (0.7ms) commit transaction
1834
1354
  Migrating to AddRootManifestationIdToSeriesStatement (20130429020822)
1835
1355
   (0.0ms) begin transaction
1836
-  (0.6ms) ALTER TABLE "series_statements" ADD "root_manifestation_id" integer
1837
-  (0.2ms) CREATE INDEX "index_series_statements_on_root_manifestation_id" ON "series_statements" ("root_manifestation_id")
1356
+  (0.4ms) ALTER TABLE "series_statements" ADD "root_manifestation_id" integer
1357
+  (0.1ms) CREATE INDEX "index_series_statements_on_root_manifestation_id" ON "series_statements" ("root_manifestation_id")
1838
1358
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130429020822')
1839
1359
   (0.7ms) commit transaction
1360
+ Migrating to AddManifestationIdToSubject (20130504133816)
1361
+  (0.0ms) begin transaction
1362
+  (0.3ms) ALTER TABLE "subjects" ADD "manifestation_id" integer
1363
+  (0.1ms) CREATE INDEX "index_subjects_on_manifestation_id" ON "subjects" ("manifestation_id")
1364
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504133816')
1365
+  (0.7ms) commit transaction
1366
+ Migrating to AddManifestationIdToClassification (20130504143515)
1367
+  (0.0ms) begin transaction
1368
+  (0.4ms) ALTER TABLE "classifications" ADD "manifestation_id" integer
1369
+  (0.2ms) CREATE INDEX "index_classifications_on_manifestation_id" ON "classifications" ("manifestation_id")
1370
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504143515')
1371
+  (0.7ms) commit transaction
1372
+ Migrating to AddSubjectHeadingTypeIdToSubject (20130504195916)
1373
+  (0.0ms) begin transaction
1374
+  (0.4ms) ALTER TABLE "subjects" ADD "subject_heading_type_id" integer
1375
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504195916')
1376
+  (1.0ms) commit transaction
1840
1377
  Migrating to CreateIdentifierTypes (20130506175303)
1841
1378
   (0.0ms) begin transaction
1842
-  (0.7ms) CREATE TABLE "identifier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1379
+  (0.3ms) CREATE TABLE "identifier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1843
1380
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130506175303')
1844
1381
   (0.8ms) commit transaction
1845
1382
  Migrating to CreateIdentifiers (20130506175834)
1846
1383
   (0.0ms) begin transaction
1847
1384
   (0.5ms) CREATE TABLE "identifiers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar(255) NOT NULL, "identifier_type_id" integer NOT NULL, "manifestation_id" integer, "primary" boolean, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1848
-  (0.2ms) CREATE INDEX "index_identifiers_on_body_and_identifier_type_id" ON "identifiers" ("body", "identifier_type_id")
1385
+  (0.1ms) CREATE INDEX "index_identifiers_on_body_and_identifier_type_id" ON "identifiers" ("body", "identifier_type_id")
1849
1386
   (0.1ms) CREATE INDEX "index_identifiers_on_manifestation_id" ON "identifiers" ("manifestation_id")
1850
1387
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130506175834')
1851
-  (0.6ms) commit transaction
1388
+  (0.8ms) commit transaction
1852
1389
  Migrating to AddStatementOfResponsibilityToManifestation (20130509185724)
1853
1390
   (0.0ms) begin transaction
1854
-  (0.8ms) ALTER TABLE "manifestations" ADD "statement_of_responsibility" text
1391
+  (0.4ms) ALTER TABLE "manifestations" ADD "statement_of_responsibility" text
1855
1392
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130509185724')
1856
1393
   (1.0ms) commit transaction
1857
1394
  Migrating to CreateUserImportFiles (20140110122216)
@@ -1863,277 +1400,129 @@ Migrating to CreateUserImportResults (20140110131010)
1863
1400
   (0.0ms) begin transaction
1864
1401
   (0.3ms) CREATE TABLE "user_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_import_file_id" integer, "user_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1865
1402
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140110131010')
1866
-  (0.7ms) commit transaction
1403
+  (1.2ms) commit transaction
1867
1404
  Migrating to CreateProfiles (20140122054321)
1868
1405
   (0.0ms) begin transaction
1869
-  (0.4ms) CREATE TABLE "profiles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_group_id" integer, "library_id" integer, "locale" varchar(255), "user_number" varchar(255), "full_name" text, "note" text, "keyword_list" text, "required_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1406
+  (0.5ms) CREATE TABLE "profiles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_group_id" integer, "library_id" integer, "locale" varchar(255), "user_number" varchar(255), "full_name" text, "note" text, "keyword_list" text, "required_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1870
1407
   (0.1ms) CREATE INDEX "index_profiles_on_user_id" ON "profiles" ("user_id")
1871
-  (0.4ms) CREATE UNIQUE INDEX "index_profiles_on_user_number" ON "profiles" ("user_number")
1408
+  (0.5ms) CREATE UNIQUE INDEX "index_profiles_on_user_number" ON "profiles" ("user_number")
1872
1409
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140122054321')
1873
-  (0.8ms) commit transaction
1410
+  (1.4ms) commit transaction
1874
1411
  Migrating to CreateResourceImportFileTransitions (20140519170214)
1875
1412
   (0.0ms) begin transaction
1876
1413
   (0.5ms) CREATE TABLE "resource_import_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "resource_import_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1877
-  (0.3ms) CREATE INDEX "index_resource_import_file_transitions_on_file_id" ON "resource_import_file_transitions" ("resource_import_file_id")
1878
-  (0.6ms) CREATE UNIQUE INDEX "index_resource_import_file_transitions_on_sort_key_and_file_id" ON "resource_import_file_transitions" ("sort_key", "resource_import_file_id")
1414
+  (0.1ms) CREATE INDEX "index_resource_import_file_transitions_on_file_id" ON "resource_import_file_transitions" ("resource_import_file_id")
1415
+  (0.3ms) CREATE UNIQUE INDEX "index_resource_import_file_transitions_on_sort_key_and_file_id" ON "resource_import_file_transitions" ("sort_key", "resource_import_file_id")
1879
1416
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140519170214')
1880
-  (0.7ms) commit transaction
1417
+  (1.9ms) commit transaction
1881
1418
  Migrating to CreateImportRequestTransitions (20140519171220)
1882
1419
   (0.0ms) begin transaction
1883
-  (0.3ms) CREATE TABLE "import_request_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "import_request_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1884
-  (0.1ms) CREATE INDEX "index_import_request_transitions_on_import_request_id" ON "import_request_transitions" ("import_request_id")
1420
+  (0.6ms) CREATE TABLE "import_request_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "import_request_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1421
+  (0.2ms) CREATE INDEX "index_import_request_transitions_on_import_request_id" ON "import_request_transitions" ("import_request_id")
1885
1422
   (0.4ms) CREATE UNIQUE INDEX "index_import_request_transitions_on_sort_key_and_request_id" ON "import_request_transitions" ("sort_key", "import_request_id")
1886
1423
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140519171220')
1887
-  (0.8ms) commit transaction
1424
+  (0.9ms) commit transaction
1888
1425
  Migrating to CreateAgentImportFileTransitions (20140524020735)
1889
1426
   (0.0ms) begin transaction
1890
-  (0.3ms) CREATE TABLE "agent_import_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "agent_import_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1891
-  (0.2ms) CREATE INDEX "index_agent_import_file_transitions_on_agent_import_file_id" ON "agent_import_file_transitions" ("agent_import_file_id")
1892
-  (0.3ms) CREATE UNIQUE INDEX "index_agent_import_file_transitions_on_sort_key_and_file_id" ON "agent_import_file_transitions" ("sort_key", "agent_import_file_id")
1893
-  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140524020735')
1894
-  (0.7ms) commit transaction
1427
+  (0.5ms) CREATE TABLE "agent_import_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "agent_import_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1428
+  (0.1ms) CREATE INDEX "index_agent_import_file_transitions_on_agent_import_file_id" ON "agent_import_file_transitions" ("agent_import_file_id")
1429
+  (0.4ms) CREATE UNIQUE INDEX "index_agent_import_file_transitions_on_sort_key_and_file_id" ON "agent_import_file_transitions" ("sort_key", "agent_import_file_id")
1430
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140524020735')
1431
+  (0.8ms) commit transaction
1895
1432
  Migrating to CreateUserImportFileTransitions (20140524074813)
1896
-  (0.0ms) begin transaction
1897
-  (0.3ms) CREATE TABLE "user_import_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "user_import_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1433
+  (0.1ms) begin transaction
1434
+  (0.5ms) CREATE TABLE "user_import_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "user_import_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1898
1435
   (0.2ms) CREATE INDEX "index_user_import_file_transitions_on_user_import_file_id" ON "user_import_file_transitions" ("user_import_file_id")
1899
-  (0.6ms) CREATE UNIQUE INDEX "index_user_import_file_transitions_on_sort_key_and_file_id" ON "user_import_file_transitions" ("sort_key", "user_import_file_id")
1436
+  (0.4ms) CREATE UNIQUE INDEX "index_user_import_file_transitions_on_sort_key_and_file_id" ON "user_import_file_transitions" ("sort_key", "user_import_file_id")
1900
1437
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140524074813')
1901
-  (0.8ms) commit transaction
1438
+  (0.6ms) commit transaction
1902
1439
  Migrating to DropEmailUniqueConstraintEnjuLeafRc10 (20140610123439)
1903
1440
   (0.0ms) begin transaction
1904
-  (0.3ms) DROP INDEX "index_users_on_email"
1905
-  (0.2ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
1441
+  (0.4ms) DROP INDEX "index_users_on_email"
1442
+  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
1906
1443
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140610123439')
1907
1444
   (0.7ms) commit transaction
1908
1445
  Migrating to CreateResourceExportFiles (20140614065404)
1909
1446
   (0.0ms) begin transaction
1910
-  (0.4ms) CREATE TABLE "resource_export_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "resource_export_file_name" varchar(255), "resource_export_content_type" varchar(255), "resource_export_file_size" integer, "resource_export_updated_at" datetime, "executed_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1447
+  (0.6ms) CREATE TABLE "resource_export_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "resource_export_file_name" varchar(255), "resource_export_content_type" varchar(255), "resource_export_file_size" integer, "resource_export_updated_at" datetime, "executed_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1911
1448
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140614065404')
1912
-  (0.7ms) commit transaction
1449
+  (0.8ms) commit transaction
1913
1450
  Migrating to CreateResourceExportFileTransitions (20140614141500)
1914
1451
   (0.0ms) begin transaction
1915
1452
   (0.4ms) CREATE TABLE "resource_export_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "resource_export_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1916
-  (0.1ms) CREATE INDEX "index_resource_export_file_transitions_on_file_id" ON "resource_export_file_transitions" ("resource_export_file_id")
1917
-  (0.3ms) CREATE UNIQUE INDEX "index_resource_export_file_transitions_on_sort_key_and_file_id" ON "resource_export_file_transitions" ("sort_key", "resource_export_file_id")
1453
+  (0.2ms) CREATE INDEX "index_resource_export_file_transitions_on_file_id" ON "resource_export_file_transitions" ("resource_export_file_id")
1454
+  (0.5ms) CREATE UNIQUE INDEX "index_resource_export_file_transitions_on_sort_key_and_file_id" ON "resource_export_file_transitions" ("sort_key", "resource_export_file_id")
1918
1455
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140614141500')
1919
-  (0.7ms) commit transaction
1456
+  (0.6ms) commit transaction
1920
1457
  Migrating to AddUserEncodingToUserImportFile (20140628072217)
1921
1458
   (0.0ms) begin transaction
1922
-  (0.7ms) ALTER TABLE "user_import_files" ADD "user_encoding" varchar(255)
1459
+  (0.6ms) ALTER TABLE "user_import_files" ADD "user_encoding" varchar(255)
1923
1460
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140628072217')
1924
-  (0.8ms) commit transaction
1461
+  (0.5ms) commit transaction
1925
1462
  Migrating to AddUserEncodingToAgentImportFile (20140628073524)
1926
1463
   (0.0ms) begin transaction
1927
-  (0.3ms) ALTER TABLE "agent_import_files" ADD "user_encoding" varchar(255)
1464
+  (0.4ms) ALTER TABLE "agent_import_files" ADD "user_encoding" varchar(255)
1928
1465
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140628073524')
1929
1466
   (0.6ms) commit transaction
1930
1467
  Migrating to AddUserEncodingToResourceImportFile (20140628073535)
1931
1468
   (0.0ms) begin transaction
1932
-  (0.3ms) ALTER TABLE "resource_import_files" ADD "user_encoding" varchar(255)
1469
+  (0.5ms) ALTER TABLE "resource_import_files" ADD "user_encoding" varchar(255)
1933
1470
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140628073535')
1934
-  (0.7ms) commit transaction
1471
+  (0.6ms) commit transaction
1935
1472
  Migrating to CreateUserExportFiles (20140709113413)
1936
1473
   (0.0ms) begin transaction
1937
-  (0.3ms) CREATE TABLE "user_export_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_export_file_name" varchar(255), "user_export_content_type" varchar(255), "user_export_file_size" integer, "user_export_updated_at" datetime, "executed_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1474
+  (0.5ms) CREATE TABLE "user_export_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_export_file_name" varchar(255), "user_export_content_type" varchar(255), "user_export_file_size" integer, "user_export_updated_at" datetime, "executed_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1938
1475
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140709113413')
1939
-  (0.6ms) commit transaction
1476
+  (1.2ms) commit transaction
1940
1477
  Migrating to CreateUserExportFileTransitions (20140709113905)
1941
1478
   (0.0ms) begin transaction
1942
-  (0.6ms) CREATE TABLE "user_export_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "user_export_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1943
-  (0.2ms) CREATE INDEX "index_user_export_file_transitions_on_file_id" ON "user_export_file_transitions" ("user_export_file_id")
1944
-  (0.5ms) CREATE UNIQUE INDEX "index_user_export_file_transitions_on_sort_key_and_file_id" ON "user_export_file_transitions" ("sort_key", "user_export_file_id")
1479
+  (0.5ms) CREATE TABLE "user_export_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "user_export_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1480
+  (0.1ms) CREATE INDEX "index_user_export_file_transitions_on_file_id" ON "user_export_file_transitions" ("user_export_file_id")
1481
+  (0.3ms) CREATE UNIQUE INDEX "index_user_export_file_transitions_on_sort_key_and_file_id" ON "user_export_file_transitions" ("sort_key", "user_export_file_id")
1945
1482
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140709113905')
1946
-  (0.9ms) commit transaction
1483
+  (0.8ms) commit transaction
1947
1484
  Migrating to AddBindingItemIdentifierToItem (20140720140916)
1948
1485
   (0.0ms) begin transaction
1949
1486
   (0.4ms) ALTER TABLE "items" ADD "binding_item_identifier" varchar(255)
1950
1487
   (0.2ms) ALTER TABLE "items" ADD "binding_call_number" varchar(255)
1951
1488
   (0.2ms) ALTER TABLE "items" ADD "binded_at" datetime
1952
-  (0.2ms) CREATE INDEX "index_items_on_binding_item_identifier" ON "items" ("binding_item_identifier")
1489
+  (0.1ms) CREATE INDEX "index_items_on_binding_item_identifier" ON "items" ("binding_item_identifier")
1953
1490
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140720140916')
1954
-  (0.8ms) commit transaction
1491
+  (0.6ms) commit transaction
1955
1492
  Migrating to AddDefaultLibraryIdToUserImportFile (20140720170714)
1956
-  (0.1ms) begin transaction
1493
+  (0.0ms) begin transaction
1957
1494
   (0.4ms) ALTER TABLE "user_import_files" ADD "default_library_id" integer
1958
1495
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140720170714')
1959
-  (0.7ms) commit transaction
1496
+  (0.5ms) commit transaction
1960
1497
  Migrating to AddDefaultUserGroupIdToUserImportFile (20140720170735)
1961
1498
   (0.0ms) begin transaction
1962
-  (0.3ms) ALTER TABLE "user_import_files" ADD "default_user_group_id" integer
1499
+  (0.5ms) ALTER TABLE "user_import_files" ADD "default_user_group_id" integer
1963
1500
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140720170735')
1964
-  (0.8ms) commit transaction
1501
+  (0.5ms) commit transaction
1965
1502
  Migrating to AddDefaultShelfIdToResourceImportFile (20140721151416)
1966
1503
   (0.0ms) begin transaction
1967
-  (0.4ms) ALTER TABLE "resource_import_files" ADD "default_shelf_id" integer
1504
+  (0.3ms) ALTER TABLE "resource_import_files" ADD "default_shelf_id" integer
1968
1505
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140721151416')
1969
1506
   (0.6ms) commit transaction
1970
1507
  Migrating to AddManifestationIdToItem (20140802082007)
1971
1508
   (0.0ms) begin transaction
1972
-  (0.3ms) ALTER TABLE "items" ADD "manifestation_id" integer
1509
+  (0.4ms) ALTER TABLE "items" ADD "manifestation_id" integer
1973
1510
   (0.1ms) CREATE INDEX "index_items_on_manifestation_id" ON "items" ("manifestation_id")
1974
1511
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140802082007')
1975
-  (0.8ms) commit transaction
1512
+  (1.6ms) commit transaction
1976
1513
  Migrating to AddExpiredAtToProfile (20140811031145)
1977
1514
   (0.0ms) begin transaction
1978
-  (0.4ms) ALTER TABLE "profiles" ADD "expired_at" datetime
1515
+  (0.5ms) ALTER TABLE "profiles" ADD "expired_at" datetime
1979
1516
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140811031145')
1980
1517
   (0.7ms) commit transaction
1981
1518
  Migrating to AddPublicationPlaceToManifestation (20140813182425)
1982
1519
   (0.0ms) begin transaction
1983
-  (0.4ms) ALTER TABLE "manifestations" ADD "publication_place" text
1520
+  (0.5ms) ALTER TABLE "manifestations" ADD "publication_place" text
1984
1521
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140813182425')
1985
-  (0.6ms) commit transaction
1986
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1987
- Connecting to database specified by database.yml
1988
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1989
- Migrating to CreateAgents (1)
1990
- Migrating to DeviseCreateUsers (2)
1991
- Migrating to CreateManifestations (5)
1992
- Migrating to CreateItems (6)
1993
- Migrating to CreateOwns (12)
1994
- Migrating to CreateCreates (15)
1995
- Migrating to CreateSubjects (29)
1996
- Migrating to CreateRoles (41)
1997
- Migrating to CreateProduces (47)
1998
- Migrating to CreateLibraries (59)
1999
- Migrating to CreateShelves (69)
2000
- Migrating to CreateCarrierTypes (73)
2001
- Migrating to CreateUserGroups (77)
2002
- Migrating to CreateLibraryGroups (80)
2003
- Migrating to CreateFrequencies (112)
2004
- Migrating to CreateFormOfWorks (117)
2005
- Migrating to CreateBaskets (120)
2006
- Migrating to CreateBookstores (124)
2007
- Migrating to CreateDonates (125)
2008
- Migrating to CreateRequestStatusTypes (130)
2009
- Migrating to CreateRequestTypes (131)
2010
- Migrating to CreateClassifications (142)
2011
- Migrating to CreateClassificationTypes (144)
2012
- Migrating to CreateSubjectHeadingTypes (145)
2013
- Migrating to CreateSubjectTypes (146)
2014
- Migrating to CreateRealizes (20080830154109)
2015
- Migrating to CreateExemplifies (20080830172106)
2016
- Migrating to CreateAgentTypes (20080905191442)
2017
- Migrating to CreateSubscriptions (20081006090811)
2018
- Migrating to CreateSubscribes (20081006093246)
2019
- Migrating to CreateSearchEngines (20081023092436)
2020
- Migrating to CreateCountries (20081025083323)
2021
- Migrating to CreateLanguages (20081025083905)
2022
- Migrating to CreatePictureFiles (20081027150907)
2023
- Migrating to CreateAgentImportFiles (20081028083142)
2024
- Migrating to CreateResourceImportFiles (20081028083208)
2025
- Migrating to AddAttachmentsPictureToPictureFile (20090705133942)
2026
- Migrating to AddAttachmentsAttachmentToManifestation (20090705212043)
2027
- Migrating to CreateExtents (20090719201843)
2028
- Migrating to CreateMediumOfPerformances (20090720091106)
2029
- Migrating to CreateContentTypes (20090720091429)
2030
- Migrating to CreateAgentRelationshipTypes (20090812151902)
2031
- Migrating to AddDcndlSchema (20091012101112)
2032
- Migrating to CreateLicenses (20091025080447)
2033
- Migrating to CreateVersions (20091202124834)
2034
- Migrating to CreateSeriesStatements (20091214131723)
2035
- Migrating to CreateImportRequests (20100129142347)
2036
- Migrating to AddAdminNetworksToLibraryGroup (20100211105551)
2037
- Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
2038
- Migrating to AddOpeningHourToLibrary (20100314190054)
2039
- Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
2040
- Migrating to CreateManifestationRelationships (20100525124311)
2041
- Migrating to CreateUserHasRoles (20100606065209)
2042
- Migrating to CreateAgentRelationships (20100606073747)
2043
- Migrating to CreateManifestationRelationshipTypes (20100607044753)
2044
- Migrating to AddPositionToAgentRelationship (20100814091104)
2045
- Migrating to CreateResourceImportResults (20100925043847)
2046
- Migrating to CreateAgentImportResults (20100925074559)
2047
- Migrating to AddAcquiredAtToItem (20101212070145)
2048
- Migrating to AddUrlToLibraryGroup (20110222073537)
2049
- Migrating to AddPubDateToManifestation (20110301035123)
2050
- Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
2051
- Migrating to AddValidPeriodForNewUserToUserGroup (20110318183304)
2052
- Migrating to AddEditModeToResourceImportFile (20110603184217)
2053
- Migrating to AddEditionStringToManifestation (20110619064807)
2054
- Migrating to AddBookstoreIdToItem (20110620173525)
2055
- Migrating to CreateSeriesStatementMergeLists (20110627034940)
2056
- Migrating to CreateSeriesStatementMerges (20110627035057)
2057
- Migrating to AddLftAndRgtToClassification (20110913120629)
2058
- Migrating to AddVolumeNumberToManifestation (20110916091020)
2059
- Migrating to AddManifestaitonIdToSeriesStatement (20110916103953)
2060
- Migrating to AddNoteToSeriesStatement (20110918162329)
2061
- Migrating to CreateCreateTypes (20111124110059)
2062
- Migrating to CreateRealizeTypes (20111124110319)
2063
- Migrating to CreateProduceTypes (20111124110355)
2064
- Migrating to AddCreateTypeToCreate (20111124112131)
2065
- Migrating to AddIsilToLibrary (20120105074911)
2066
- Migrating to AddTitleSubseriesTranscriptionToSeriesStatement (20120125152919)
2067
- Migrating to CreateBudgetTypes (20120129014038)
2068
- Migrating to AddBudgetTypeIdToItem (20120129020544)
2069
- Migrating to AddContentTypeIdToManifestation (20120319120638)
2070
- Migrating to CreateAccepts (20120319173203)
2071
- Migrating to AddUrlToSubject (20120406020752)
2072
-  (0.0ms) select sqlite_version(*)
2073
-  (0.1ms) begin transaction
2074
-  (0.5ms) ALTER TABLE "subjects" ADD "url" varchar(255)
2075
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120406020752')
2076
-  (1.4ms) commit transaction
2077
- Migrating to AddYearOfPublicationToManifestation (20120410104851)
2078
- Migrating to AddPictureMetaToPictureFile (20120413072700)
2079
- Migrating to AddFingerprintToPictureFile (20120413100352)
2080
- Migrating to AddFingerprintToResourceImportFile (20120413161340)
2081
- Migrating to AddFingerprintToAgentImportFile (20120413161403)
2082
- Migrating to AddErrorMessageToResourceImportFile (20120413170705)
2083
- Migrating to AddErrorMessageToAgentImportFile (20120413170720)
2084
- Migrating to AddAttachmentMetaToManifestation (20120415164821)
2085
- Migrating to AddMonthOfPublicationToManifestation (20120418081407)
2086
- Migrating to AddClosedToShelf (20120510140958)
2087
- Migrating to AddAgentIdentifierToAgent (20120511072422)
2088
- Migrating to AddEditModeToAgentImportFile (20120602141129)
2089
- Migrating to AddFulltextContentToManifestation (20121116031206)
2090
- Migrating to AddDoiToManifestation (20121116033446)
2091
- Migrating to AddAdditionalAttributesToUser (20130221154434)
2092
- Migrating to AddLatitudeAndLongitudeToLibrary (20130412083556)
2093
- Migrating to AddPeriodicalToManifestation (20130421093852)
2094
- Migrating to AddCreatorStringToSeriesStatement (20130421155019)
2095
- Migrating to AddSeriesMasterToSeriesStatement (20130421164124)
2096
- Migrating to AddRootManifestationIdToSeriesStatement (20130429020822)
2097
- Migrating to AddManifestationIdToSubject (20130504133816)
2098
-  (0.1ms) begin transaction
2099
-  (0.4ms) ALTER TABLE "subjects" ADD "manifestation_id" integer
2100
-  (0.2ms) CREATE INDEX "index_subjects_on_manifestation_id" ON "subjects" ("manifestation_id")
2101
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504133816')
2102
-  (0.7ms) commit transaction
2103
- Migrating to AddManifestationIdToClassification (20130504143515)
2104
-  (0.0ms) begin transaction
2105
-  (0.4ms) ALTER TABLE "classifications" ADD "manifestation_id" integer
2106
-  (0.2ms) CREATE INDEX "index_classifications_on_manifestation_id" ON "classifications" ("manifestation_id")
2107
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504143515')
2108
-  (0.6ms) commit transaction
2109
- Migrating to AddSubjectHeadingTypeIdToSubject (20130504195916)
1522
+  (0.7ms) commit transaction
1523
+ Migrating to AddExtentOfTextToManifestation (20140817155043)
2110
1524
   (0.0ms) begin transaction
2111
-  (0.3ms) ALTER TABLE "subjects" ADD "subject_heading_type_id" integer
2112
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504195916')
2113
-  (0.4ms) commit transaction
2114
- Migrating to CreateIdentifierTypes (20130506175303)
2115
- Migrating to CreateIdentifiers (20130506175834)
2116
- Migrating to AddStatementOfResponsibilityToManifestation (20130509185724)
2117
- Migrating to CreateUserImportFiles (20140110122216)
2118
- Migrating to CreateUserImportResults (20140110131010)
2119
- Migrating to CreateProfiles (20140122054321)
2120
- Migrating to CreateResourceImportFileTransitions (20140519170214)
2121
- Migrating to CreateImportRequestTransitions (20140519171220)
2122
- Migrating to CreateAgentImportFileTransitions (20140524020735)
2123
- Migrating to CreateUserImportFileTransitions (20140524074813)
2124
- Migrating to DropEmailUniqueConstraintEnjuLeafRc10 (20140610123439)
2125
- Migrating to CreateResourceExportFiles (20140614065404)
2126
- Migrating to CreateResourceExportFileTransitions (20140614141500)
2127
- Migrating to AddUserEncodingToUserImportFile (20140628072217)
2128
- Migrating to AddUserEncodingToAgentImportFile (20140628073524)
2129
- Migrating to AddUserEncodingToResourceImportFile (20140628073535)
2130
- Migrating to CreateUserExportFiles (20140709113413)
2131
- Migrating to CreateUserExportFileTransitions (20140709113905)
2132
- Migrating to AddBindingItemIdentifierToItem (20140720140916)
2133
- Migrating to AddDefaultLibraryIdToUserImportFile (20140720170714)
2134
- Migrating to AddDefaultUserGroupIdToUserImportFile (20140720170735)
2135
- Migrating to AddDefaultShelfIdToResourceImportFile (20140721151416)
2136
- Migrating to AddManifestationIdToItem (20140802082007)
2137
- Migrating to AddExpiredAtToProfile (20140811031145)
2138
- Migrating to AddPublicationPlaceToManifestation (20140813182425)
1525
+  (0.8ms) ALTER TABLE "manifestations" ADD "extent_of_text" text
1526
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140817155043')
1527
+  (0.7ms) commit transaction
2139
1528
   (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"