enju_loc 0.1.0.pre1 → 0.1.0.pre2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/loc_search.rb +3 -0
- data/app/views/loc_search/index.html.erb +5 -0
- data/lib/enju_loc/loc_search.rb +124 -134
- data/lib/enju_loc/version.rb +1 -1
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_e-resource_packaged_.yml +71 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_notated_music.yml +106 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20140817155043_add_extent_of_text_to_manifestation.rb +5 -0
- data/spec/dummy/db/schema.rb +2 -3
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +844 -1455
- data/spec/dummy/log/test.log +52932 -19630
- data/spec/fixtures/carrier_types.yml +19 -31
- data/spec/fixtures/content_types.yml +72 -6
- data/spec/models/loc_search_spec.rb +21 -8
- metadata +26 -8
- data/spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb +0 -6
@@ -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
|
data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_notated_music.yml
ADDED
@@ -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 Schü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 -- Pré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
|
+
François Couperin, J.-P. Rameau -- 21e. ordre. La reine des coeurs
|
63
|
+
; La Couperin / Franç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
|
Binary file
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -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 =>
|
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
|
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1,90 +1,85 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
2
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
-
[1m[35m (1.
|
4
|
-
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
5
|
-
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
6
|
-
Connecting to database specified by database.yml
|
7
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
8
|
-
[1m[35m (1.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
9
4
|
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
10
5
|
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
11
6
|
Migrating to CreateAgents (1)
|
12
7
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13
|
-
[1m[35m (0.
|
8
|
+
[1m[35m (0.6ms)[0m 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
|
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_agents_on_user_id" ON "agents" ("user_id")[0m
|
15
10
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_agents_on_language_id" ON "agents" ("language_id")
|
16
11
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_agents_on_country_id" ON "agents" ("country_id")[0m
|
17
12
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_agents_on_required_role_id" ON "agents" ("required_role_id")
|
18
13
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_agents_on_full_name" ON "agents" ("full_name")[0m
|
19
14
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('1')
|
20
|
-
[1m[36m (0.
|
15
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
21
16
|
Migrating to CreateManifestations (5)
|
22
17
|
[1m[35m (0.0ms)[0m begin transaction
|
23
18
|
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
24
|
-
[1m[35m (0.
|
19
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
|
25
20
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")[0m
|
26
21
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
|
27
|
-
[1m[36m (0.
|
22
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")[0m
|
28
23
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
|
29
24
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")[0m
|
30
25
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('5')
|
31
26
|
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
32
27
|
Migrating to CreateItems (6)
|
33
28
|
[1m[35m (0.0ms)[0m begin transaction
|
34
|
-
[1m[36m (0.
|
35
|
-
[1m[35m (0.
|
36
|
-
[1m[36m (0.
|
29
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
30
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_items_on_shelf_id" ON "items" ("shelf_id")
|
31
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_items_on_item_identifier" ON "items" ("item_identifier")[0m
|
37
32
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_items_on_required_role_id" ON "items" ("required_role_id")
|
38
33
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('6')[0m
|
39
34
|
[1m[35m (0.7ms)[0m commit transaction
|
40
35
|
Migrating to CreateOwns (12)
|
41
36
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42
|
-
[1m[35m (0.
|
37
|
+
[1m[35m (0.4ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_owns_on_agent_id" ON "owns" ("agent_id")[0m
|
44
39
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_owns_on_item_id" ON "owns" ("item_id")
|
45
40
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('12')[0m
|
46
|
-
[1m[35m (
|
41
|
+
[1m[35m (0.7ms)[0m commit transaction
|
47
42
|
Migrating to CreateCreates (15)
|
48
43
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
49
44
|
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_creates_on_agent_id" ON "creates" ("agent_id")[0m
|
51
46
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_creates_on_work_id" ON "creates" ("work_id")
|
52
47
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('15')[0m
|
53
|
-
[1m[35m (0.
|
48
|
+
[1m[35m (0.6ms)[0m commit transaction
|
54
49
|
Migrating to CreateSubjects (29)
|
55
50
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
56
|
-
[1m[35m (0.
|
51
|
+
[1m[35m (0.5ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_subjects_on_term" ON "subjects" ("term")[0m
|
58
|
-
[1m[35m (0.
|
53
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")
|
59
54
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")[0m
|
60
|
-
[1m[35m (0.
|
55
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")
|
61
56
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")[0m
|
62
|
-
[1m[35m (0.
|
57
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('29')
|
63
58
|
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
64
59
|
Migrating to CreateProduces (47)
|
65
60
|
[1m[35m (0.0ms)[0m begin transaction
|
66
|
-
[1m[36m (0.
|
61
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
67
62
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_produces_on_agent_id" ON "produces" ("agent_id")
|
68
63
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_produces_on_manifestation_id" ON "produces" ("manifestation_id")[0m
|
69
64
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('47')
|
70
65
|
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
71
66
|
Migrating to CreateCarrierTypes (73)
|
72
67
|
[1m[35m (0.0ms)[0m begin transaction
|
73
|
-
[1m[36m (
|
68
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
74
69
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('73')
|
75
|
-
[1m[36m (
|
70
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
76
71
|
Migrating to CreateFrequencies (112)
|
77
72
|
[1m[35m (0.0ms)[0m begin transaction
|
78
|
-
[1m[36m (
|
79
|
-
[1m[35m (
|
80
|
-
[1m[36m (
|
73
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
74
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('112')
|
75
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
81
76
|
Migrating to CreateFormOfWorks (117)
|
82
77
|
[1m[35m (0.0ms)[0m begin transaction
|
83
|
-
[1m[36m (0.
|
78
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
84
79
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('117')
|
85
80
|
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
86
81
|
Migrating to CreateDonates (125)
|
87
|
-
[1m[35m (0.
|
82
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88
83
|
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
89
84
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_donates_on_agent_id" ON "donates" ("agent_id")
|
90
85
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_donates_on_item_id" ON "donates" ("item_id")[0m
|
@@ -92,289 +87,289 @@ Migrating to CreateDonates (125)
|
|
92
87
|
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
93
88
|
Migrating to CreateClassifications (142)
|
94
89
|
[1m[35m (0.0ms)[0m begin transaction
|
95
|
-
[1m[36m (0.
|
96
|
-
[1m[35m (0.
|
97
|
-
[1m[36m (0.
|
90
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
91
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
|
92
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_classifications_on_category" ON "classifications" ("category")[0m
|
98
93
|
[1m[35m (0.2ms)[0m CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
|
99
|
-
[1m[36m (
|
100
|
-
[1m[35m (0.
|
94
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('142')[0m
|
95
|
+
[1m[35m (0.7ms)[0m commit transaction
|
101
96
|
Migrating to CreateSubjectHasClassifications (143)
|
102
97
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
103
|
-
[1m[35m (0.
|
104
|
-
[1m[36m (0.
|
105
|
-
[1m[35m (0.
|
98
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_subject_has_classifications_on_subject_id" ON "subject_has_classifications" ("subject_id")[0m
|
100
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")
|
106
101
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('143')[0m
|
107
|
-
[1m[35m (0.
|
102
|
+
[1m[35m (0.7ms)[0m commit transaction
|
108
103
|
Migrating to CreateClassificationTypes (144)
|
109
|
-
[1m[36m (0.
|
110
|
-
[1m[35m (0.
|
104
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
105
|
+
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('144')[0m
|
112
|
-
[1m[35m (
|
107
|
+
[1m[35m (0.5ms)[0m commit transaction
|
113
108
|
Migrating to CreateSubjectHeadingTypes (145)
|
114
|
-
[1m[36m (0.
|
115
|
-
[1m[35m (0.
|
109
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
110
|
+
[1m[35m (0.4ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('145')[0m
|
117
112
|
[1m[35m (0.6ms)[0m commit transaction
|
118
113
|
Migrating to CreateSubjectTypes (146)
|
119
|
-
[1m[36m (0.
|
120
|
-
[1m[35m (0.
|
114
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
115
|
+
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('146')[0m
|
122
117
|
[1m[35m (0.7ms)[0m commit transaction
|
123
118
|
Migrating to CreateWorkHasSubjects (20080606052544)
|
124
|
-
[1m[36m (0.
|
125
|
-
[1m[35m (0.
|
119
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
120
|
+
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_work_has_subjects_on_subject_id" ON "work_has_subjects" ("subject_id")[0m
|
127
122
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_work_has_subjects_on_work_id" ON "work_has_subjects" ("work_id")
|
128
123
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20080606052544')[0m
|
129
|
-
[1m[35m (
|
124
|
+
[1m[35m (0.6ms)[0m commit transaction
|
130
125
|
Migrating to CreateRealizes (20080830154109)
|
131
126
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
132
|
-
[1m[35m (0.
|
127
|
+
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_realizes_on_agent_id" ON "realizes" ("agent_id")[0m
|
134
129
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_realizes_on_expression_id" ON "realizes" ("expression_id")
|
135
130
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20080830154109')[0m
|
136
|
-
[1m[35m (
|
131
|
+
[1m[35m (0.6ms)[0m commit transaction
|
137
132
|
Migrating to CreateExemplifies (20080830172106)
|
138
133
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
139
134
|
[1m[35m (0.3ms)[0m 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
|
-
[1m[36m (0.
|
141
|
-
[1m[35m (0.
|
142
|
-
[1m[36m (0.
|
143
|
-
[1m[35m (0.
|
135
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_exemplifies_on_manifestation_id" ON "exemplifies" ("manifestation_id")[0m
|
136
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "index_exemplifies_on_item_id" ON "exemplifies" ("item_id")
|
137
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20080830172106')[0m
|
138
|
+
[1m[35m (0.6ms)[0m commit transaction
|
144
139
|
Migrating to CreateAgentTypes (20080905191442)
|
145
140
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
146
|
-
[1m[35m (0.
|
141
|
+
[1m[35m (0.4ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')[0m
|
148
|
-
[1m[35m (0.
|
143
|
+
[1m[35m (0.6ms)[0m commit transaction
|
149
144
|
Migrating to CreateCountries (20081025083323)
|
150
|
-
[1m[36m (0.
|
151
|
-
[1m[35m (0.
|
145
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
146
|
+
[1m[35m (0.5ms)[0m 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
|
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_countries_on_name" ON "countries" ("name")[0m
|
153
|
-
[1m[35m (0.
|
148
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_countries_on_alpha_2" ON "countries" ("alpha_2")
|
154
149
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_countries_on_alpha_3" ON "countries" ("alpha_3")[0m
|
155
150
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_countries_on_numeric_3" ON "countries" ("numeric_3")
|
156
151
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20081025083323')[0m
|
157
|
-
[1m[35m (0.
|
152
|
+
[1m[35m (0.7ms)[0m commit transaction
|
158
153
|
Migrating to CreateLanguages (20081025083905)
|
159
154
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
160
|
-
[1m[35m (0.
|
161
|
-
[1m[36m (0.
|
155
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_languages_on_name" ON "languages" ("name")[0m
|
162
157
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_languages_on_iso_639_1" ON "languages" ("iso_639_1")
|
163
158
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_languages_on_iso_639_2" ON "languages" ("iso_639_2")[0m
|
164
|
-
[1m[35m (0.
|
159
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_languages_on_iso_639_3" ON "languages" ("iso_639_3")
|
165
160
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20081025083905')[0m
|
166
|
-
[1m[35m (0.
|
161
|
+
[1m[35m (0.7ms)[0m commit transaction
|
167
162
|
Migrating to CreatePictureFiles (20081027150907)
|
168
|
-
[1m[36m (0.
|
169
|
-
[1m[35m (0.
|
163
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
164
|
+
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_picture_files_on_picture_attachable_id_and_type" ON "picture_files" ("picture_attachable_id", "picture_attachable_type")[0m
|
171
166
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20081027150907')
|
172
|
-
[1m[36m (
|
167
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
173
168
|
Migrating to CreateAgentImportFiles (20081028083142)
|
174
|
-
[1m[35m (0.
|
175
|
-
[1m[36m (0.
|
176
|
-
[1m[35m (0.
|
169
|
+
[1m[35m (0.0ms)[0m begin transaction
|
170
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
171
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_agent_import_files_on_parent_id" ON "agent_import_files" ("parent_id")
|
177
172
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_agent_import_files_on_user_id" ON "agent_import_files" ("user_id")[0m
|
178
173
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_agent_import_files_on_state" ON "agent_import_files" ("state")
|
179
174
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20081028083142')[0m
|
180
175
|
[1m[35m (0.7ms)[0m commit transaction
|
181
176
|
Migrating to CreateResourceImportFiles (20081028083208)
|
182
177
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
183
|
-
[1m[35m (0.
|
178
|
+
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")[0m
|
185
180
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")
|
186
|
-
[1m[36m (0.
|
181
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_resource_import_files_on_state" ON "resource_import_files" ("state")[0m
|
187
182
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20081028083208')
|
188
|
-
[1m[36m (0.
|
183
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
189
184
|
Migrating to CreateSubjectHeadingTypeHasSubjects (20090208044541)
|
190
|
-
[1m[35m (0.
|
191
|
-
[1m[36m (0.
|
192
|
-
[1m[35m (0.
|
185
|
+
[1m[35m (0.0ms)[0m begin transaction
|
186
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
187
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_subject_heading_type_has_subjects_on_subject_id" ON "subject_heading_type_has_subjects" ("subject_id")
|
193
188
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20090208044541')[0m
|
194
|
-
[1m[35m (
|
189
|
+
[1m[35m (0.7ms)[0m commit transaction
|
195
190
|
Migrating to AddAttachmentsPictureToPictureFile (20090705133942)
|
196
191
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
197
|
-
[1m[35m (
|
198
|
-
[1m[36m (
|
199
|
-
[1m[35m (0.
|
192
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "picture_files" ADD "picture_file_name" varchar(255)
|
193
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "picture_files" ADD "picture_content_type" varchar(255)[0m
|
194
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "picture_files" ADD "picture_file_size" integer
|
200
195
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "picture_files" ADD "picture_updated_at" datetime[0m
|
201
196
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20090705133942')
|
202
|
-
[1m[36m (
|
197
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
203
198
|
Migrating to AddAttachmentsAttachmentToManifestation (20090705212043)
|
204
|
-
[1m[35m (0.
|
205
|
-
[1m[36m (0.
|
206
|
-
[1m[35m (0.
|
207
|
-
[1m[36m (0.
|
208
|
-
[1m[35m (0.
|
199
|
+
[1m[35m (0.0ms)[0m begin transaction
|
200
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "manifestations" ADD "attachment_file_name" varchar(255)[0m
|
201
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "manifestations" ADD "attachment_content_type" varchar(255)
|
202
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "manifestations" ADD "attachment_file_size" integer[0m
|
203
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "manifestations" ADD "attachment_updated_at" datetime
|
209
204
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20090705212043')[0m
|
210
|
-
[1m[35m (0.
|
205
|
+
[1m[35m (0.5ms)[0m commit transaction
|
211
206
|
Migrating to CreateExtents (20090719201843)
|
212
|
-
[1m[36m (0.
|
213
|
-
[1m[35m (
|
214
|
-
[1m[36m (0.
|
215
|
-
[1m[35m (
|
207
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
208
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20090719201843')[0m
|
210
|
+
[1m[35m (0.7ms)[0m commit transaction
|
216
211
|
Migrating to CreateMediumOfPerformances (20090720091106)
|
217
|
-
[1m[36m (0.
|
212
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
218
213
|
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20090720091106')[0m
|
220
|
-
[1m[35m (0.
|
215
|
+
[1m[35m (0.6ms)[0m commit transaction
|
221
216
|
Migrating to CreateContentTypes (20090720091429)
|
222
217
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
223
|
-
[1m[35m (0.
|
218
|
+
[1m[35m (0.4ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20090720091429')[0m
|
225
|
-
[1m[35m (
|
220
|
+
[1m[35m (0.6ms)[0m commit transaction
|
226
221
|
Migrating to CreateAgentRelationshipTypes (20090812151902)
|
227
222
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
228
|
-
[1m[35m (0.
|
223
|
+
[1m[35m (0.5ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20090812151902')[0m
|
230
|
-
[1m[35m (0.
|
225
|
+
[1m[35m (0.6ms)[0m commit transaction
|
231
226
|
Migrating to AddDcndlSchema (20091012101112)
|
232
227
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
233
|
-
[1m[35m (0.
|
234
|
-
[1m[36m (0.
|
235
|
-
[1m[35m (0.
|
236
|
-
[1m[36m (0.
|
237
|
-
[1m[35m (0.
|
238
|
-
[1m[36m (0.
|
239
|
-
[1m[35m (0.
|
240
|
-
[1m[36m (0.
|
241
|
-
[1m[35m (0.
|
242
|
-
[1m[36m (0.
|
243
|
-
[1m[35m (0.
|
228
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "manifestations" ADD "title_alternative_transcription" text
|
229
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "agents" ADD "full_name_alternative_transcription" text[0m
|
230
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "manifestations" ADD "description" text
|
231
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "manifestations" ADD "abstract" text[0m
|
232
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "manifestations" ADD "available_at" datetime
|
233
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "manifestations" ADD "valid_until" datetime[0m
|
234
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "manifestations" ADD "date_submitted" datetime
|
235
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "manifestations" ADD "date_accepted" datetime[0m
|
236
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "manifestations" ADD "date_caputured" datetime
|
237
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
238
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
|
244
239
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")[0m
|
245
240
|
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
|
246
241
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")[0m
|
247
|
-
[1m[35m (0.
|
248
|
-
[1m[36m (0.
|
249
|
-
[1m[35m (0.
|
250
|
-
[1m[36m (
|
251
|
-
[1m[35m (0.
|
252
|
-
[1m[36m (0.
|
253
|
-
[1m[35m (0.
|
254
|
-
[1m[36m (0.
|
255
|
-
[1m[35m (0.
|
256
|
-
[1m[36m (0.
|
257
|
-
[1m[35m (0.
|
242
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
|
243
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")[0m
|
244
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "manifestations"
|
245
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "manifestations"[0m
|
246
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")[0m
|
248
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
|
249
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")[0m
|
250
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
|
251
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")[0m
|
252
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
|
258
253
|
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_manifestations"[0m
|
259
|
-
[1m[35m (0.
|
254
|
+
[1m[35m (0.5ms)[0m DROP TABLE "altered_manifestations"
|
260
255
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20091012101112')[0m
|
261
|
-
[1m[35m (
|
256
|
+
[1m[35m (1.5ms)[0m commit transaction
|
262
257
|
Migrating to CreateLicenses (20091025080447)
|
263
|
-
[1m[36m (0.
|
264
|
-
[1m[35m (0.
|
258
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
259
|
+
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20091025080447')[0m
|
266
261
|
[1m[35m (0.6ms)[0m commit transaction
|
267
262
|
Migrating to CreateVersions (20091202124834)
|
268
263
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
269
|
-
[1m[35m (0.
|
264
|
+
[1m[35m (0.4ms)[0m 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
|
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")[0m
|
271
266
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20091202124834')
|
272
|
-
[1m[36m (0.
|
267
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
273
268
|
Migrating to CreateSeriesStatements (20091214131723)
|
274
269
|
[1m[35m (0.0ms)[0m begin transaction
|
275
|
-
[1m[36m (
|
270
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
276
271
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20091214131723')
|
277
|
-
[1m[36m (
|
272
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
278
273
|
Migrating to CreateImportRequests (20100129142347)
|
279
274
|
[1m[35m (0.0ms)[0m begin transaction
|
280
|
-
[1m[36m (0.
|
281
|
-
[1m[35m (0.
|
275
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
276
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_import_requests_on_isbn" ON "import_requests" ("isbn")
|
282
277
|
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_import_requests_on_manifestation_id" ON "import_requests" ("manifestation_id")[0m
|
283
278
|
[1m[35m (0.2ms)[0m CREATE INDEX "index_import_requests_on_user_id" ON "import_requests" ("user_id")
|
284
279
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100129142347')[0m
|
285
|
-
[1m[35m (
|
280
|
+
[1m[35m (0.7ms)[0m commit transaction
|
286
281
|
Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
|
287
|
-
[1m[36m (0.
|
288
|
-
[1m[35m (0.
|
282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
283
|
+
[1m[35m (0.2ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mSELECT * FROM "series_statements"[0m
|
290
|
-
[1m[35m (0.
|
291
|
-
[1m[36m (0.
|
292
|
-
[1m[35m (0.
|
285
|
+
[1m[35m (0.2ms)[0m DROP TABLE "series_statements"
|
286
|
+
[1m[36m (0.1ms)[0m [1mCREATE 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) [0m
|
287
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_series_statements"
|
293
288
|
[1m[36m (0.1ms)[0m [1mDROP TABLE "altered_series_statements"[0m
|
294
|
-
[1m[35m (0.
|
295
|
-
[1m[36m (0.
|
296
|
-
[1m[35m (0.
|
297
|
-
[1m[36m (
|
289
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "series_statements" ADD "title_transcription" text
|
290
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "series_statements" ADD "title_alternative" text[0m
|
291
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100223121519')
|
292
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
298
293
|
Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
|
299
|
-
[1m[35m (0.
|
300
|
-
[1m[36m (0.
|
301
|
-
[1m[35m (0.
|
294
|
+
[1m[35m (0.0ms)[0m begin transaction
|
295
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "series_statements" ADD "series_statement_identifier" varchar(255)[0m
|
296
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_series_statements_on_series_statement_identifier" ON "series_statements" ("series_statement_identifier")
|
302
297
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100321235924')[0m
|
303
|
-
[1m[35m (2.
|
298
|
+
[1m[35m (2.7ms)[0m commit transaction
|
304
299
|
Migrating to CreateManifestationRelationships (20100525124311)
|
305
300
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
306
|
-
[1m[35m (
|
307
|
-
[1m[36m (0.
|
308
|
-
[1m[35m (0.
|
301
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestation_relationships_on_parent_id" ON "manifestation_relationships" ("parent_id")[0m
|
303
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestation_relationships_on_child_id" ON "manifestation_relationships" ("child_id")
|
309
304
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100525124311')[0m
|
310
305
|
[1m[35m (0.7ms)[0m commit transaction
|
311
306
|
Migrating to CreateAgentRelationships (20100606073747)
|
312
|
-
[1m[36m (0.
|
313
|
-
[1m[35m (0.
|
307
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
308
|
+
[1m[35m (0.4ms)[0m 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
|
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_agent_relationships_on_parent_id" ON "agent_relationships" ("parent_id")[0m
|
315
|
-
[1m[35m (0.
|
310
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_agent_relationships_on_child_id" ON "agent_relationships" ("child_id")
|
316
311
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100606073747')[0m
|
317
|
-
[1m[35m (
|
312
|
+
[1m[35m (0.6ms)[0m commit transaction
|
318
313
|
Migrating to CreateManifestationRelationshipTypes (20100607044753)
|
319
|
-
[1m[36m (0.
|
320
|
-
[1m[35m (0.
|
314
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
315
|
+
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100607044753')[0m
|
322
|
-
[1m[35m (0.
|
317
|
+
[1m[35m (0.6ms)[0m commit transaction
|
323
318
|
Migrating to AddPositionToAgentRelationship (20100814091104)
|
324
319
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
325
|
-
[1m[35m (0.
|
326
|
-
[1m[36m (0.
|
320
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "manifestation_relationships" ADD "position" integer
|
321
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "agent_relationships" ADD "position" integer[0m
|
327
322
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100814091104')
|
328
|
-
[1m[36m (0.
|
323
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
329
324
|
Migrating to CreateResourceImportResults (20100925043847)
|
330
325
|
[1m[35m (0.0ms)[0m begin transaction
|
331
|
-
[1m[36m (0.
|
332
|
-
[1m[35m (0.
|
333
|
-
[1m[36m (0.
|
334
|
-
[1m[35m (0.
|
335
|
-
[1m[36m (0.
|
336
|
-
[1m[35m (
|
326
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
327
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_resource_import_results_on_resource_import_file_id" ON "resource_import_results" ("resource_import_file_id")
|
328
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_resource_import_results_on_manifestation_id" ON "resource_import_results" ("manifestation_id")[0m
|
329
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_resource_import_results_on_item_id" ON "resource_import_results" ("item_id")
|
330
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100925043847')[0m
|
331
|
+
[1m[35m (0.7ms)[0m commit transaction
|
337
332
|
Migrating to CreateAgentImportResults (20100925074559)
|
338
|
-
[1m[36m (0.
|
339
|
-
[1m[35m (
|
340
|
-
[1m[36m (0.
|
341
|
-
[1m[35m (
|
333
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
334
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100925074559')[0m
|
336
|
+
[1m[35m (0.6ms)[0m commit transaction
|
342
337
|
Migrating to AddAcquiredAtToItem (20101212070145)
|
343
|
-
[1m[36m (0.
|
344
|
-
[1m[35m (0.
|
345
|
-
[1m[36m (0.
|
346
|
-
[1m[35m (0.
|
338
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "items" ADD "acquired_at" datetime
|
340
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20101212070145')[0m
|
341
|
+
[1m[35m (0.6ms)[0m commit transaction
|
347
342
|
Migrating to AddPubDateToManifestation (20110301035123)
|
348
343
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
349
|
-
[1m[35m (
|
344
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "manifestations" ADD "pub_date" varchar(255)
|
350
345
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110301035123')[0m
|
351
|
-
[1m[35m (0.
|
346
|
+
[1m[35m (0.5ms)[0m commit transaction
|
352
347
|
Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
|
353
|
-
[1m[36m (0.
|
354
|
-
[1m[35m (0.
|
355
|
-
[1m[36m (0.
|
348
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
349
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "agents" ADD "birth_date" varchar(255)
|
350
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "agents" ADD "death_date" varchar(255)[0m
|
356
351
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110301121550')
|
357
|
-
[1m[36m (0.
|
352
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
358
353
|
Migrating to AddIssnToSeriesStatement (20110425133109)
|
359
|
-
[1m[35m (0.
|
360
|
-
[1m[36m (0.
|
354
|
+
[1m[35m (0.0ms)[0m begin transaction
|
355
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "series_statements" ADD "issn" varchar(255)[0m
|
361
356
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110425133109')
|
362
|
-
[1m[36m (0.
|
357
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
363
358
|
Migrating to AddEditModeToResourceImportFile (20110603184217)
|
364
359
|
[1m[35m (0.0ms)[0m begin transaction
|
365
|
-
[1m[36m (0.
|
360
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "resource_import_files" ADD "edit_mode" varchar(255)[0m
|
366
361
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110603184217')
|
367
|
-
[1m[36m (
|
362
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
368
363
|
Migrating to AddPeriodicalToSeriesStatement (20110618091240)
|
369
|
-
[1m[35m (
|
370
|
-
[1m[36m (0.
|
364
|
+
[1m[35m (0.0ms)[0m begin transaction
|
365
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "series_statements" ADD "periodical" boolean[0m
|
371
366
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110618091240')
|
372
|
-
[1m[36m (0.
|
367
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
373
368
|
Migrating to AddEditionStringToManifestation (20110619064807)
|
374
|
-
[1m[35m (0.
|
375
|
-
[1m[36m (0.
|
369
|
+
[1m[35m (0.0ms)[0m begin transaction
|
370
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "manifestations" ADD "edition_string" varchar(255)[0m
|
376
371
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110619064807')
|
377
|
-
[1m[36m (0.
|
372
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
378
373
|
Migrating to AddBookstoreIdToItem (20110620173525)
|
379
374
|
[1m[35m (0.0ms)[0m begin transaction
|
380
375
|
[1m[36m (0.5ms)[0m [1mALTER TABLE "items" ADD "bookstore_id" integer[0m
|
@@ -385,330 +380,341 @@ Migrating to CreateSeriesStatementMergeLists (20110627034940)
|
|
385
380
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
386
381
|
[1m[35m (0.4ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110627034940')[0m
|
388
|
-
[1m[35m (
|
383
|
+
[1m[35m (1.2ms)[0m commit transaction
|
389
384
|
Migrating to CreateSeriesStatementMerges (20110627035057)
|
390
|
-
[1m[36m (0.
|
391
|
-
[1m[35m (
|
392
|
-
[1m[36m (0.
|
393
|
-
[1m[35m (0.
|
385
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
386
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_series_statement_merges_on_series_statement_id" ON "series_statement_merges" ("series_statement_id")[0m
|
388
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_series_statement_merges_on_series_statement_merge_list_id" ON "series_statement_merges" ("series_statement_merge_list_id")
|
394
389
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110627035057')[0m
|
395
|
-
[1m[35m (1.
|
390
|
+
[1m[35m (1.4ms)[0m commit transaction
|
396
391
|
Migrating to CreateSeriesHasManifestations (20110820131417)
|
397
|
-
[1m[36m (0.
|
398
|
-
[1m[35m (0.
|
399
|
-
[1m[36m (0.
|
392
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
393
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_series_has_manifestations_on_series_statement_id" ON "series_has_manifestations" ("series_statement_id")[0m
|
400
395
|
[1m[35m (0.2ms)[0m CREATE INDEX "index_series_has_manifestations_on_manifestation_id" ON "series_has_manifestations" ("manifestation_id")
|
401
|
-
[1m[36m (0.
|
402
|
-
[1m[35m (
|
396
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110820131417')[0m
|
397
|
+
[1m[35m (0.6ms)[0m commit transaction
|
403
398
|
Migrating to AddLftAndRgtToClassification (20110913120629)
|
404
|
-
[1m[36m (0.
|
405
|
-
[1m[35m (0.
|
406
|
-
[1m[36m (
|
407
|
-
[1m[35m (0.
|
408
|
-
[1m[36m (
|
399
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
400
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "classifications" ADD "lft" integer
|
401
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "classifications" ADD "rgt" integer[0m
|
402
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
|
403
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
409
404
|
Migrating to RenameManifestationNumberListToNumberString (20110916053430)
|
410
|
-
[1m[35m (0.
|
411
|
-
[1m[36m (0.
|
405
|
+
[1m[35m (0.0ms)[0m begin transaction
|
406
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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)) [0m
|
412
407
|
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
|
413
408
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")[0m
|
414
|
-
[1m[35m (0.
|
415
|
-
[1m[36m (0.
|
416
|
-
[1m[35m (0.
|
417
|
-
[1m[36m (0.
|
418
|
-
[1m[35m (0.
|
419
|
-
[1m[36m (0.
|
420
|
-
[1m[35m (0.
|
421
|
-
[1m[36m (
|
422
|
-
[1m[35m (0.
|
423
|
-
[1m[36m (0.
|
424
|
-
[1m[35m (0.
|
425
|
-
[1m[36m (0.
|
426
|
-
[1m[35m (0.
|
427
|
-
[1m[36m (0.
|
428
|
-
[1m[35m (0.
|
429
|
-
[1m[36m (0.
|
409
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
|
410
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")[0m
|
411
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
|
412
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")[0m
|
413
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "manifestations"
|
414
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "manifestations"[0m
|
415
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")[0m
|
417
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
|
418
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")[0m
|
419
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
|
420
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")[0m
|
421
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
|
422
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_manifestations"[0m
|
423
|
+
[1m[35m (0.1ms)[0m DROP TABLE "altered_manifestations"
|
424
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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)) [0m
|
430
425
|
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
|
431
426
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")[0m
|
432
|
-
[1m[35m (0.
|
433
|
-
[1m[36m (0.
|
434
|
-
[1m[35m (0.
|
435
|
-
[1m[36m (0.
|
436
|
-
[1m[35m (0.
|
437
|
-
[1m[36m (0.
|
427
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
|
428
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")[0m
|
429
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
|
430
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")[0m
|
431
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "manifestations"
|
432
|
+
[1m[36m (0.6ms)[0m [1mDROP TABLE "manifestations"[0m
|
438
433
|
[1m[35m (0.4ms)[0m 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
|
-
[1m[36m (0.
|
434
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")[0m
|
440
435
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
|
441
|
-
[1m[36m (0.
|
442
|
-
[1m[35m (0.
|
443
|
-
[1m[36m (
|
444
|
-
[1m[35m (0.
|
445
|
-
[1m[36m (0.
|
446
|
-
[1m[35m (0.
|
447
|
-
[1m[36m (0.
|
448
|
-
[1m[35m (0.
|
436
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")[0m
|
437
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
|
438
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")[0m
|
439
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
|
440
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_manifestations"[0m
|
441
|
+
[1m[35m (0.2ms)[0m DROP TABLE "altered_manifestations"
|
442
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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)) [0m
|
443
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
|
449
444
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")[0m
|
450
|
-
[1m[35m (0.
|
445
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
|
451
446
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")[0m
|
452
447
|
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
|
453
|
-
[1m[36m (0.
|
448
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")[0m
|
454
449
|
[1m[35m (0.2ms)[0m SELECT * FROM "manifestations"
|
455
|
-
[1m[36m (0.
|
456
|
-
[1m[35m (0.
|
457
|
-
[1m[36m (0.
|
450
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "manifestations"[0m
|
451
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")[0m
|
458
453
|
[1m[35m (0.2ms)[0m CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
|
459
454
|
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")[0m
|
460
455
|
[1m[35m (0.2ms)[0m CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
|
461
|
-
[1m[36m (0.
|
462
|
-
[1m[35m (0.
|
463
|
-
[1m[36m (
|
464
|
-
[1m[35m (0.
|
456
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")[0m
|
457
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
|
458
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_manifestations"[0m
|
459
|
+
[1m[35m (0.2ms)[0m DROP TABLE "altered_manifestations"
|
465
460
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110916053430')[0m
|
466
|
-
[1m[35m (
|
461
|
+
[1m[35m (1.7ms)[0m commit transaction
|
467
462
|
Migrating to AddVolumeNumberToManifestation (20110916091020)
|
468
|
-
[1m[36m (0.
|
469
|
-
[1m[35m (0.
|
470
|
-
[1m[36m (0.
|
471
|
-
[1m[35m (
|
472
|
-
[1m[36m (0.
|
473
|
-
[1m[35m (
|
463
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
464
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "manifestations" ADD "volume_number" integer
|
465
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "manifestations" ADD "issue_number" integer[0m
|
466
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "manifestations" ADD "serial_number" integer
|
467
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110916091020')[0m
|
468
|
+
[1m[35m (1.2ms)[0m commit transaction
|
474
469
|
Migrating to AddManifestaitonIdToSeriesStatement (20110916103953)
|
475
|
-
[1m[36m (0.
|
476
|
-
[1m[35m (0.
|
477
|
-
[1m[36m (0.
|
470
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
471
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "series_statements" ADD "manifestation_id" integer
|
472
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_series_statements_on_manifestation_id" ON "series_statements" ("manifestation_id")[0m
|
478
473
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110916103953')
|
479
|
-
[1m[36m (
|
474
|
+
[1m[36m (7.9ms)[0m [1mcommit transaction[0m
|
480
475
|
Migrating to AddNoteToSeriesStatement (20110918162329)
|
481
|
-
[1m[35m (0.
|
482
|
-
[1m[36m (0.
|
483
|
-
[1m[35m (0.
|
484
|
-
[1m[36m (
|
476
|
+
[1m[35m (0.0ms)[0m begin transaction
|
477
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "series_statements" ADD "note" text[0m
|
478
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110918162329')
|
479
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
485
480
|
Migrating to AddNdcToManifestation (20111009183423)
|
486
|
-
[1m[35m (0.
|
487
|
-
[1m[36m (0.
|
481
|
+
[1m[35m (0.0ms)[0m begin transaction
|
482
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "manifestations" ADD "ndc" varchar(255)[0m
|
488
483
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111009183423')
|
489
|
-
[1m[36m (
|
484
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
490
485
|
Migrating to CreateCreateTypes (20111124110059)
|
491
486
|
[1m[35m (0.0ms)[0m begin transaction
|
492
|
-
[1m[36m (0.
|
487
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
493
488
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111124110059')
|
494
489
|
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
495
490
|
Migrating to CreateRealizeTypes (20111124110319)
|
496
491
|
[1m[35m (0.0ms)[0m begin transaction
|
497
|
-
[1m[36m (0.
|
492
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
498
493
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111124110319')
|
499
|
-
[1m[36m (
|
494
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
500
495
|
Migrating to CreateProduceTypes (20111124110355)
|
501
|
-
[1m[35m (0.
|
502
|
-
[1m[36m (0.
|
503
|
-
[1m[35m (0.
|
504
|
-
[1m[36m (
|
496
|
+
[1m[35m (0.0ms)[0m begin transaction
|
497
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
498
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111124110355')
|
499
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
505
500
|
Migrating to AddCreateTypeToCreate (20111124112131)
|
506
501
|
[1m[35m (0.0ms)[0m begin transaction
|
507
|
-
[1m[36m (0.
|
502
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "creates" ADD "create_type_id" integer[0m
|
508
503
|
[1m[35m (0.2ms)[0m ALTER TABLE "realizes" ADD "realize_type_id" integer
|
509
|
-
[1m[36m (0.
|
504
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "produces" ADD "produce_type_id" integer[0m
|
510
505
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111124112131')
|
511
|
-
[1m[36m (
|
506
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
512
507
|
Migrating to CreateRoles (20111201121844)
|
513
|
-
[1m[35m (0.
|
514
|
-
[1m[36m (0.
|
508
|
+
[1m[35m (0.1ms)[0m begin transaction
|
509
|
+
[1m[36m (0.7ms)[0m [1mCREATE 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) [0m
|
515
510
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844')
|
516
|
-
[1m[36m (0.
|
511
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
517
512
|
Migrating to CreateUsers (20111201155456)
|
518
513
|
[1m[35m (0.0ms)[0m begin transaction
|
519
|
-
[1m[36m (
|
514
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
520
515
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456')
|
521
|
-
[1m[36m (
|
516
|
+
[1m[36m (8.8ms)[0m [1mcommit transaction[0m
|
522
517
|
Migrating to AddDeviseToUsers (20111201155513)
|
523
|
-
[1m[35m (0.
|
524
|
-
[1m[36m (0.
|
525
|
-
[1m[35m (0.
|
518
|
+
[1m[35m (0.1ms)[0m begin transaction
|
519
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL[0m
|
520
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "encrypted_password" varchar(255) DEFAULT '' NOT NULL
|
526
521
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "reset_password_token" varchar(255)[0m
|
527
|
-
[1m[35m (0.
|
528
|
-
[1m[36m (0.
|
522
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "users" ADD "reset_password_sent_at" datetime
|
523
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "remember_created_at" datetime[0m
|
529
524
|
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
|
530
525
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_at" datetime[0m
|
531
526
|
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "last_sign_in_at" datetime
|
532
527
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)[0m
|
533
|
-
[1m[35m (0.
|
528
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
|
534
529
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "password_salt" varchar(255)[0m
|
535
530
|
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "confirmation_token" varchar(255)
|
536
531
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "confirmed_at" datetime[0m
|
537
532
|
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "confirmation_sent_at" datetime
|
538
533
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "unconfirmed_email" varchar(255)[0m
|
539
|
-
[1m[35m (0.
|
540
|
-
[1m[36m (0.
|
541
|
-
[1m[35m (0.
|
542
|
-
[1m[36m (
|
543
|
-
[1m[35m (0.
|
544
|
-
[1m[36m (0.
|
534
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "users" ADD "failed_attempts" integer DEFAULT 0
|
535
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "unlock_token" varchar(255)[0m
|
536
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "locked_at" datetime
|
537
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "authentication_token" varchar(255)[0m
|
538
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
539
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
545
540
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513')
|
546
|
-
[1m[36m (
|
541
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
547
542
|
Migrating to CreateUserHasRoles (20111201163718)
|
548
|
-
[1m[35m (0.
|
549
|
-
[1m[36m (0.
|
543
|
+
[1m[35m (0.0ms)[0m begin transaction
|
544
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
550
545
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')
|
551
|
-
[1m[36m (
|
546
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
552
547
|
Migrating to AddTitleSubseriesTranscriptionToSeriesStatement (20120125152919)
|
553
|
-
[1m[35m (0.
|
554
|
-
[1m[36m (0.
|
548
|
+
[1m[35m (0.0ms)[0m begin transaction
|
549
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "series_statements" ADD "title_subseries_transcription" text[0m
|
555
550
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120125152919')
|
556
551
|
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
557
552
|
Migrating to AddBudgetTypeIdToItem (20120129020544)
|
558
553
|
[1m[35m (0.0ms)[0m begin transaction
|
559
|
-
[1m[36m (0.
|
554
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "items" ADD "budget_type_id" integer[0m
|
560
555
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120129020544')
|
561
|
-
[1m[36m (
|
556
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
562
557
|
Migrating to AddContentTypeIdToManifestation (20120319120638)
|
563
|
-
[1m[35m (0.
|
564
|
-
[1m[36m (0.
|
558
|
+
[1m[35m (0.1ms)[0m begin transaction
|
559
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "manifestations" ADD "content_type_id" integer DEFAULT 1[0m
|
565
560
|
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120319120638')
|
566
|
-
[1m[36m (
|
561
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
567
562
|
Migrating to AddUrlToSubject (20120406020752)
|
568
563
|
[1m[35m (0.1ms)[0m begin transaction
|
569
|
-
[1m[36m (0.
|
564
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "subjects" ADD "url" varchar(255)[0m
|
570
565
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120406020752')
|
571
|
-
[1m[36m (0.
|
566
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
572
567
|
Migrating to AddYearOfPublicationToManifestation (20120410104851)
|
573
|
-
[1m[35m (0.
|
574
|
-
[1m[36m (0.
|
568
|
+
[1m[35m (0.0ms)[0m begin transaction
|
569
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "manifestations" ADD "year_of_publication" integer[0m
|
575
570
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120410104851')
|
576
571
|
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
577
572
|
Migrating to AddPictureMetaToPictureFile (20120413072700)
|
578
573
|
[1m[35m (0.0ms)[0m begin transaction
|
579
|
-
[1m[36m (0.
|
574
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "picture_files" ADD "picture_meta" text[0m
|
580
575
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120413072700')
|
581
|
-
[1m[36m (0.
|
576
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
582
577
|
Migrating to AddFingerprintToPictureFile (20120413100352)
|
583
|
-
[1m[35m (0.
|
584
|
-
[1m[36m (0.
|
578
|
+
[1m[35m (0.0ms)[0m begin transaction
|
579
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "picture_files" ADD "picture_fingerprint" varchar(255)[0m
|
585
580
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120413100352')
|
586
|
-
[1m[36m (0.
|
581
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
587
582
|
Migrating to AddFingerprintToResourceImportFile (20120413161340)
|
588
|
-
[1m[35m (0.
|
589
|
-
[1m[36m (0.
|
583
|
+
[1m[35m (0.0ms)[0m begin transaction
|
584
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "resource_import_files" ADD "resource_import_fingerprint" varchar(255)[0m
|
590
585
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120413161340')
|
591
|
-
[1m[36m (
|
586
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
592
587
|
Migrating to AddFingerprintToAgentImportFile (20120413161403)
|
593
|
-
[1m[35m (0.
|
594
|
-
[1m[36m (0.
|
588
|
+
[1m[35m (0.0ms)[0m begin transaction
|
589
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "agent_import_files" ADD "agent_import_fingerprint" varchar(255)[0m
|
595
590
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120413161403')
|
596
|
-
[1m[36m (0.
|
591
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
597
592
|
Migrating to AddErrorMessageToResourceImportFile (20120413170705)
|
598
593
|
[1m[35m (0.0ms)[0m begin transaction
|
599
|
-
[1m[36m (0.
|
594
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "resource_import_files" ADD "error_message" text[0m
|
600
595
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120413170705')
|
601
596
|
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
602
597
|
Migrating to AddErrorMessageToAgentImportFile (20120413170720)
|
603
598
|
[1m[35m (0.0ms)[0m begin transaction
|
604
|
-
[1m[36m (0.
|
599
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "agent_import_files" ADD "error_message" text[0m
|
605
600
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120413170720')
|
606
|
-
[1m[36m (0.
|
601
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
607
602
|
Migrating to RenameResourceImportFileImportedAtToExecutedAt (20120415060308)
|
608
603
|
[1m[35m (0.0ms)[0m begin transaction
|
609
|
-
[1m[36m (0.
|
604
|
+
[1m[36m (0.1ms)[0m [1mCREATE 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) [0m
|
610
605
|
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_resource_import_files_on_state" ON "altered_resource_import_files" ("state")
|
611
606
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_resource_import_files_on_user_id" ON "altered_resource_import_files" ("user_id")[0m
|
612
607
|
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_resource_import_files_on_parent_id" ON "altered_resource_import_files" ("parent_id")
|
613
608
|
[1m[36m (0.1ms)[0m [1mSELECT * FROM "resource_import_files"[0m
|
614
609
|
[1m[35m (0.3ms)[0m DROP TABLE "resource_import_files"
|
615
|
-
[1m[36m (0.
|
610
|
+
[1m[36m (0.1ms)[0m [1mCREATE 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) [0m
|
616
611
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")
|
617
|
-
[1m[36m (0.
|
618
|
-
[1m[35m (0.
|
619
|
-
[1m[36m (0.
|
612
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")[0m
|
613
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_resource_import_files_on_state" ON "resource_import_files" ("state")
|
614
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_resource_import_files"[0m
|
620
615
|
[1m[35m (0.1ms)[0m DROP TABLE "altered_resource_import_files"
|
621
|
-
[1m[36m (0.
|
622
|
-
[1m[35m (
|
616
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120415060308')[0m
|
617
|
+
[1m[35m (0.7ms)[0m commit transaction
|
623
618
|
Migrating to AddAttachmentMetaToManifestation (20120415164821)
|
624
|
-
[1m[36m (0.
|
625
|
-
[1m[35m (0.
|
619
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
620
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "manifestations" ADD "attachment_meta" text
|
626
621
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120415164821')[0m
|
627
|
-
[1m[35m (
|
622
|
+
[1m[35m (0.6ms)[0m commit transaction
|
628
623
|
Migrating to AddMonthOfPublicationToManifestation (20120418081407)
|
629
624
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
630
|
-
[1m[35m (0.
|
631
|
-
[1m[36m (0.
|
632
|
-
[1m[35m (
|
625
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "manifestations" ADD "month_of_publication" integer
|
626
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120418081407')[0m
|
627
|
+
[1m[35m (0.6ms)[0m commit transaction
|
633
628
|
Migrating to AddAgentIdentifierToAgent (20120511072422)
|
634
|
-
[1m[36m (0.
|
635
|
-
[1m[35m (0.
|
636
|
-
[1m[36m (0.
|
637
|
-
[1m[35m (0.
|
638
|
-
[1m[36m (
|
629
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
630
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "agents" ADD "agent_identifier" varchar(255)
|
631
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_agents_on_agent_identifier" ON "agents" ("agent_identifier")[0m
|
632
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120511072422')
|
633
|
+
[1m[36m (17.1ms)[0m [1mcommit transaction[0m
|
639
634
|
Migrating to AddEditModeToAgentImportFile (20120602141129)
|
640
|
-
[1m[35m (0.
|
641
|
-
[1m[36m (0.
|
642
|
-
[1m[35m (0.
|
643
|
-
[1m[36m (
|
635
|
+
[1m[35m (0.0ms)[0m begin transaction
|
636
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "agent_import_files" ADD "edit_mode" varchar(255)[0m
|
637
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120602141129')
|
638
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
644
639
|
Migrating to AddDoiToManifestation (20121116033446)
|
645
|
-
[1m[35m (0.
|
646
|
-
[1m[36m (0.
|
647
|
-
[1m[35m (0.
|
640
|
+
[1m[35m (0.0ms)[0m begin transaction
|
641
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "manifestations" ADD "doi" varchar(255)[0m
|
642
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_manifestations_on_doi" ON "manifestations" ("doi")
|
648
643
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20121116033446')[0m
|
649
|
-
[1m[35m (
|
644
|
+
[1m[35m (2.6ms)[0m commit transaction
|
650
645
|
Migrating to AddPeriodicalToManifestation (20130421093852)
|
651
646
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
652
|
-
[1m[35m (
|
647
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "manifestations" ADD "periodical" boolean
|
653
648
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130421093852')[0m
|
654
|
-
[1m[35m (
|
649
|
+
[1m[35m (3.7ms)[0m commit transaction
|
655
650
|
Migrating to AddCreatorStringToSeriesStatement (20130421155019)
|
656
|
-
[1m[36m (0.
|
657
|
-
[1m[35m (0.
|
658
|
-
[1m[36m (0.
|
659
|
-
[1m[35m (0.
|
651
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
652
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "series_statements" ADD "creator_string" text
|
653
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "series_statements" ADD "volume_number_string" text[0m
|
654
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "series_statements" ADD "volume_number_transcription_string" text
|
660
655
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130421155019')[0m
|
661
|
-
[1m[35m (
|
656
|
+
[1m[35m (0.5ms)[0m commit transaction
|
662
657
|
Migrating to AddSeriesMasterToSeriesStatement (20130421164124)
|
663
658
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
664
|
-
[1m[35m (0.
|
665
|
-
[1m[36m (0.
|
666
|
-
[1m[35m (0.
|
667
|
-
Migrating to AddRootManifestationIdToSeriesStatement (20130429020822)
|
668
|
-
[1m[36m (0.
|
669
|
-
[1m[35m (0.
|
670
|
-
[1m[36m (0.
|
659
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "series_statements" ADD "series_master" boolean
|
660
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130421164124')[0m
|
661
|
+
[1m[35m (0.5ms)[0m commit transaction
|
662
|
+
Migrating to AddRootManifestationIdToSeriesStatement (20130429020822)
|
663
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
664
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "series_statements" ADD "root_manifestation_id" integer
|
665
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_series_statements_on_root_manifestation_id" ON "series_statements" ("root_manifestation_id")[0m
|
671
666
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130429020822')
|
672
|
-
[1m[36m (
|
667
|
+
[1m[36m (4.5ms)[0m [1mcommit transaction[0m
|
673
668
|
Migrating to AddManifestationIdToSubject (20130504133816)
|
674
|
-
[1m[35m (0.
|
669
|
+
[1m[35m (0.1ms)[0m begin transaction
|
675
670
|
[1m[36m (0.5ms)[0m [1mALTER TABLE "subjects" ADD "manifestation_id" integer[0m
|
676
671
|
[1m[35m (0.2ms)[0m CREATE INDEX "index_subjects_on_manifestation_id" ON "subjects" ("manifestation_id")
|
677
672
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130504133816')[0m
|
678
|
-
[1m[35m (
|
673
|
+
[1m[35m (5.0ms)[0m commit transaction
|
679
674
|
Migrating to AddManifestationIdToClassification (20130504143515)
|
680
675
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
681
|
-
[1m[35m (0.
|
676
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "classifications" ADD "manifestation_id" integer
|
682
677
|
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_classifications_on_manifestation_id" ON "classifications" ("manifestation_id")[0m
|
683
678
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130504143515')
|
684
|
-
[1m[36m (
|
679
|
+
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
685
680
|
Migrating to AddSubjectHeadingTypeIdToSubject (20130504195916)
|
686
681
|
[1m[35m (0.1ms)[0m begin transaction
|
687
682
|
[1m[36m (0.6ms)[0m [1mALTER TABLE "subjects" ADD "subject_heading_type_id" integer[0m
|
688
683
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130504195916')
|
689
|
-
[1m[36m (
|
684
|
+
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
690
685
|
Migrating to CreateIdentifierTypes (20130506175303)
|
691
686
|
[1m[35m (0.0ms)[0m begin transaction
|
692
|
-
[1m[36m (0.
|
687
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
693
688
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130506175303')
|
694
|
-
[1m[36m (
|
689
|
+
[1m[36m (23.3ms)[0m [1mcommit transaction[0m
|
695
690
|
Migrating to CreateIdentifiers (20130506175834)
|
696
691
|
[1m[35m (0.0ms)[0m begin transaction
|
697
|
-
[1m[36m (0.
|
692
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
698
693
|
[1m[35m (0.2ms)[0m CREATE INDEX "index_identifiers_on_body_and_identifier_type_id" ON "identifiers" ("body", "identifier_type_id")
|
699
694
|
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_identifiers_on_manifestation_id" ON "identifiers" ("manifestation_id")[0m
|
700
695
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130506175834')
|
701
|
-
[1m[36m (
|
696
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
702
697
|
Migrating to AddStatementOfResponsibilityToManifestation (20130509185724)
|
703
|
-
[1m[35m (0.
|
704
|
-
[1m[36m (0.
|
698
|
+
[1m[35m (0.0ms)[0m begin transaction
|
699
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "manifestations" ADD "statement_of_responsibility" text[0m
|
705
700
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130509185724')
|
706
|
-
[1m[36m (0.
|
707
|
-
|
701
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
702
|
+
Migrating to AddManifestationIdToItem (20140802082007)
|
703
|
+
[1m[35m (0.0ms)[0m begin transaction
|
704
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "items" ADD "manifestation_id" integer[0m
|
705
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_items_on_manifestation_id" ON "items" ("manifestation_id")
|
706
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140802082007')[0m
|
707
|
+
[1m[35m (0.7ms)[0m commit transaction
|
708
|
+
Migrating to AddPublicationPlaceToManifestation (20140813182425)
|
709
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
710
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "manifestations" ADD "publication_place" text
|
711
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140813182425')[0m
|
712
|
+
[1m[35m (0.5ms)[0m commit transaction
|
713
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
708
714
|
Connecting to database specified by database.yml
|
709
|
-
[1m[36m (0.
|
710
|
-
[1m[35m (1.
|
711
|
-
[1m[36m (
|
715
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
716
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
717
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
712
718
|
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
713
719
|
Migrating to CreateAgents (1)
|
714
720
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
@@ -719,13 +725,20 @@ Migrating to CreateAgents (1)
|
|
719
725
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_agents_on_full_name" ON "agents" ("full_name")
|
720
726
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('1')[0m
|
721
727
|
[1m[35m (0.7ms)[0m commit transaction
|
728
|
+
Migrating to DeviseCreateUsers (2)
|
729
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
730
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
731
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
732
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
733
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('2')[0m
|
734
|
+
[1m[35m (0.8ms)[0m commit transaction
|
722
735
|
Migrating to CreateManifestations (5)
|
723
736
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
724
|
-
[1m[35m (0.
|
725
|
-
[1m[36m (0.
|
737
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")[0m
|
726
739
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
|
727
740
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")[0m
|
728
|
-
[1m[35m (0.
|
741
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")
|
729
742
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('5')[0m
|
730
743
|
[1m[35m (0.7ms)[0m commit transaction
|
731
744
|
Migrating to CreateItems (6)
|
@@ -735,221 +748,270 @@ Migrating to CreateItems (6)
|
|
735
748
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_items_on_item_identifier" ON "items" ("item_identifier")
|
736
749
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_items_on_required_role_id" ON "items" ("required_role_id")[0m
|
737
750
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('6')
|
738
|
-
[1m[36m (0.
|
751
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
739
752
|
Migrating to CreateOwns (12)
|
740
|
-
[1m[35m (0.
|
753
|
+
[1m[35m (0.0ms)[0m begin transaction
|
741
754
|
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
742
755
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_owns_on_agent_id" ON "owns" ("agent_id")
|
743
756
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_owns_on_item_id" ON "owns" ("item_id")[0m
|
744
757
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('12')
|
745
|
-
[1m[36m (0.
|
758
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
746
759
|
Migrating to CreateCreates (15)
|
747
|
-
[1m[35m (0.
|
748
|
-
[1m[36m (0.
|
760
|
+
[1m[35m (0.1ms)[0m begin transaction
|
761
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
749
762
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_creates_on_agent_id" ON "creates" ("agent_id")
|
750
763
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_creates_on_work_id" ON "creates" ("work_id")[0m
|
751
764
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('15')
|
752
|
-
[1m[36m (0.
|
765
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
753
766
|
Migrating to CreateSubjects (29)
|
754
|
-
[1m[35m (0.
|
755
|
-
[1m[36m (0.
|
767
|
+
[1m[35m (0.0ms)[0m begin transaction
|
768
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
756
769
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_subjects_on_term" ON "subjects" ("term")
|
757
770
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")[0m
|
758
771
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")
|
759
772
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")[0m
|
760
773
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")
|
761
774
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('29')[0m
|
762
|
-
[1m[35m (0.
|
775
|
+
[1m[35m (0.6ms)[0m commit transaction
|
776
|
+
Migrating to CreateRoles (41)
|
777
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
778
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('41')[0m
|
780
|
+
[1m[35m (0.6ms)[0m commit transaction
|
763
781
|
Migrating to CreateProduces (47)
|
764
782
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
765
783
|
[1m[35m (0.2ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_produces_on_agent_id" ON "produces" ("agent_id")[0m
|
767
785
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_produces_on_manifestation_id" ON "produces" ("manifestation_id")
|
768
786
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('47')[0m
|
769
|
-
[1m[35m (0.
|
770
|
-
Migrating to
|
787
|
+
[1m[35m (0.5ms)[0m commit transaction
|
788
|
+
Migrating to CreateLibraries (59)
|
789
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
790
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_libraries_on_library_group_id" ON "libraries" ("library_group_id")[0m
|
792
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_libraries_on_name" ON "libraries" ("name")
|
793
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('59')[0m
|
794
|
+
[1m[35m (0.7ms)[0m commit transaction
|
795
|
+
Migrating to CreateShelves (69)
|
771
796
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
772
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "
|
773
|
-
[1m[36m (0.1ms)[0m [
|
774
|
-
[1m[35m (0.
|
797
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_shelves_on_library_id" ON "shelves" ("library_id")[0m
|
799
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('69')
|
800
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
801
|
+
Migrating to CreateCarrierTypes (73)
|
802
|
+
[1m[35m (0.1ms)[0m begin transaction
|
803
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
804
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('73')
|
805
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
806
|
+
Migrating to CreateUserGroups (77)
|
807
|
+
[1m[35m (0.0ms)[0m begin transaction
|
808
|
+
[1m[36m (0.6ms)[0m [1mCREATE 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) [0m
|
809
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('77')
|
810
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
811
|
+
Migrating to CreateLibraryGroups (80)
|
812
|
+
[1m[35m (0.0ms)[0m begin transaction
|
813
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
814
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")
|
815
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('80')[0m
|
816
|
+
[1m[35m (0.8ms)[0m commit transaction
|
775
817
|
Migrating to CreateFrequencies (112)
|
776
818
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
777
|
-
[1m[35m (0.
|
819
|
+
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('112')[0m
|
779
821
|
[1m[35m (0.6ms)[0m commit transaction
|
780
822
|
Migrating to CreateFormOfWorks (117)
|
781
823
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
782
|
-
[1m[35m (0.
|
824
|
+
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('117')[0m
|
784
826
|
[1m[35m (0.7ms)[0m commit transaction
|
785
|
-
Migrating to
|
786
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
787
|
-
[1m[35m (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_donates_on_agent_id" ON "donates" ("agent_id")[0m
|
789
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_donates_on_item_id" ON "donates" ("item_id")
|
790
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('125')[0m
|
791
|
-
[1m[35m (0.7ms)[0m commit transaction
|
792
|
-
Migrating to CreateClassifications (142)
|
827
|
+
Migrating to CreateBaskets (120)
|
793
828
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
794
|
-
[1m[35m (0.
|
795
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "
|
796
|
-
[1m[35m (0.1ms)[0m
|
797
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")[0m
|
798
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('142')
|
829
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_baskets_on_user_id" ON "baskets" ("user_id")[0m
|
831
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('120')
|
799
832
|
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
800
|
-
Migrating to
|
833
|
+
Migrating to CreateBookstores (124)
|
801
834
|
[1m[35m (0.0ms)[0m begin transaction
|
802
|
-
[1m[36m (0.
|
803
|
-
[1m[35m (0.1ms)[0m
|
804
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")[0m
|
805
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('143')
|
835
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
836
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('124')
|
806
837
|
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
807
|
-
Migrating to
|
838
|
+
Migrating to CreateDonates (125)
|
808
839
|
[1m[35m (0.0ms)[0m begin transaction
|
809
|
-
[1m[36m (0.
|
810
|
-
[1m[35m (0.1ms)[0m
|
840
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
841
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_donates_on_agent_id" ON "donates" ("agent_id")
|
842
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_donates_on_item_id" ON "donates" ("item_id")[0m
|
843
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('125')
|
811
844
|
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
812
|
-
Migrating to
|
845
|
+
Migrating to CreateRequestStatusTypes (130)
|
813
846
|
[1m[35m (0.0ms)[0m begin transaction
|
814
|
-
[1m[36m (0.
|
815
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('
|
816
|
-
[1m[36m (0.
|
817
|
-
Migrating to
|
847
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
848
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('130')
|
849
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
850
|
+
Migrating to CreateRequestTypes (131)
|
818
851
|
[1m[35m (0.0ms)[0m begin transaction
|
819
|
-
[1m[36m (0.
|
820
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('
|
821
|
-
[1m[36m (0.
|
822
|
-
Migrating to
|
852
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
853
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('131')
|
854
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
855
|
+
Migrating to CreateClassifications (142)
|
823
856
|
[1m[35m (0.0ms)[0m begin transaction
|
824
|
-
[1m[36m (0.
|
825
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "
|
826
|
-
[1m[36m (0.
|
827
|
-
[1m[35m (0.
|
828
|
-
[1m[36m (0.
|
857
|
+
[1m[36m (0.6ms)[0m [1mCREATE 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) [0m
|
858
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
|
859
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_classifications_on_category" ON "classifications" ("category")[0m
|
860
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
|
861
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('142')[0m
|
862
|
+
[1m[35m (0.6ms)[0m commit transaction
|
863
|
+
Migrating to CreateClassificationTypes (144)
|
864
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
865
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('144')[0m
|
867
|
+
[1m[35m (0.6ms)[0m commit transaction
|
868
|
+
Migrating to CreateSubjectHeadingTypes (145)
|
869
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
870
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('145')[0m
|
872
|
+
[1m[35m (0.8ms)[0m commit transaction
|
873
|
+
Migrating to CreateSubjectTypes (146)
|
874
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
875
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('146')[0m
|
877
|
+
[1m[35m (0.7ms)[0m commit transaction
|
829
878
|
Migrating to CreateRealizes (20080830154109)
|
830
|
-
[1m[
|
831
|
-
[1m[
|
832
|
-
[1m[
|
833
|
-
[1m[
|
834
|
-
[1m[
|
835
|
-
[1m[
|
879
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
880
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_realizes_on_agent_id" ON "realizes" ("agent_id")[0m
|
882
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_realizes_on_expression_id" ON "realizes" ("expression_id")
|
883
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20080830154109')[0m
|
884
|
+
[1m[35m (0.6ms)[0m commit transaction
|
836
885
|
Migrating to CreateExemplifies (20080830172106)
|
837
|
-
[1m[
|
838
|
-
[1m[
|
839
|
-
[1m[
|
840
|
-
[1m[
|
841
|
-
[1m[
|
842
|
-
[1m[
|
886
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
887
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_exemplifies_on_manifestation_id" ON "exemplifies" ("manifestation_id")[0m
|
889
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_exemplifies_on_item_id" ON "exemplifies" ("item_id")
|
890
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20080830172106')[0m
|
891
|
+
[1m[35m (0.8ms)[0m commit transaction
|
843
892
|
Migrating to CreateAgentTypes (20080905191442)
|
844
|
-
[1m[
|
845
|
-
[1m[
|
846
|
-
[1m[
|
847
|
-
[1m[
|
893
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
894
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')[0m
|
896
|
+
[1m[35m (0.6ms)[0m commit transaction
|
897
|
+
Migrating to CreateSubscriptions (20081006090811)
|
898
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
899
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")[0m
|
901
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_subscriptions_on_order_list_id" ON "subscriptions" ("order_list_id")
|
902
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20081006090811')[0m
|
903
|
+
[1m[35m (0.7ms)[0m commit transaction
|
904
|
+
Migrating to CreateSubscribes (20081006093246)
|
905
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
906
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_subscribes_on_subscription_id" ON "subscribes" ("subscription_id")[0m
|
908
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_subscribes_on_work_id" ON "subscribes" ("work_id")
|
909
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20081006093246')[0m
|
910
|
+
[1m[35m (0.6ms)[0m commit transaction
|
911
|
+
Migrating to CreateSearchEngines (20081023092436)
|
912
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
913
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20081023092436')[0m
|
915
|
+
[1m[35m (0.6ms)[0m commit transaction
|
848
916
|
Migrating to CreateCountries (20081025083323)
|
849
|
-
[1m[
|
850
|
-
[1m[
|
851
|
-
[1m[
|
852
|
-
[1m[
|
853
|
-
[1m[
|
854
|
-
[1m[
|
855
|
-
[1m[
|
856
|
-
[1m[
|
917
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
918
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_countries_on_name" ON "countries" ("name")[0m
|
920
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_countries_on_alpha_2" ON "countries" ("alpha_2")
|
921
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_countries_on_alpha_3" ON "countries" ("alpha_3")[0m
|
922
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_countries_on_numeric_3" ON "countries" ("numeric_3")
|
923
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20081025083323')[0m
|
924
|
+
[1m[35m (0.6ms)[0m commit transaction
|
857
925
|
Migrating to CreateLanguages (20081025083905)
|
858
|
-
[1m[
|
859
|
-
[1m[
|
860
|
-
[1m[
|
861
|
-
[1m[
|
862
|
-
[1m[
|
863
|
-
[1m[
|
864
|
-
[1m[
|
865
|
-
[1m[
|
926
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
927
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_languages_on_name" ON "languages" ("name")[0m
|
929
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_languages_on_iso_639_1" ON "languages" ("iso_639_1")
|
930
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_languages_on_iso_639_2" ON "languages" ("iso_639_2")[0m
|
931
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_languages_on_iso_639_3" ON "languages" ("iso_639_3")
|
932
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20081025083905')[0m
|
933
|
+
[1m[35m (0.8ms)[0m commit transaction
|
866
934
|
Migrating to CreatePictureFiles (20081027150907)
|
867
|
-
[1m[35m (0.0ms)[0m begin transaction
|
868
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
869
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_picture_files_on_picture_attachable_id_and_type" ON "picture_files" ("picture_attachable_id", "picture_attachable_type")
|
870
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20081027150907')[0m
|
871
|
-
[1m[35m (0.7ms)[0m commit transaction
|
872
|
-
Migrating to CreateAgentImportFiles (20081028083142)
|
873
935
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
874
|
-
[1m[35m (0.
|
875
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "
|
876
|
-
[1m[35m (0.1ms)[0m
|
877
|
-
[1m[36m (0.
|
878
|
-
|
936
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_picture_files_on_picture_attachable_id_and_type" ON "picture_files" ("picture_attachable_id", "picture_attachable_type")[0m
|
938
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20081027150907')
|
939
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
940
|
+
Migrating to CreateAgentImportFiles (20081028083142)
|
941
|
+
[1m[35m (0.0ms)[0m begin transaction
|
942
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
943
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_agent_import_files_on_parent_id" ON "agent_import_files" ("parent_id")
|
944
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_agent_import_files_on_user_id" ON "agent_import_files" ("user_id")[0m
|
945
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20081028083142')
|
946
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
879
947
|
Migrating to CreateResourceImportFiles (20081028083208)
|
880
|
-
[1m[
|
881
|
-
[1m[
|
882
|
-
[1m[
|
883
|
-
[1m[
|
884
|
-
[1m[
|
885
|
-
[1m[35m (0.7ms)[0m commit transaction
|
886
|
-
Migrating to CreateSubjectHeadingTypeHasSubjects (20090208044541)
|
887
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
888
|
-
[1m[35m (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_subject_heading_type_has_subjects_on_subject_id" ON "subject_heading_type_has_subjects" ("subject_id")[0m
|
890
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20090208044541')
|
948
|
+
[1m[35m (0.0ms)[0m begin transaction
|
949
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
950
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")
|
951
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")[0m
|
952
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20081028083208')
|
891
953
|
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
892
954
|
Migrating to AddAttachmentsPictureToPictureFile (20090705133942)
|
893
955
|
[1m[35m (0.0ms)[0m begin transaction
|
894
956
|
[1m[36m (0.3ms)[0m [1mALTER TABLE "picture_files" ADD "picture_file_name" varchar(255)[0m
|
895
957
|
[1m[35m (0.2ms)[0m ALTER TABLE "picture_files" ADD "picture_content_type" varchar(255)
|
896
|
-
[1m[36m (0.
|
897
|
-
[1m[35m (0.
|
958
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "picture_files" ADD "picture_file_size" integer[0m
|
959
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "picture_files" ADD "picture_updated_at" datetime
|
898
960
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20090705133942')[0m
|
899
|
-
[1m[35m (0.
|
961
|
+
[1m[35m (0.7ms)[0m commit transaction
|
900
962
|
Migrating to AddAttachmentsAttachmentToManifestation (20090705212043)
|
901
963
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
902
|
-
[1m[35m (0.
|
903
|
-
[1m[36m (0.
|
964
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "manifestations" ADD "attachment_file_name" varchar(255)
|
965
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "manifestations" ADD "attachment_content_type" varchar(255)[0m
|
904
966
|
[1m[35m (0.2ms)[0m ALTER TABLE "manifestations" ADD "attachment_file_size" integer
|
905
967
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "manifestations" ADD "attachment_updated_at" datetime[0m
|
906
968
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20090705212043')
|
907
969
|
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
908
970
|
Migrating to CreateExtents (20090719201843)
|
909
971
|
[1m[35m (0.0ms)[0m begin transaction
|
910
|
-
[1m[36m (0.
|
972
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
911
973
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20090719201843')
|
912
|
-
[1m[36m (0.
|
974
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
913
975
|
Migrating to CreateMediumOfPerformances (20090720091106)
|
914
976
|
[1m[35m (0.0ms)[0m begin transaction
|
915
|
-
[1m[36m (0.
|
977
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
916
978
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20090720091106')
|
917
|
-
[1m[36m (0.
|
979
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
918
980
|
Migrating to CreateContentTypes (20090720091429)
|
919
981
|
[1m[35m (0.0ms)[0m begin transaction
|
920
|
-
[1m[36m (0.
|
982
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
921
983
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20090720091429')
|
922
984
|
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
923
985
|
Migrating to CreateAgentRelationshipTypes (20090812151902)
|
924
986
|
[1m[35m (0.0ms)[0m begin transaction
|
925
|
-
[1m[36m (0.
|
987
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
926
988
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20090812151902')
|
927
|
-
[1m[36m (0.
|
989
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
928
990
|
Migrating to AddDcndlSchema (20091012101112)
|
929
991
|
[1m[35m (0.0ms)[0m begin transaction
|
930
|
-
[1m[36m (0.
|
931
|
-
[1m[35m (0.
|
932
|
-
[1m[36m (0.
|
992
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "manifestations" ADD "title_alternative_transcription" text[0m
|
993
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "agents" ADD "full_name_alternative_transcription" text
|
994
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "manifestations" ADD "description" text[0m
|
933
995
|
[1m[35m (0.2ms)[0m ALTER TABLE "manifestations" ADD "abstract" text
|
934
996
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "manifestations" ADD "available_at" datetime[0m
|
935
997
|
[1m[35m (0.2ms)[0m ALTER TABLE "manifestations" ADD "valid_until" datetime
|
936
998
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "manifestations" ADD "date_submitted" datetime[0m
|
937
999
|
[1m[35m (0.2ms)[0m ALTER TABLE "manifestations" ADD "date_accepted" datetime
|
938
1000
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "manifestations" ADD "date_caputured" datetime[0m
|
939
|
-
[1m[35m (0.
|
1001
|
+
[1m[35m (0.6ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_date_of_publication" ON "altered_manifestations" ("date_of_publication")[0m
|
941
1003
|
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
|
942
1004
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")[0m
|
943
1005
|
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
|
944
1006
|
[1m[36m (0.1ms)[0m [1mSELECT * FROM "manifestations"[0m
|
945
|
-
[1m[35m (0.
|
1007
|
+
[1m[35m (0.5ms)[0m DROP TABLE "manifestations"
|
946
1008
|
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
947
|
-
[1m[35m (0.
|
1009
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
|
948
1010
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")[0m
|
949
1011
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
|
950
1012
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")[0m
|
951
|
-
[1m[35m (0.
|
952
|
-
[1m[36m (0.
|
1013
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "altered_manifestations"
|
1014
|
+
[1m[36m (0.6ms)[0m [1mDROP TABLE "altered_manifestations"[0m
|
953
1015
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20091012101112')
|
954
1016
|
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
955
1017
|
Migrating to CreateLicenses (20091025080447)
|
@@ -967,891 +1029,366 @@ Migrating to CreateSeriesStatements (20091214131723)
|
|
967
1029
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
968
1030
|
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20091214131723')[0m
|
970
|
-
[1m[35m (0.
|
1032
|
+
[1m[35m (0.7ms)[0m commit transaction
|
971
1033
|
Migrating to CreateImportRequests (20100129142347)
|
972
1034
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
973
|
-
[1m[35m (0.
|
974
|
-
[1m[36m (0.
|
1035
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_import_requests_on_isbn" ON "import_requests" ("isbn")[0m
|
975
1037
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_import_requests_on_manifestation_id" ON "import_requests" ("manifestation_id")
|
976
1038
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_import_requests_on_user_id" ON "import_requests" ("user_id")[0m
|
977
1039
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100129142347')
|
978
1040
|
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1041
|
+
Migrating to AddAdminNetworksToLibraryGroup (20100211105551)
|
1042
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1043
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "library_groups" ADD "admin_networks" text[0m
|
1044
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100211105551')
|
1045
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
979
1046
|
Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
|
980
1047
|
[1m[35m (0.0ms)[0m begin transaction
|
981
|
-
[1m[36m (0.
|
1048
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
982
1049
|
[1m[35m (0.1ms)[0m SELECT * FROM "series_statements"
|
983
|
-
[1m[36m (0.
|
1050
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "series_statements"[0m
|
984
1051
|
[1m[35m (0.1ms)[0m 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
|
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_series_statements"[0m
|
986
1053
|
[1m[35m (0.1ms)[0m DROP TABLE "altered_series_statements"
|
987
1054
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "series_statements" ADD "title_transcription" text[0m
|
988
1055
|
[1m[35m (0.1ms)[0m ALTER TABLE "series_statements" ADD "title_alternative" text
|
989
1056
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100223121519')[0m
|
990
|
-
[1m[35m (0.
|
1057
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1058
|
+
Migrating to AddOpeningHourToLibrary (20100314190054)
|
1059
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1060
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "libraries" ADD "opening_hour" text
|
1061
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100314190054')[0m
|
1062
|
+
[1m[35m (0.6ms)[0m commit transaction
|
991
1063
|
Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
|
992
1064
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
993
|
-
[1m[35m (0.
|
994
|
-
[1m[36m (0.
|
1065
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "series_statements" ADD "series_statement_identifier" varchar(255)
|
1066
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_series_statements_on_series_statement_identifier" ON "series_statements" ("series_statement_identifier")[0m
|
995
1067
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100321235924')
|
996
|
-
[1m[36m (0.
|
1068
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
997
1069
|
Migrating to CreateManifestationRelationships (20100525124311)
|
998
1070
|
[1m[35m (0.0ms)[0m begin transaction
|
999
|
-
[1m[36m (0.
|
1000
|
-
[1m[35m (0.
|
1071
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
1072
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_manifestation_relationships_on_parent_id" ON "manifestation_relationships" ("parent_id")
|
1001
1073
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestation_relationships_on_child_id" ON "manifestation_relationships" ("child_id")[0m
|
1002
1074
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100525124311')
|
1003
|
-
[1m[36m (0.
|
1075
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1076
|
+
Migrating to CreateUserHasRoles (20100606065209)
|
1077
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1078
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1079
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_user_has_roles_on_user_id" ON "user_has_roles" ("user_id")
|
1080
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_user_has_roles_on_role_id" ON "user_has_roles" ("role_id")[0m
|
1081
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100606065209')
|
1082
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1004
1083
|
Migrating to CreateAgentRelationships (20100606073747)
|
1005
1084
|
[1m[35m (0.0ms)[0m begin transaction
|
1006
1085
|
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1007
1086
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_agent_relationships_on_parent_id" ON "agent_relationships" ("parent_id")
|
1008
1087
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_agent_relationships_on_child_id" ON "agent_relationships" ("child_id")[0m
|
1009
1088
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100606073747')
|
1010
|
-
[1m[36m (0.
|
1089
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1011
1090
|
Migrating to CreateManifestationRelationshipTypes (20100607044753)
|
1012
1091
|
[1m[35m (0.0ms)[0m begin transaction
|
1013
|
-
[1m[36m (0.
|
1092
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1014
1093
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100607044753')
|
1015
1094
|
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1016
1095
|
Migrating to AddPositionToAgentRelationship (20100814091104)
|
1017
1096
|
[1m[35m (0.0ms)[0m begin transaction
|
1018
|
-
[1m[36m (0.
|
1019
|
-
[1m[35m (0.
|
1097
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "manifestation_relationships" ADD "position" integer[0m
|
1098
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "agent_relationships" ADD "position" integer
|
1020
1099
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100814091104')[0m
|
1021
|
-
[1m[35m (0.
|
1100
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1022
1101
|
Migrating to CreateResourceImportResults (20100925043847)
|
1023
1102
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1024
1103
|
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_resource_import_results_on_resource_import_file_id" ON "resource_import_results" ("resource_import_file_id")[0m
|
1026
1105
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_resource_import_results_on_manifestation_id" ON "resource_import_results" ("manifestation_id")
|
1027
|
-
[1m[36m (0.
|
1106
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_resource_import_results_on_item_id" ON "resource_import_results" ("item_id")[0m
|
1028
1107
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100925043847')
|
1029
|
-
[1m[36m (0.
|
1108
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1030
1109
|
Migrating to CreateAgentImportResults (20100925074559)
|
1031
|
-
[1m[35m (0.
|
1032
|
-
[1m[36m (0.
|
1110
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1111
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
1033
1112
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100925074559')
|
1034
|
-
[1m[36m (0.
|
1113
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1035
1114
|
Migrating to AddAcquiredAtToItem (20101212070145)
|
1036
1115
|
[1m[35m (0.0ms)[0m begin transaction
|
1037
|
-
[1m[36m (0.
|
1116
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "items" ADD "acquired_at" datetime[0m
|
1038
1117
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20101212070145')
|
1118
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1119
|
+
Migrating to AddUrlToLibraryGroup (20110222073537)
|
1120
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1121
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "library_groups" ADD "url" varchar(255) DEFAULT 'http://localhost:3000/'[0m
|
1122
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110222073537')
|
1039
1123
|
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1040
1124
|
Migrating to AddPubDateToManifestation (20110301035123)
|
1041
1125
|
[1m[35m (0.0ms)[0m begin transaction
|
1042
|
-
[1m[36m (0.
|
1126
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "manifestations" ADD "pub_date" varchar(255)[0m
|
1043
1127
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110301035123')
|
1044
|
-
[1m[36m (0.
|
1128
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1045
1129
|
Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
|
1046
1130
|
[1m[35m (0.0ms)[0m begin transaction
|
1047
|
-
[1m[36m (0.
|
1048
|
-
[1m[35m (0.
|
1131
|
+
[1m[36m (0.8ms)[0m [1mALTER TABLE "agents" ADD "birth_date" varchar(255)[0m
|
1132
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "agents" ADD "death_date" varchar(255)
|
1049
1133
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110301121550')[0m
|
1050
1134
|
[1m[35m (0.7ms)[0m commit transaction
|
1051
|
-
Migrating to
|
1052
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1053
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "series_statements" ADD "issn" varchar(255)
|
1054
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110425133109')[0m
|
1055
|
-
[1m[35m (0.6ms)[0m commit transaction
|
1056
|
-
Migrating to AddEditModeToResourceImportFile (20110603184217)
|
1057
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1058
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "resource_import_files" ADD "edit_mode" varchar(255)
|
1059
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110603184217')[0m
|
1060
|
-
[1m[35m (0.6ms)[0m commit transaction
|
1061
|
-
Migrating to AddPeriodicalToSeriesStatement (20110618091240)
|
1062
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1063
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "series_statements" ADD "periodical" boolean
|
1064
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110618091240')[0m
|
1065
|
-
[1m[35m (0.7ms)[0m commit transaction
|
1066
|
-
Migrating to AddEditionStringToManifestation (20110619064807)
|
1067
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1068
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "manifestations" ADD "edition_string" varchar(255)
|
1069
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110619064807')[0m
|
1070
|
-
[1m[35m (0.6ms)[0m commit transaction
|
1071
|
-
Migrating to AddBookstoreIdToItem (20110620173525)
|
1135
|
+
Migrating to AddValidPeriodForNewUserToUserGroup (20110318183304)
|
1072
1136
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1073
|
-
[1m[35m (0.
|
1074
|
-
[1m[36m (0.2ms)[0m [
|
1075
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('
|
1076
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1077
|
-
Migrating to CreateSeriesStatementMergeLists (20110627034940)
|
1078
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1079
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
1080
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110627034940')
|
1137
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "user_groups" ADD "valid_period_for_new_user" integer DEFAULT 0 NOT NULL
|
1138
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "user_groups" ADD "expired_at" datetime[0m
|
1139
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110318183304')
|
1081
1140
|
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1082
|
-
Migrating to
|
1141
|
+
Migrating to AddEditModeToResourceImportFile (20110603184217)
|
1083
1142
|
[1m[35m (0.0ms)[0m begin transaction
|
1084
|
-
[1m[36m (0.
|
1085
|
-
[1m[35m (0.1ms)[0m
|
1086
|
-
[1m[36m (0.
|
1087
|
-
|
1088
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1089
|
-
Migrating to CreateSeriesHasManifestations (20110820131417)
|
1090
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1091
|
-
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
1092
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_series_has_manifestations_on_series_statement_id" ON "series_has_manifestations" ("series_statement_id")
|
1093
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_series_has_manifestations_on_manifestation_id" ON "series_has_manifestations" ("manifestation_id")[0m
|
1094
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110820131417')
|
1095
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1096
|
-
Migrating to AddLftAndRgtToClassification (20110913120629)
|
1097
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1098
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "classifications" ADD "lft" integer[0m
|
1099
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "classifications" ADD "rgt" integer
|
1100
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')[0m
|
1101
|
-
[1m[35m (0.7ms)[0m commit transaction
|
1102
|
-
Migrating to RenameManifestationNumberListToNumberString (20110916053430)
|
1103
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1104
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1105
|
-
Connecting to database specified by database.yml
|
1106
|
-
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
1107
|
-
[1m[35m (1.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
1108
|
-
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1109
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
1110
|
-
Migrating to CreateAgents (1)
|
1111
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1112
|
-
[1m[35m (0.5ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_agents_on_language_id" ON "agents" ("language_id")[0m
|
1114
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_agents_on_country_id" ON "agents" ("country_id")
|
1115
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_agents_on_required_role_id" ON "agents" ("required_role_id")[0m
|
1116
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_agents_on_full_name" ON "agents" ("full_name")
|
1117
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('1')[0m
|
1118
|
-
[1m[35m (0.7ms)[0m commit transaction
|
1119
|
-
Migrating to CreateManifestations (5)
|
1120
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1121
|
-
[1m[35m (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")[0m
|
1123
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
|
1124
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")[0m
|
1125
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")
|
1126
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('5')[0m
|
1127
|
-
[1m[35m (0.7ms)[0m commit transaction
|
1128
|
-
Migrating to CreateItems (6)
|
1129
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1130
|
-
[1m[35m (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_items_on_shelf_id" ON "items" ("shelf_id")[0m
|
1132
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_items_on_item_identifier" ON "items" ("item_identifier")
|
1133
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_items_on_required_role_id" ON "items" ("required_role_id")[0m
|
1134
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('6')
|
1135
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1136
|
-
Migrating to CreateOwns (12)
|
1137
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1138
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1139
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_owns_on_agent_id" ON "owns" ("agent_id")
|
1140
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_owns_on_item_id" ON "owns" ("item_id")[0m
|
1141
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('12')
|
1142
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1143
|
-
Migrating to CreateCreates (15)
|
1143
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "resource_import_files" ADD "edit_mode" varchar(255)[0m
|
1144
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110603184217')
|
1145
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1146
|
+
Migrating to AddEditionStringToManifestation (20110619064807)
|
1144
1147
|
[1m[35m (0.0ms)[0m begin transaction
|
1145
|
-
[1m[36m (0.
|
1146
|
-
[1m[35m (0.
|
1147
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_creates_on_work_id" ON "creates" ("work_id")[0m
|
1148
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('15')
|
1148
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "manifestations" ADD "edition_string" varchar(255)[0m
|
1149
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110619064807')
|
1149
1150
|
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
1150
|
-
Migrating to
|
1151
|
+
Migrating to AddBookstoreIdToItem (20110620173525)
|
1151
1152
|
[1m[35m (0.0ms)[0m begin transaction
|
1152
|
-
[1m[36m (0.
|
1153
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "
|
1154
|
-
[1m[36m (0.1ms)[0m [
|
1155
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")
|
1156
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")[0m
|
1157
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")
|
1158
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('29')[0m
|
1159
|
-
[1m[35m (0.8ms)[0m commit transaction
|
1160
|
-
Migrating to CreateProduces (47)
|
1161
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1162
|
-
[1m[35m (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_produces_on_agent_id" ON "produces" ("agent_id")[0m
|
1164
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_produces_on_manifestation_id" ON "produces" ("manifestation_id")
|
1165
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('47')[0m
|
1166
|
-
[1m[35m (0.6ms)[0m commit transaction
|
1167
|
-
Migrating to CreateCarrierTypes (73)
|
1168
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1169
|
-
[1m[35m (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('73')[0m
|
1171
|
-
[1m[35m (0.7ms)[0m commit transaction
|
1172
|
-
Migrating to CreateFrequencies (112)
|
1173
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1174
|
-
[1m[35m (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('112')[0m
|
1153
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "items" ADD "bookstore_id" integer[0m
|
1154
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_items_on_bookstore_id" ON "items" ("bookstore_id")
|
1155
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110620173525')[0m
|
1176
1156
|
[1m[35m (0.6ms)[0m commit transaction
|
1177
|
-
Migrating to
|
1157
|
+
Migrating to CreateSeriesStatementMergeLists (20110627034940)
|
1178
1158
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1179
|
-
[1m[35m (0.
|
1180
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('
|
1181
|
-
[1m[35m (0.
|
1182
|
-
Migrating to
|
1159
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110627034940')[0m
|
1161
|
+
[1m[35m (0.5ms)[0m commit transaction
|
1162
|
+
Migrating to CreateSeriesStatementMerges (20110627035057)
|
1183
1163
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1184
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "
|
1185
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "
|
1186
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "
|
1187
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('
|
1164
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_series_statement_merges_on_series_statement_id" ON "series_statement_merges" ("series_statement_id")[0m
|
1166
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_series_statement_merges_on_series_statement_merge_list_id" ON "series_statement_merges" ("series_statement_merge_list_id")
|
1167
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110627035057')[0m
|
1188
1168
|
[1m[35m (0.7ms)[0m commit transaction
|
1189
|
-
Migrating to
|
1169
|
+
Migrating to AddLftAndRgtToClassification (20110913120629)
|
1190
1170
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1191
|
-
[1m[35m (0.
|
1192
|
-
[1m[36m (0.
|
1193
|
-
[1m[35m (0.1ms)[0m
|
1194
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")[0m
|
1195
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('142')
|
1196
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1197
|
-
Migrating to CreateSubjectHasClassifications (143)
|
1198
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1199
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1200
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_subject_has_classifications_on_subject_id" ON "subject_has_classifications" ("subject_id")
|
1201
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")[0m
|
1202
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('143')
|
1203
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1204
|
-
Migrating to CreateClassificationTypes (144)
|
1205
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1206
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1207
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('144')
|
1208
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1209
|
-
Migrating to CreateSubjectHeadingTypes (145)
|
1210
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1211
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1212
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('145')
|
1213
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1214
|
-
Migrating to CreateSubjectTypes (146)
|
1215
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1216
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1217
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('146')
|
1171
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "classifications" ADD "lft" integer
|
1172
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "classifications" ADD "rgt" integer[0m
|
1173
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
|
1218
1174
|
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1219
|
-
Migrating to
|
1220
|
-
[1m[35m (0.
|
1221
|
-
[1m[36m (0.
|
1222
|
-
[1m[35m (0.
|
1223
|
-
[1m[36m (0.
|
1224
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('
|
1225
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1226
|
-
Migrating to CreateRealizes (20080830154109)
|
1227
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1228
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1229
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_realizes_on_agent_id" ON "realizes" ("agent_id")
|
1230
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_realizes_on_expression_id" ON "realizes" ("expression_id")[0m
|
1231
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20080830154109')
|
1232
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1233
|
-
Migrating to CreateExemplifies (20080830172106)
|
1234
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1235
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
1236
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_exemplifies_on_manifestation_id" ON "exemplifies" ("manifestation_id")
|
1237
|
-
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_exemplifies_on_item_id" ON "exemplifies" ("item_id")[0m
|
1238
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20080830172106')
|
1239
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1240
|
-
Migrating to CreateAgentTypes (20080905191442)
|
1241
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1242
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
1243
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
|
1244
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1245
|
-
Migrating to CreateCountries (20081025083323)
|
1246
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1247
|
-
[1m[36m (0.7ms)[0m [1mCREATE 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) [0m
|
1248
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "index_countries_on_name" ON "countries" ("name")
|
1249
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_countries_on_alpha_2" ON "countries" ("alpha_2")[0m
|
1250
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_countries_on_alpha_3" ON "countries" ("alpha_3")
|
1251
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_countries_on_numeric_3" ON "countries" ("numeric_3")[0m
|
1252
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20081025083323')
|
1175
|
+
Migrating to AddVolumeNumberToManifestation (20110916091020)
|
1176
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1177
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "manifestations" ADD "volume_number" integer[0m
|
1178
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "manifestations" ADD "issue_number" integer
|
1179
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "manifestations" ADD "serial_number" integer[0m
|
1180
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110916091020')
|
1253
1181
|
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1254
|
-
Migrating to
|
1255
|
-
[1m[35m (0.2ms)[0m begin transaction
|
1256
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
1257
|
-
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_languages_on_name" ON "languages" ("name")
|
1258
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_languages_on_iso_639_1" ON "languages" ("iso_639_1")[0m
|
1259
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_languages_on_iso_639_2" ON "languages" ("iso_639_2")
|
1260
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_languages_on_iso_639_3" ON "languages" ("iso_639_3")[0m
|
1261
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20081025083905')
|
1262
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1263
|
-
Migrating to CreatePictureFiles (20081027150907)
|
1182
|
+
Migrating to AddManifestaitonIdToSeriesStatement (20110916103953)
|
1264
1183
|
[1m[35m (0.0ms)[0m begin transaction
|
1265
|
-
[1m[36m (0.
|
1266
|
-
[1m[35m (0.
|
1267
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('
|
1184
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "series_statements" ADD "manifestation_id" integer[0m
|
1185
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_series_statements_on_manifestation_id" ON "series_statements" ("manifestation_id")
|
1186
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110916103953')[0m
|
1187
|
+
[1m[35m (1.0ms)[0m commit transaction
|
1188
|
+
Migrating to AddNoteToSeriesStatement (20110918162329)
|
1189
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1190
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "series_statements" ADD "note" text
|
1191
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110918162329')[0m
|
1268
1192
|
[1m[35m (0.6ms)[0m commit transaction
|
1269
|
-
Migrating to
|
1193
|
+
Migrating to CreateCreateTypes (20111124110059)
|
1270
1194
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1271
|
-
[1m[35m (0.
|
1272
|
-
[1m[36m (0.1ms)[0m [
|
1273
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_agent_import_files_on_user_id" ON "agent_import_files" ("user_id")
|
1274
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20081028083142')[0m
|
1195
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111124110059')[0m
|
1275
1197
|
[1m[35m (0.7ms)[0m commit transaction
|
1276
|
-
Migrating to
|
1277
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1278
|
-
[1m[35m (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")[0m
|
1280
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")
|
1281
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20081028083208')[0m
|
1282
|
-
[1m[35m (0.8ms)[0m commit transaction
|
1283
|
-
Migrating to CreateSubjectHeadingTypeHasSubjects (20090208044541)
|
1198
|
+
Migrating to CreateRealizeTypes (20111124110319)
|
1284
1199
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1285
|
-
[1m[35m (0.
|
1286
|
-
[1m[36m (0.1ms)[0m [
|
1287
|
-
[1m[35m (0.
|
1288
|
-
|
1289
|
-
Migrating to AddAttachmentsPictureToPictureFile (20090705133942)
|
1290
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1291
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "picture_files" ADD "picture_file_name" varchar(255)[0m
|
1292
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "picture_files" ADD "picture_content_type" varchar(255)
|
1293
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "picture_files" ADD "picture_file_size" integer[0m
|
1294
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "picture_files" ADD "picture_updated_at" datetime
|
1295
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20090705133942')[0m
|
1296
|
-
[1m[35m (0.8ms)[0m commit transaction
|
1297
|
-
Migrating to AddAttachmentsAttachmentToManifestation (20090705212043)
|
1200
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111124110319')[0m
|
1202
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1203
|
+
Migrating to CreateProduceTypes (20111124110355)
|
1298
1204
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1299
|
-
[1m[35m (0.
|
1300
|
-
[1m[36m (0.
|
1301
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "manifestations" ADD "attachment_file_size" integer
|
1302
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "manifestations" ADD "attachment_updated_at" datetime[0m
|
1303
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20090705212043')
|
1304
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1305
|
-
Migrating to CreateExtents (20090719201843)
|
1306
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1307
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1308
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20090719201843')
|
1309
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1310
|
-
Migrating to CreateMediumOfPerformances (20090720091106)
|
1311
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1312
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1313
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20090720091106')
|
1314
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1315
|
-
Migrating to CreateContentTypes (20090720091429)
|
1316
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1317
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1318
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20090720091429')
|
1319
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1320
|
-
Migrating to CreateAgentRelationshipTypes (20090812151902)
|
1321
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1322
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1323
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20090812151902')
|
1324
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1325
|
-
Migrating to AddDcndlSchema (20091012101112)
|
1326
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1327
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "manifestations" ADD "title_alternative_transcription" text[0m
|
1328
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "agents" ADD "full_name_alternative_transcription" text
|
1329
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "manifestations" ADD "description" text[0m
|
1330
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "manifestations" ADD "abstract" text
|
1331
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "manifestations" ADD "available_at" datetime[0m
|
1332
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "manifestations" ADD "valid_until" datetime
|
1333
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "manifestations" ADD "date_submitted" datetime[0m
|
1334
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "manifestations" ADD "date_accepted" datetime
|
1335
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "manifestations" ADD "date_caputured" datetime[0m
|
1336
|
-
[1m[35m (0.6ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_date_of_publication" ON "altered_manifestations" ("date_of_publication")[0m
|
1338
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
|
1339
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")[0m
|
1340
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
|
1341
|
-
[1m[36m (0.1ms)[0m [1mSELECT * FROM "manifestations"[0m
|
1342
|
-
[1m[35m (0.4ms)[0m DROP TABLE "manifestations"
|
1343
|
-
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
1344
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
|
1345
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")[0m
|
1346
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
|
1347
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")[0m
|
1348
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "altered_manifestations"
|
1349
|
-
[1m[36m (0.4ms)[0m [1mDROP TABLE "altered_manifestations"[0m
|
1350
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20091012101112')
|
1351
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
1352
|
-
Migrating to CreateLicenses (20091025080447)
|
1353
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1354
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1355
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20091025080447')
|
1356
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1357
|
-
Migrating to CreateVersions (20091202124834)
|
1358
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1359
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1360
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
|
1361
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20091202124834')[0m
|
1205
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111124110355')[0m
|
1362
1207
|
[1m[35m (0.7ms)[0m commit transaction
|
1363
|
-
Migrating to
|
1208
|
+
Migrating to AddCreateTypeToCreate (20111124112131)
|
1364
1209
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1365
|
-
[1m[35m (0.3ms)[0m
|
1366
|
-
[1m[36m (0.
|
1210
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "creates" ADD "create_type_id" integer
|
1211
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "realizes" ADD "realize_type_id" integer[0m
|
1212
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "produces" ADD "produce_type_id" integer
|
1213
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111124112131')[0m
|
1367
1214
|
[1m[35m (0.6ms)[0m commit transaction
|
1368
|
-
Migrating to
|
1215
|
+
Migrating to AddIsilToLibrary (20120105074911)
|
1369
1216
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1370
|
-
[1m[35m (0.4ms)[0m
|
1371
|
-
[1m[36m (0.1ms)[0m [
|
1372
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_import_requests_on_manifestation_id" ON "import_requests" ("manifestation_id")
|
1373
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_import_requests_on_user_id" ON "import_requests" ("user_id")[0m
|
1374
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100129142347')
|
1375
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
1376
|
-
Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
|
1377
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1378
|
-
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
1379
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "series_statements"
|
1380
|
-
[1m[36m (0.2ms)[0m [1mDROP TABLE "series_statements"[0m
|
1381
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_series_statements"[0m
|
1383
|
-
[1m[35m (0.1ms)[0m DROP TABLE "altered_series_statements"
|
1384
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "series_statements" ADD "title_transcription" text[0m
|
1385
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "series_statements" ADD "title_alternative" text
|
1386
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100223121519')[0m
|
1387
|
-
[1m[35m (0.7ms)[0m commit transaction
|
1388
|
-
Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
|
1389
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1390
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "series_statements" ADD "series_statement_identifier" varchar(255)
|
1391
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_series_statements_on_series_statement_identifier" ON "series_statements" ("series_statement_identifier")[0m
|
1392
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100321235924')
|
1393
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1394
|
-
Migrating to CreateManifestationRelationships (20100525124311)
|
1395
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1396
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1397
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_manifestation_relationships_on_parent_id" ON "manifestation_relationships" ("parent_id")
|
1398
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_manifestation_relationships_on_child_id" ON "manifestation_relationships" ("child_id")[0m
|
1399
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100525124311')
|
1400
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1401
|
-
Migrating to CreateAgentRelationships (20100606073747)
|
1402
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1403
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
1404
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_agent_relationships_on_parent_id" ON "agent_relationships" ("parent_id")
|
1405
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_agent_relationships_on_child_id" ON "agent_relationships" ("child_id")[0m
|
1406
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100606073747')
|
1407
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1408
|
-
Migrating to CreateManifestationRelationshipTypes (20100607044753)
|
1409
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1410
|
-
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
1411
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100607044753')
|
1412
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1413
|
-
Migrating to AddPositionToAgentRelationship (20100814091104)
|
1414
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1415
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "manifestation_relationships" ADD "position" integer[0m
|
1416
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "agent_relationships" ADD "position" integer
|
1417
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100814091104')[0m
|
1217
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "libraries" ADD "isil" varchar(255)
|
1218
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120105074911')[0m
|
1418
1219
|
[1m[35m (0.5ms)[0m commit transaction
|
1419
|
-
Migrating to
|
1420
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1421
|
-
[1m[35m (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_resource_import_results_on_resource_import_file_id" ON "resource_import_results" ("resource_import_file_id")[0m
|
1423
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_resource_import_results_on_manifestation_id" ON "resource_import_results" ("manifestation_id")
|
1424
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_resource_import_results_on_item_id" ON "resource_import_results" ("item_id")[0m
|
1425
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100925043847')
|
1426
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1427
|
-
Migrating to CreateAgentImportResults (20100925074559)
|
1428
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1429
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1430
|
-
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100925074559')
|
1431
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1432
|
-
Migrating to AddAcquiredAtToItem (20101212070145)
|
1433
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1434
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "items" ADD "acquired_at" datetime[0m
|
1435
|
-
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20101212070145')
|
1436
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1437
|
-
Migrating to AddPubDateToManifestation (20110301035123)
|
1438
|
-
[1m[35m (0.2ms)[0m begin transaction
|
1439
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "manifestations" ADD "pub_date" varchar(255)[0m
|
1440
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110301035123')
|
1441
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1442
|
-
Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
|
1443
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1444
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "agents" ADD "birth_date" varchar(255)[0m
|
1445
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "agents" ADD "death_date" varchar(255)
|
1446
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110301121550')[0m
|
1447
|
-
[1m[35m (0.7ms)[0m commit transaction
|
1448
|
-
Migrating to AddIssnToSeriesStatement (20110425133109)
|
1449
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1450
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "series_statements" ADD "issn" varchar(255)
|
1451
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110425133109')[0m
|
1452
|
-
[1m[35m (0.7ms)[0m commit transaction
|
1453
|
-
Migrating to AddEditModeToResourceImportFile (20110603184217)
|
1220
|
+
Migrating to AddTitleSubseriesTranscriptionToSeriesStatement (20120125152919)
|
1454
1221
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1455
|
-
[1m[35m (0.
|
1456
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('
|
1222
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "series_statements" ADD "title_subseries_transcription" text
|
1223
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120125152919')[0m
|
1457
1224
|
[1m[35m (0.7ms)[0m commit transaction
|
1458
|
-
Migrating to
|
1225
|
+
Migrating to CreateBudgetTypes (20120129014038)
|
1459
1226
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1460
|
-
[1m[35m (0.
|
1461
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('
|
1227
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120129014038')[0m
|
1462
1229
|
[1m[35m (0.7ms)[0m commit transaction
|
1463
|
-
Migrating to
|
1230
|
+
Migrating to AddBudgetTypeIdToItem (20120129020544)
|
1464
1231
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1465
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "
|
1466
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('
|
1232
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "items" ADD "budget_type_id" integer
|
1233
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120129020544')[0m
|
1467
1234
|
[1m[35m (0.6ms)[0m commit transaction
|
1468
|
-
Migrating to
|
1469
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1470
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "items" ADD "bookstore_id" integer
|
1471
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_items_on_bookstore_id" ON "items" ("bookstore_id")[0m
|
1472
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110620173525')
|
1473
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1474
|
-
Migrating to CreateSeriesStatementMergeLists (20110627034940)
|
1475
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1476
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1477
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110627034940')
|
1478
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1479
|
-
Migrating to CreateSeriesStatementMerges (20110627035057)
|
1480
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1481
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1482
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_series_statement_merges_on_series_statement_id" ON "series_statement_merges" ("series_statement_id")
|
1483
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_series_statement_merges_on_series_statement_merge_list_id" ON "series_statement_merges" ("series_statement_merge_list_id")[0m
|
1484
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110627035057')
|
1485
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1486
|
-
Migrating to CreateSeriesHasManifestations (20110820131417)
|
1487
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1488
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1489
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_series_has_manifestations_on_series_statement_id" ON "series_has_manifestations" ("series_statement_id")
|
1490
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_series_has_manifestations_on_manifestation_id" ON "series_has_manifestations" ("manifestation_id")[0m
|
1491
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110820131417')
|
1492
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1493
|
-
Migrating to AddLftAndRgtToClassification (20110913120629)
|
1494
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1495
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "classifications" ADD "lft" integer[0m
|
1496
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "classifications" ADD "rgt" integer
|
1497
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')[0m
|
1498
|
-
[1m[35m (0.6ms)[0m commit transaction
|
1499
|
-
Migrating to RenameManifestationNumberListToNumberString (20110916053430)
|
1235
|
+
Migrating to AddContentTypeIdToManifestation (20120319120638)
|
1500
1236
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1501
|
-
[1m[35m (0.
|
1502
|
-
|
1503
|
-
[1m[
|
1504
|
-
Migrating to
|
1505
|
-
Migrating to DeviseCreateUsers (2)
|
1506
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
1237
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "manifestations" ADD "content_type_id" integer DEFAULT 1
|
1238
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120319120638')[0m
|
1239
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1240
|
+
Migrating to CreateAccepts (20120319173203)
|
1507
1241
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1508
|
-
[1m[35m (0.
|
1509
|
-
[1m[36m (0.
|
1510
|
-
[1m[35m (0.1ms)[0m CREATE
|
1511
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('
|
1242
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_accepts_on_basket_id" ON "accepts" ("basket_id")[0m
|
1244
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_accepts_on_item_id" ON "accepts" ("item_id")
|
1245
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120319173203')[0m
|
1512
1246
|
[1m[35m (0.8ms)[0m commit transaction
|
1513
|
-
Migrating to
|
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
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1519
|
-
[1m[35m (0.
|
1520
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('
|
1249
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "subjects" ADD "url" varchar(255)
|
1250
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120406020752')[0m
|
1521
1251
|
[1m[35m (0.7ms)[0m commit transaction
|
1522
|
-
Migrating to
|
1523
|
-
Migrating to CreateLibraries (59)
|
1524
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1525
|
-
[1m[35m (0.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_libraries_on_library_group_id" ON "libraries" ("library_group_id")[0m
|
1527
|
-
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "index_libraries_on_name" ON "libraries" ("name")
|
1528
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('59')[0m
|
1529
|
-
[1m[35m (0.8ms)[0m commit transaction
|
1530
|
-
Migrating to CreateShelves (69)
|
1252
|
+
Migrating to AddYearOfPublicationToManifestation (20120410104851)
|
1531
1253
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1532
|
-
[1m[35m (0.
|
1533
|
-
[1m[36m (0.1ms)[0m [
|
1534
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('69')
|
1535
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1536
|
-
Migrating to CreateCarrierTypes (73)
|
1537
|
-
Migrating to CreateUserGroups (77)
|
1538
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1539
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
1540
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('77')
|
1541
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1542
|
-
Migrating to CreateLibraryGroups (80)
|
1543
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1544
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1545
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")
|
1546
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('80')[0m
|
1254
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "manifestations" ADD "year_of_publication" integer
|
1255
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120410104851')[0m
|
1547
1256
|
[1m[35m (0.8ms)[0m commit transaction
|
1548
|
-
Migrating to CreateFrequencies (112)
|
1549
|
-
Migrating to CreateFormOfWorks (117)
|
1550
|
-
Migrating to CreateBaskets (120)
|
1551
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1552
|
-
[1m[35m (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_baskets_on_user_id" ON "baskets" ("user_id")[0m
|
1554
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('120')
|
1555
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1556
|
-
Migrating to CreateBookstores (124)
|
1557
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1558
|
-
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
1559
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('124')
|
1560
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1561
|
-
Migrating to CreateDonates (125)
|
1562
|
-
Migrating to CreateRequestStatusTypes (130)
|
1563
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1564
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1565
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('130')
|
1566
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1567
|
-
Migrating to CreateRequestTypes (131)
|
1568
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1569
|
-
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
1570
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('131')
|
1571
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1572
|
-
Migrating to CreateRealizes (20080830154109)
|
1573
|
-
Migrating to CreateExemplifies (20080830172106)
|
1574
|
-
Migrating to CreateAgentTypes (20080905191442)
|
1575
|
-
Migrating to CreateSubscriptions (20081006090811)
|
1576
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1577
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1578
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")
|
1579
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_subscriptions_on_order_list_id" ON "subscriptions" ("order_list_id")[0m
|
1580
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20081006090811')
|
1581
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1582
|
-
Migrating to CreateSubscribes (20081006093246)
|
1583
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1584
|
-
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
1585
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_subscribes_on_subscription_id" ON "subscribes" ("subscription_id")
|
1586
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_subscribes_on_work_id" ON "subscribes" ("work_id")[0m
|
1587
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20081006093246')
|
1588
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1589
|
-
Migrating to CreateSearchEngines (20081023092436)
|
1590
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1591
|
-
[1m[36m (0.6ms)[0m [1mCREATE 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) [0m
|
1592
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20081023092436')
|
1593
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1612
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "library_groups" ADD "admin_networks" text[0m
|
1613
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100211105551')
|
1614
|
-
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
1615
|
-
Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
|
1616
|
-
Migrating to AddOpeningHourToLibrary (20100314190054)
|
1617
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1618
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "libraries" ADD "opening_hour" text[0m
|
1619
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100314190054')
|
1620
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1621
|
-
Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
|
1622
|
-
Migrating to CreateManifestationRelationships (20100525124311)
|
1623
|
-
Migrating to CreateUserHasRoles (20100606065209)
|
1624
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1625
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1626
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_user_has_roles_on_user_id" ON "user_has_roles" ("user_id")
|
1627
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_user_has_roles_on_role_id" ON "user_has_roles" ("role_id")[0m
|
1628
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100606065209')
|
1629
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1638
|
-
[1m[36m (0.6ms)[0m [1mALTER TABLE "library_groups" ADD "url" varchar(255) DEFAULT 'http://localhost:3000/'[0m
|
1639
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110222073537')
|
1640
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1641
|
-
Migrating to AddPubDateToManifestation (20110301035123)
|
1642
|
-
Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
|
1643
|
-
Migrating to AddValidPeriodForNewUserToUserGroup (20110318183304)
|
1644
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1645
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "user_groups" ADD "valid_period_for_new_user" integer DEFAULT 0 NOT NULL[0m
|
1646
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "user_groups" ADD "expired_at" datetime
|
1647
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110318183304')[0m
|
1648
|
-
[1m[35m (0.7ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1656
|
-
[1m[35m (0.8ms)[0m ALTER TABLE "manifestations" ADD "volume_number" integer
|
1657
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "manifestations" ADD "issue_number" integer[0m
|
1658
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "manifestations" ADD "serial_number" integer
|
1659
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110916091020')[0m
|
1660
|
-
[1m[35m (0.7ms)[0m commit transaction
|
1661
|
-
Migrating to AddManifestaitonIdToSeriesStatement (20110916103953)
|
1662
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1663
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "series_statements" ADD "manifestation_id" integer
|
1664
|
-
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_series_statements_on_manifestation_id" ON "series_statements" ("manifestation_id")[0m
|
1665
|
-
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110916103953')
|
1666
|
-
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
1667
|
-
Migrating to AddNoteToSeriesStatement (20110918162329)
|
1668
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1669
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "series_statements" ADD "note" text[0m
|
1670
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110918162329')
|
1671
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1672
|
-
Migrating to CreateCreateTypes (20111124110059)
|
1673
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1674
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1675
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111124110059')
|
1676
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1677
|
-
Migrating to CreateRealizeTypes (20111124110319)
|
1678
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1679
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1680
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111124110319')
|
1681
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1682
|
-
Migrating to CreateProduceTypes (20111124110355)
|
1683
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1684
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1685
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111124110355')
|
1686
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1687
|
-
Migrating to AddCreateTypeToCreate (20111124112131)
|
1688
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1689
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "creates" ADD "create_type_id" integer[0m
|
1690
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "realizes" ADD "realize_type_id" integer
|
1691
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "produces" ADD "produce_type_id" integer[0m
|
1692
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111124112131')
|
1693
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1694
|
-
Migrating to AddIsilToLibrary (20120105074911)
|
1695
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1696
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "libraries" ADD "isil" varchar(255)[0m
|
1697
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120105074911')
|
1698
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1699
|
-
Migrating to AddTitleSubseriesTranscriptionToSeriesStatement (20120125152919)
|
1700
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1701
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "series_statements" ADD "title_subseries_transcription" text[0m
|
1702
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120125152919')
|
1703
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1704
|
-
Migrating to CreateBudgetTypes (20120129014038)
|
1705
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1706
|
-
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
1707
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120129014038')
|
1708
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1709
|
-
Migrating to AddBudgetTypeIdToItem (20120129020544)
|
1710
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1711
|
-
[1m[36m (0.6ms)[0m [1mALTER TABLE "items" ADD "budget_type_id" integer[0m
|
1712
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120129020544')
|
1713
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1714
|
-
Migrating to AddContentTypeIdToManifestation (20120319120638)
|
1715
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1716
|
-
[1m[36m (0.7ms)[0m [1mALTER TABLE "manifestations" ADD "content_type_id" integer DEFAULT 1[0m
|
1717
|
-
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120319120638')
|
1718
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1719
|
-
Migrating to CreateAccepts (20120319173203)
|
1720
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1721
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
1722
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_accepts_on_basket_id" ON "accepts" ("basket_id")
|
1723
|
-
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_accepts_on_item_id" ON "accepts" ("item_id")[0m
|
1724
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120319173203')
|
1725
|
-
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
1726
|
-
Migrating to AddYearOfPublicationToManifestation (20120410104851)
|
1727
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1728
|
-
[1m[36m (0.7ms)[0m [1mALTER TABLE "manifestations" ADD "year_of_publication" integer[0m
|
1729
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120410104851')
|
1730
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1731
1257
|
Migrating to AddPictureMetaToPictureFile (20120413072700)
|
1732
|
-
[1m[
|
1733
|
-
[1m[
|
1734
|
-
[1m[
|
1735
|
-
[1m[
|
1258
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1259
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "picture_files" ADD "picture_meta" text
|
1260
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120413072700')[0m
|
1261
|
+
[1m[35m (0.5ms)[0m commit transaction
|
1736
1262
|
Migrating to AddFingerprintToPictureFile (20120413100352)
|
1737
|
-
[1m[
|
1738
|
-
[1m[
|
1739
|
-
[1m[
|
1740
|
-
[1m[
|
1263
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1264
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "picture_files" ADD "picture_fingerprint" varchar(255)
|
1265
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120413100352')[0m
|
1266
|
+
[1m[35m (0.6ms)[0m commit transaction
|
1741
1267
|
Migrating to AddFingerprintToResourceImportFile (20120413161340)
|
1742
|
-
[1m[
|
1743
|
-
[1m[
|
1744
|
-
[1m[
|
1745
|
-
[1m[
|
1746
|
-
Migrating to AddFingerprintToAgentImportFile (20120413161403)
|
1747
|
-
[1m[
|
1748
|
-
[1m[
|
1749
|
-
[1m[
|
1750
|
-
[1m[
|
1268
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1269
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "resource_import_files" ADD "resource_import_fingerprint" varchar(255)
|
1270
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120413161340')[0m
|
1271
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1272
|
+
Migrating to AddFingerprintToAgentImportFile (20120413161403)
|
1273
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1274
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "agent_import_files" ADD "agent_import_fingerprint" varchar(255)
|
1275
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120413161403')[0m
|
1276
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1751
1277
|
Migrating to AddErrorMessageToResourceImportFile (20120413170705)
|
1752
|
-
[1m[
|
1753
|
-
[1m[
|
1754
|
-
[1m[
|
1755
|
-
[1m[
|
1278
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1279
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "resource_import_files" ADD "error_message" text
|
1280
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120413170705')[0m
|
1281
|
+
[1m[35m (0.6ms)[0m commit transaction
|
1756
1282
|
Migrating to AddErrorMessageToAgentImportFile (20120413170720)
|
1757
|
-
[1m[
|
1758
|
-
[1m[
|
1759
|
-
[1m[
|
1760
|
-
[1m[
|
1283
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1284
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "agent_import_files" ADD "error_message" text
|
1285
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120413170720')[0m
|
1286
|
+
[1m[35m (0.6ms)[0m commit transaction
|
1761
1287
|
Migrating to AddAttachmentMetaToManifestation (20120415164821)
|
1762
|
-
[1m[
|
1763
|
-
[1m[
|
1764
|
-
[1m[
|
1765
|
-
[1m[
|
1288
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1289
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "manifestations" ADD "attachment_meta" text
|
1290
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120415164821')[0m
|
1291
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1766
1292
|
Migrating to AddMonthOfPublicationToManifestation (20120418081407)
|
1767
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1768
|
-
[1m[36m (0.6ms)[0m [1mALTER TABLE "manifestations" ADD "month_of_publication" integer[0m
|
1769
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120418081407')
|
1770
|
-
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
1771
|
-
Migrating to AddClosedToShelf (20120510140958)
|
1772
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1773
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "shelves" ADD "closed" boolean DEFAULT 'f' NOT NULL[0m
|
1774
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120510140958')
|
1775
|
-
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
1776
|
-
Migrating to AddAgentIdentifierToAgent (20120511072422)
|
1777
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1778
|
-
[1m[36m (0.8ms)[0m [1mALTER TABLE "agents" ADD "agent_identifier" varchar(255)[0m
|
1779
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_agents_on_agent_identifier" ON "agents" ("agent_identifier")
|
1780
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120511072422')[0m
|
1781
|
-
[1m[35m (0.6ms)[0m commit transaction
|
1782
|
-
Migrating to AddEditModeToAgentImportFile (20120602141129)
|
1783
1293
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1784
|
-
[1m[35m (0.
|
1785
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('
|
1786
|
-
[1m[35m (0.
|
1787
|
-
Migrating to
|
1294
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "manifestations" ADD "month_of_publication" integer
|
1295
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120418081407')[0m
|
1296
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1297
|
+
Migrating to AddClosedToShelf (20120510140958)
|
1788
1298
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1789
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "
|
1790
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('
|
1791
|
-
[1m[35m (0.
|
1792
|
-
Migrating to
|
1299
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "shelves" ADD "closed" boolean DEFAULT 'f' NOT NULL
|
1300
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120510140958')[0m
|
1301
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1302
|
+
Migrating to AddAgentIdentifierToAgent (20120511072422)
|
1793
1303
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1794
|
-
[1m[35m (0.
|
1795
|
-
[1m[36m (0.
|
1796
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('
|
1304
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "agents" ADD "agent_identifier" varchar(255)
|
1305
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_agents_on_agent_identifier" ON "agents" ("agent_identifier")[0m
|
1306
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120511072422')
|
1797
1307
|
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1308
|
+
Migrating to AddEditModeToAgentImportFile (20120602141129)
|
1309
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1310
|
+
[1m[36m (0.7ms)[0m [1mALTER TABLE "agent_import_files" ADD "edit_mode" varchar(255)[0m
|
1311
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120602141129')
|
1312
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
1313
|
+
Migrating to AddFulltextContentToManifestation (20121116031206)
|
1314
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1315
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "manifestations" ADD "fulltext_content" boolean[0m
|
1316
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20121116031206')
|
1317
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1798
1318
|
Migrating to AddAdditionalAttributesToUser (20130221154434)
|
1799
1319
|
[1m[35m (0.0ms)[0m begin transaction
|
1800
|
-
[1m[36m (0.
|
1320
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "users" ADD "username" varchar(255)[0m
|
1801
1321
|
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "deleted_at" datetime
|
1802
|
-
[1m[36m (0.
|
1322
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "expired_at" datetime[0m
|
1803
1323
|
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "failed_attempts" integer DEFAULT 0
|
1804
|
-
[1m[36m (0.
|
1805
|
-
[1m[35m (0.
|
1324
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "users" ADD "unlock_token" varchar(255)[0m
|
1325
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "users" ADD "locked_at" datetime
|
1806
1326
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "confirmed_at" datetime[0m
|
1807
1327
|
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
|
1808
|
-
[1m[36m (0.
|
1328
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_unlock_token" ON "users" ("unlock_token")[0m
|
1809
1329
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130221154434')
|
1810
|
-
[1m[36m (0.
|
1330
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1811
1331
|
Migrating to AddLatitudeAndLongitudeToLibrary (20130412083556)
|
1812
|
-
[1m[35m (0.
|
1813
|
-
[1m[36m (0.
|
1332
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1333
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "libraries" ADD "latitude" float[0m
|
1814
1334
|
[1m[35m (0.2ms)[0m ALTER TABLE "libraries" ADD "longitude" float
|
1815
1335
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130412083556')[0m
|
1816
|
-
[1m[35m (
|
1336
|
+
[1m[35m (1.1ms)[0m commit transaction
|
1817
1337
|
Migrating to AddPeriodicalToManifestation (20130421093852)
|
1818
1338
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1819
|
-
[1m[35m (0.
|
1339
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "manifestations" ADD "periodical" boolean
|
1820
1340
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130421093852')[0m
|
1821
|
-
[1m[35m (0.
|
1341
|
+
[1m[35m (0.6ms)[0m commit transaction
|
1822
1342
|
Migrating to AddCreatorStringToSeriesStatement (20130421155019)
|
1823
|
-
[1m[36m (0.
|
1824
|
-
[1m[35m (0.
|
1825
|
-
[1m[36m (0.
|
1826
|
-
[1m[35m (0.
|
1343
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1344
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "series_statements" ADD "creator_string" text
|
1345
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "series_statements" ADD "volume_number_string" text[0m
|
1346
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "series_statements" ADD "volume_number_transcription_string" text
|
1827
1347
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130421155019')[0m
|
1828
|
-
[1m[35m (0.
|
1348
|
+
[1m[35m (0.5ms)[0m commit transaction
|
1829
1349
|
Migrating to AddSeriesMasterToSeriesStatement (20130421164124)
|
1830
|
-
[1m[36m (0.
|
1831
|
-
[1m[35m (0.
|
1350
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1351
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "series_statements" ADD "series_master" boolean
|
1832
1352
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130421164124')[0m
|
1833
|
-
[1m[35m (0.
|
1353
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1834
1354
|
Migrating to AddRootManifestationIdToSeriesStatement (20130429020822)
|
1835
1355
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1836
|
-
[1m[35m (0.
|
1837
|
-
[1m[36m (0.
|
1356
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "series_statements" ADD "root_manifestation_id" integer
|
1357
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_series_statements_on_root_manifestation_id" ON "series_statements" ("root_manifestation_id")[0m
|
1838
1358
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130429020822')
|
1839
1359
|
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1360
|
+
Migrating to AddManifestationIdToSubject (20130504133816)
|
1361
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1362
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "subjects" ADD "manifestation_id" integer[0m
|
1363
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_subjects_on_manifestation_id" ON "subjects" ("manifestation_id")
|
1364
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130504133816')[0m
|
1365
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1366
|
+
Migrating to AddManifestationIdToClassification (20130504143515)
|
1367
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1368
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "classifications" ADD "manifestation_id" integer
|
1369
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_classifications_on_manifestation_id" ON "classifications" ("manifestation_id")[0m
|
1370
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130504143515')
|
1371
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1372
|
+
Migrating to AddSubjectHeadingTypeIdToSubject (20130504195916)
|
1373
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1374
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "subjects" ADD "subject_heading_type_id" integer[0m
|
1375
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130504195916')
|
1376
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1840
1377
|
Migrating to CreateIdentifierTypes (20130506175303)
|
1841
1378
|
[1m[35m (0.0ms)[0m begin transaction
|
1842
|
-
[1m[36m (0.
|
1379
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1843
1380
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130506175303')
|
1844
1381
|
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1845
1382
|
Migrating to CreateIdentifiers (20130506175834)
|
1846
1383
|
[1m[35m (0.0ms)[0m begin transaction
|
1847
1384
|
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
1848
|
-
[1m[35m (0.
|
1385
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_identifiers_on_body_and_identifier_type_id" ON "identifiers" ("body", "identifier_type_id")
|
1849
1386
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_identifiers_on_manifestation_id" ON "identifiers" ("manifestation_id")[0m
|
1850
1387
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130506175834')
|
1851
|
-
[1m[36m (0.
|
1388
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1852
1389
|
Migrating to AddStatementOfResponsibilityToManifestation (20130509185724)
|
1853
1390
|
[1m[35m (0.0ms)[0m begin transaction
|
1854
|
-
[1m[36m (0.
|
1391
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "manifestations" ADD "statement_of_responsibility" text[0m
|
1855
1392
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130509185724')
|
1856
1393
|
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1857
1394
|
Migrating to CreateUserImportFiles (20140110122216)
|
@@ -1863,277 +1400,129 @@ Migrating to CreateUserImportResults (20140110131010)
|
|
1863
1400
|
[1m[35m (0.0ms)[0m begin transaction
|
1864
1401
|
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1865
1402
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140110131010')
|
1866
|
-
[1m[36m (
|
1403
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
1867
1404
|
Migrating to CreateProfiles (20140122054321)
|
1868
1405
|
[1m[35m (0.0ms)[0m begin transaction
|
1869
|
-
[1m[36m (0.
|
1406
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
1870
1407
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_profiles_on_user_id" ON "profiles" ("user_id")
|
1871
|
-
[1m[36m (0.
|
1408
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_profiles_on_user_number" ON "profiles" ("user_number")[0m
|
1872
1409
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140122054321')
|
1873
|
-
[1m[36m (
|
1410
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
1874
1411
|
Migrating to CreateResourceImportFileTransitions (20140519170214)
|
1875
1412
|
[1m[35m (0.0ms)[0m begin transaction
|
1876
1413
|
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
1877
|
-
[1m[35m (0.
|
1878
|
-
[1m[36m (0.
|
1414
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_resource_import_file_transitions_on_file_id" ON "resource_import_file_transitions" ("resource_import_file_id")
|
1415
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_resource_import_file_transitions_on_sort_key_and_file_id" ON "resource_import_file_transitions" ("sort_key", "resource_import_file_id")[0m
|
1879
1416
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140519170214')
|
1880
|
-
[1m[36m (
|
1417
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
1881
1418
|
Migrating to CreateImportRequestTransitions (20140519171220)
|
1882
1419
|
[1m[35m (0.0ms)[0m begin transaction
|
1883
|
-
[1m[36m (0.
|
1884
|
-
[1m[35m (0.
|
1420
|
+
[1m[36m (0.6ms)[0m [1mCREATE 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) [0m
|
1421
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_import_request_transitions_on_import_request_id" ON "import_request_transitions" ("import_request_id")
|
1885
1422
|
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_import_request_transitions_on_sort_key_and_request_id" ON "import_request_transitions" ("sort_key", "import_request_id")[0m
|
1886
1423
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140519171220')
|
1887
|
-
[1m[36m (0.
|
1424
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1888
1425
|
Migrating to CreateAgentImportFileTransitions (20140524020735)
|
1889
1426
|
[1m[35m (0.0ms)[0m begin transaction
|
1890
|
-
[1m[36m (0.
|
1891
|
-
[1m[35m (0.
|
1892
|
-
[1m[36m (0.
|
1893
|
-
[1m[35m (0.
|
1894
|
-
[1m[36m (0.
|
1427
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
1428
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_agent_import_file_transitions_on_agent_import_file_id" ON "agent_import_file_transitions" ("agent_import_file_id")
|
1429
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_agent_import_file_transitions_on_sort_key_and_file_id" ON "agent_import_file_transitions" ("sort_key", "agent_import_file_id")[0m
|
1430
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140524020735')
|
1431
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1895
1432
|
Migrating to CreateUserImportFileTransitions (20140524074813)
|
1896
|
-
[1m[35m (0.
|
1897
|
-
[1m[36m (0.
|
1433
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1434
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
1898
1435
|
[1m[35m (0.2ms)[0m CREATE INDEX "index_user_import_file_transitions_on_user_import_file_id" ON "user_import_file_transitions" ("user_import_file_id")
|
1899
|
-
[1m[36m (0.
|
1436
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_user_import_file_transitions_on_sort_key_and_file_id" ON "user_import_file_transitions" ("sort_key", "user_import_file_id")[0m
|
1900
1437
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140524074813')
|
1901
|
-
[1m[36m (0.
|
1438
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1902
1439
|
Migrating to DropEmailUniqueConstraintEnjuLeafRc10 (20140610123439)
|
1903
1440
|
[1m[35m (0.0ms)[0m begin transaction
|
1904
|
-
[1m[36m (0.
|
1905
|
-
[1m[35m (0.
|
1441
|
+
[1m[36m (0.4ms)[0m [1mDROP INDEX "index_users_on_email"[0m
|
1442
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
1906
1443
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140610123439')[0m
|
1907
1444
|
[1m[35m (0.7ms)[0m commit transaction
|
1908
1445
|
Migrating to CreateResourceExportFiles (20140614065404)
|
1909
1446
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1910
|
-
[1m[35m (0.
|
1447
|
+
[1m[35m (0.6ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140614065404')[0m
|
1912
|
-
[1m[35m (0.
|
1449
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1913
1450
|
Migrating to CreateResourceExportFileTransitions (20140614141500)
|
1914
1451
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1915
1452
|
[1m[35m (0.4ms)[0m 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
|
-
[1m[36m (0.
|
1917
|
-
[1m[35m (0.
|
1453
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_resource_export_file_transitions_on_file_id" ON "resource_export_file_transitions" ("resource_export_file_id")[0m
|
1454
|
+
[1m[35m (0.5ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140614141500')[0m
|
1919
|
-
[1m[35m (0.
|
1456
|
+
[1m[35m (0.6ms)[0m commit transaction
|
1920
1457
|
Migrating to AddUserEncodingToUserImportFile (20140628072217)
|
1921
1458
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1922
|
-
[1m[35m (0.
|
1459
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "user_import_files" ADD "user_encoding" varchar(255)
|
1923
1460
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140628072217')[0m
|
1924
|
-
[1m[35m (0.
|
1461
|
+
[1m[35m (0.5ms)[0m commit transaction
|
1925
1462
|
Migrating to AddUserEncodingToAgentImportFile (20140628073524)
|
1926
1463
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1927
|
-
[1m[35m (0.
|
1464
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "agent_import_files" ADD "user_encoding" varchar(255)
|
1928
1465
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140628073524')[0m
|
1929
1466
|
[1m[35m (0.6ms)[0m commit transaction
|
1930
1467
|
Migrating to AddUserEncodingToResourceImportFile (20140628073535)
|
1931
1468
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1932
|
-
[1m[35m (0.
|
1469
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "resource_import_files" ADD "user_encoding" varchar(255)
|
1933
1470
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140628073535')[0m
|
1934
|
-
[1m[35m (0.
|
1471
|
+
[1m[35m (0.6ms)[0m commit transaction
|
1935
1472
|
Migrating to CreateUserExportFiles (20140709113413)
|
1936
1473
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1937
|
-
[1m[35m (0.
|
1474
|
+
[1m[35m (0.5ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140709113413')[0m
|
1939
|
-
[1m[35m (
|
1476
|
+
[1m[35m (1.2ms)[0m commit transaction
|
1940
1477
|
Migrating to CreateUserExportFileTransitions (20140709113905)
|
1941
1478
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1942
|
-
[1m[35m (0.
|
1943
|
-
[1m[36m (0.
|
1944
|
-
[1m[35m (0.
|
1479
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_user_export_file_transitions_on_file_id" ON "user_export_file_transitions" ("user_export_file_id")[0m
|
1481
|
+
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140709113905')[0m
|
1946
|
-
[1m[35m (0.
|
1483
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1947
1484
|
Migrating to AddBindingItemIdentifierToItem (20140720140916)
|
1948
1485
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1949
1486
|
[1m[35m (0.4ms)[0m ALTER TABLE "items" ADD "binding_item_identifier" varchar(255)
|
1950
1487
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "items" ADD "binding_call_number" varchar(255)[0m
|
1951
1488
|
[1m[35m (0.2ms)[0m ALTER TABLE "items" ADD "binded_at" datetime
|
1952
|
-
[1m[36m (0.
|
1489
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_items_on_binding_item_identifier" ON "items" ("binding_item_identifier")[0m
|
1953
1490
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140720140916')
|
1954
|
-
[1m[36m (0.
|
1491
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1955
1492
|
Migrating to AddDefaultLibraryIdToUserImportFile (20140720170714)
|
1956
|
-
[1m[35m (0.
|
1493
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1957
1494
|
[1m[36m (0.4ms)[0m [1mALTER TABLE "user_import_files" ADD "default_library_id" integer[0m
|
1958
1495
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140720170714')
|
1959
|
-
[1m[36m (0.
|
1496
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
1960
1497
|
Migrating to AddDefaultUserGroupIdToUserImportFile (20140720170735)
|
1961
1498
|
[1m[35m (0.0ms)[0m begin transaction
|
1962
|
-
[1m[36m (0.
|
1499
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "user_import_files" ADD "default_user_group_id" integer[0m
|
1963
1500
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140720170735')
|
1964
|
-
[1m[36m (0.
|
1501
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
1965
1502
|
Migrating to AddDefaultShelfIdToResourceImportFile (20140721151416)
|
1966
1503
|
[1m[35m (0.0ms)[0m begin transaction
|
1967
|
-
[1m[36m (0.
|
1504
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "resource_import_files" ADD "default_shelf_id" integer[0m
|
1968
1505
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140721151416')
|
1969
1506
|
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
1970
1507
|
Migrating to AddManifestationIdToItem (20140802082007)
|
1971
1508
|
[1m[35m (0.0ms)[0m begin transaction
|
1972
|
-
[1m[36m (0.
|
1509
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "items" ADD "manifestation_id" integer[0m
|
1973
1510
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_items_on_manifestation_id" ON "items" ("manifestation_id")
|
1974
1511
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140802082007')[0m
|
1975
|
-
[1m[35m (
|
1512
|
+
[1m[35m (1.6ms)[0m commit transaction
|
1976
1513
|
Migrating to AddExpiredAtToProfile (20140811031145)
|
1977
1514
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1978
|
-
[1m[35m (0.
|
1515
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "profiles" ADD "expired_at" datetime
|
1979
1516
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140811031145')[0m
|
1980
1517
|
[1m[35m (0.7ms)[0m commit transaction
|
1981
1518
|
Migrating to AddPublicationPlaceToManifestation (20140813182425)
|
1982
1519
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1983
|
-
[1m[35m (0.
|
1520
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "manifestations" ADD "publication_place" text
|
1984
1521
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140813182425')[0m
|
1985
|
-
[1m[35m (0.
|
1986
|
-
|
1987
|
-
Connecting to database specified by database.yml
|
1988
|
-
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
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
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
2073
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2074
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "subjects" ADD "url" varchar(255)
|
2075
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120406020752')[0m
|
2076
|
-
[1m[35m (1.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2099
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "subjects" ADD "manifestation_id" integer
|
2100
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_subjects_on_manifestation_id" ON "subjects" ("manifestation_id")[0m
|
2101
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130504133816')
|
2102
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
2103
|
-
Migrating to AddManifestationIdToClassification (20130504143515)
|
2104
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2105
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "classifications" ADD "manifestation_id" integer[0m
|
2106
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_classifications_on_manifestation_id" ON "classifications" ("manifestation_id")
|
2107
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130504143515')[0m
|
2108
|
-
[1m[35m (0.6ms)[0m commit transaction
|
2109
|
-
Migrating to AddSubjectHeadingTypeIdToSubject (20130504195916)
|
1522
|
+
[1m[35m (0.7ms)[0m commit transaction
|
1523
|
+
Migrating to AddExtentOfTextToManifestation (20140817155043)
|
2110
1524
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2111
|
-
[1m[35m (0.
|
2112
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('
|
2113
|
-
[1m[35m (0.
|
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
|
+
[1m[35m (0.8ms)[0m ALTER TABLE "manifestations" ADD "extent_of_text" text
|
1526
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140817155043')[0m
|
1527
|
+
[1m[35m (0.7ms)[0m commit transaction
|
2139
1528
|
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|