SQLite format 3@ -$# ])Mindexindex_manifestations_on_required_role_idmanifestations CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id") [)Iindexindex_manifestations_on_carrier_type_idmanifestations CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")& ))tablemanifestationsmanifestations 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, "isbn" varchar(255), "isbn10" varchar(255), "wrong_isbn" varchar(255), "nbn" varchar(255), "lccn" varchar(255), "oclc_number" varchar(255), "issn" varchar(255), "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)r Aindexindex_patrons_on_full_namepatrons CREATE INDEX "index_patrons_on_full_name" ON "patrons" ("full_name")O1indexindex_patrons_on_required_role_idpatrons CREATE INDEX "index_patrons_on_required_role_id" ON "patrons" ("required_role_id")uCindexindex_patrons_on_country_idpatronsCREATE INDEX "index_patrons_on_country_id" ON "patrons" ("country_id")xEindexindex_patrons_on_language_idpatronsCREATE INDEX "index_patrons_on_language_id" ON "patrons" ("language_id")s=indexindex_patrons_on_user_idpatronsCREATE UNIQUE INDEX "index_patrons_on_user_id" ON "patrons" ("user_id")P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)07tablepatronspatronsCREATE TABLE "patrons" ("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, "patron_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)=//indexunique_schema_migrationsschema_migrationsCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")q//tableschema_migrationssȁmdxUL:&vvbgOT>D*6! xqjc\J8&r`N<* v d R @ .  z h V D 2  ~ l Z H 6 $  p ^ L : (   t b P > ,  xfTB/ )20120728204337)20120602141129)20120511072422)20120510140958)20120424103932)20120418081407~)20120415164821})20120415060323|)20120415060308{)20120413170720z)20120413170705y)20120413161403x)20120413161340w)20120413100352v)20120413072700u)20120410104851t)20120319173203s)20120319120638r)20120129020544q)20120129014038p)20120125152919o)20120105074911n)20111231145823m)20111218002349l)20111217234412k)20111201163718j)20111201155513i)20111201155456h)20111201121844g)20111124112131f)20111124110355e)20111124110319d)20111124110059c)20111020063828b)20111009183423a)20110918162329`)20110918161853_)20110916103953^)20110916091020])20110916053430\)20110820131417[)20110627122938Z)20110627035057Y)20110627034940X)20110621093332W)20110620173525V)20110619064807U)20110618091240T)20110603184217S)20110425133109R)20110328130826Q)20110318183304P)20110301134521O)20110301121550N)20110301035123M)20110222073537L)20110115022329K)20101212070145J)20100925074559I)20100925043847H)20100814091104G)20100607044753F)20100606073747E)20100525171356D)20100525124311C)20100321235924B)20100223121519A)20100222124420@)20100211105551?)20100129142347>)20091214131723=)20091202124834<)20091025080447;)20091012101112:)200908312203019)200908121519028)200907200914297)200907200911066)200907192018435)200907052120434)200907051339423)200903211304482)200812200341171)200812200236280)20081216190724/)20081216190517.)20081215094955-)20081215094302,)20081212151820+)20081212151614*)20081212080038))20081212075554()20081030023615')20081030023518&)20081030023412%)20081028083208$)20081028083142#)20081027150907")20081025083905!)20081025083323 )20081023092436)20081006093246)20081006090811)20080905191442)20080830172106)200808301541091321311301291271251241211201171128077 73 69 59 55 473533321512651 `{skc[SKC0 r_L9& { h U B /  q ^ K 8 %  z g T A .   p ] J 7 $  y f S @ -  o\I6#t`)20120728204337)20120602141129)20120511072422)20120510140958)20120424103932)20120418081407)20120415164821~)20120415060323})20120415060308|)20120413170720{)20120413170705z)20120413161403y)20120413161340x)20120413100352w)20120413072700v)20120410104851u)20120319173203t)20120319120638s)20120129020544r)20120129014038q)20120125152919p)20120105074911o)20111231145823n)20111218002349m)20111217234412l)20111201163718k)20111201155513j)20111201155456i)20111201121844h)20111124112131g)20111124110355f)20111124110319e)20111124110059d)20111020063828c)20111009183423b)20110918162329a)20110918161853`)20110916103953_)20110916091020^)20110916053430])20110820131417\)20110627122938[)20110627035057Z)20110627034940Y)20110621093332X)20110620173525W)20110619064807V)20110618091240U)20110603184217T)20110425133109S)20110328130826R)20110318183304Q)20110301134521P)20110301121550O)20110301035123N)20110222073537M)20110115022329L)20101212070145K)20100925074559J)20100925043847I)20100814091104H)20100607044753G)20100606073747F)20100525171356E)20100525124311D)20100321235924C)20100223121519B)20100222124420A)20100211105551@)20100129142347?)20091214131723>)20091202124834=)20091025080447<)20091012101112;)20090831220301:)200908121519029)200907200914298)200907200911067)200907192018436)200907052120435)200907051339424)200903211304483)200812200341172)200812200236281)200812161907240)20081216190517/)20081215094955.)20081215094302-)20081212151820,)20081212151614+)20081212080038*)20081212075554))20081030023615()20081030023518')20081030023412&)20081028083208%)20081028083142$)20081027150907#)20081025083905")20081025083323!)20081023092436 )20081006093246)20081006090811)20080905191442)20080830172106)20080830154109132131130129127125124121120117112807773 69 59 55 47 353332151265 1            77 Rcbh))Atablemanifestationsmanifestations CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" tex4?tablepatronspatronsCREATE TABLE "patrons" ("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, "patron_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, "full_name_alternative_transcription" text, "birth_date" varchar(255), "death_date" varchar(255), "patron_identifier" varchar(255))r Aindexindex_patrons_on_full_namepatrons CREATE INDEX "index_patrons_on_full_name" ON "patrons" ("full_name")O1indexindex_patrons_on_required_role_idpatrons CREATE INDEX "index_patrons_on_required_role_id" ON "patrons" ("required_role_id")uCindexindex_patrons_on_country_idpatronsCREATE INDEX "index_patrons_on_country_id" ON "patrons" ("country_id")xEindexindex_patrons_on_language_idpatronsCREATE INDEX "index_patrons_on_language_id" ON "patrons" ("language_id")s=indexindex_patrons_on_user_idpatronsCREATE UNIQUE INDEX "index_patrons_on_user_id" ON "patrons" ("user_id")P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)_tablepatronspatronsCREATE TABLE "patrons" ("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, "patron_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, "full_name_alternative_transcription" text)=//indexunique_schema_migrationsschema_migrationsCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")q//tableschema_migrationsschema_migrationsCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  K ss v u ` =wK)index$I|C)indexindex_manifestations_on_nbnmanifestationsCREATE INDEX# ])Mindexindex_manifestations_on_required_role_idmanifestations CREATE IN[)Iindexindex_manifestations_on_carrier_type_idmanifestations CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")])Mindexindex_manifestations_on_required_role_idmanifestations CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")E)indexindex_manifestations_on_isbnmanifestationsCREATE INDEX "index_manifestations_on_isbn" ON "manifestations" ("isbn")~C)indexindex_manifestations_on_nbnmanifestationsCREATE INDEX "index_manifestations_on_nbn" ON "manifestations" ("nbn")E)indexindex_manifestaGmtableitemsitemsCREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "call_number" varchar(255), "item_identifier" varchar(255), "circulation_status_id" integer DEFAULT 5 NOT NULL, "checkout_type_id" integer DEFAULT 1 NOT NULL, "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, "acquired_at" datetime, "bookstore_id" integer, "budget_type_id" integer) mtablecreatescreates"CREATE TABLE "creates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "patron_id" integer NOT NULL, "work_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "create_type_id" integer)*9tableitemsitemsCREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "call_number" varchar(255), "item_identifier" varchar(255), "circulation_status_id" integer DEFAULT 5 NOT NULL, "checkout_type_id" integer DEFAULT 1 NOT NULL, "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, "acquired_at" datetime, "bookstore_id" integer)U=indexindex_items_on_circulation_status_iditemsCREATE INDEX "index_items_on_circulation_status_id" ON "items" ("circulation_status_id")K)indexindex_items_on_checkout_type_iditemsCREATE INDEX "index_items_on_checkout_type_id" ON "items" ("checkout_type_id")g; indexindex_items_on_shelf_iditemsCREATE INDEX "index_items_on_shelf_id" ON "items" ("shelf_id")|I%indexindex_items_on_item_identifieritemsCREATE INDEX "index_items_on_item_identifier" ON "items" ("item_identifier")K)indexindex_items_on_required_role_iditemsCREATE INDEX "index_items_on_required_role_id" ON "items" ("required_role_id")h3tableownsownsCREATE TABLE "owns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "patron_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)f; indexindex_owns_on_patron_idowns CREATE INDEX "index_owns_on_patron_id" ON "owns" ("patron_id")`7indexindex_owns_on_item_idowns!CREATE INDEX "index_owns_on_item_id" ON "owns" ("item_id")9tablecreatescreates"CREATE TABLE "creates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "patron_id" integer NOT NULL, "work_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)r Aindexindex_creates_on_patron_idcreates#CREATE INDEX "index_creates_on_patron_id" ON "creates" ("patron_id")l!= indexindex_creates_on_work_idcreates$CREATE INDEX "index_creates_on_work_id" ON "creates" ("work_id")       i =?NDxGGtableuser_group_has_checkout_typesuser_group_has_checkout_typesCREATE TABLE "user_group_has_checkout_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer NOT NULL, "checkout_type_id" integer NOT NULL, "checkout_limit" integer DEFAULT 0 NOT NULL, "checkout_period" integer DEFAULT 0 NOT NULL, "checkout_renewal_limit" integer DEFAULT 0 NOT NULL, "reservation_limit" integer DEFAULT 0 NOT NULL, "reservation_expired_period" integer DEFAULT 7 NOT NULL, "set_due_date_before_closing_day" boolean DEFAULT 'f' NOT NULL, "fixed_due_date" datetime, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "current_checkout_count" integer)8)))tablebookmark_statsbookmark_statsCREATE TABLE "bookmark_stats" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_date" datetime, "end_date" datetime, "started_at" datetime, "completed_at" datetime, "note" text, "state" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)bEEEtablemanifestation_checkout_statsmanifestation_checkout_statsCREATE TABLE "manifestation_checkout_stats" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_date" datetime, "end_date" datetime, "note" text, "state" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "started_at" datetime, "completed_at" datetime)mMindexindex_checkout_stat_has_manifestations_on_manifestation_idcheckout_stat_has_manifestationsCREATE INDEX "index_checkout_stat_has_manifestations_on_manifestation_id" ON "checkout_stat_has_manifestations" ("manifestation_id"){M1indexindex_checkout_stat_has_manifestations_on_checkout_stat_idcheckout_stat_has_manifestationsCREATE INDEX "index_checkout_stat_has_manifestations_on_checkout_stat_id" ON "checkout_stat_has_manifestations" ("manifestation_checkout_stat_id")b~MM5tablecheckout_stat_has_manifestationscheckout_stat_has_manifestationsCREATE TABLE "checkout_stat_has_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "manifestation_checkout_stat_id" integer NOT NULL, "manifestation_id" integer NOT NULL, "checkouts_count" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)h}Kindexindex_carrier_type_has_checkout_types_on_checkout_type_idcarrier_type_has_checkout_typesCREATE INDEX "index_carrier_type_has_checkout_types_on_checkout_type_id" ON "carrier_type_has_checkout_types" ("checkout_type_id")Y|qKindexindex_carrier_type_has_checkout_types_on_m_form_idcarrier_type_has_checkout_typesCREATE INDEX "index_carrier_type_has_checkout_types_on_m_form_id" ON "carrier_type_has_checkout_types" ("carrier_type_id")V{KK!tablecarrier_type_has_checkout_typescarrier_type_has_checkout_typesCREATE TABLE "carrier_type_has_checkout_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "carrier_type_id" integer NOT NULL, "checkout_type_id" integer NOT NULL, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)`z{G indexindex_user_group_has_checkout_types_on_checkout_type_iduser_group_has_checkout_typesCREATE INDEX "index_user_group_has_checkout_types_on_checkout_type_id" ON "user_group_has_checkout_types" ("checkout_type_id")WyuG}indexindex_user_group_has_checkout_types_on_user_group_iduser_group_has_checkout_typesCREATE INDEX "index_user_group_has_checkout_types_on_user_group_id" ON "user_group_has_checkout_types" ("user_group_id")wE)indexindex_checkout_types_on_namecheckout_typesCREATE INDEX "index_checkout_types_on_name" ON "checkout_types" ("name")                   I  $  {rIIIIII"tablereservesreserves1CREATE TABLE "reserves" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "manifestation_id" integer NOT NULL, "item_id" integer, "request_status_type_id" integer NOT NULL, "checked_out_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "canceled_at" datetime, "expired_at" datetime, "deleted_at" datetime, "state" varchar(255), "expiration_notice_to_patron" boolean DEFAULT 'f', "expiration_notice_to_library" boolean DEFAULT 'f', "expire_date" varchar(255))t6Aindexindex_bookmarks_on_user_idbookmarks:CREATE INDEX "index_bookmarks_on_user_id" ON "bookmarks" ("user_id")"5tablebookmarksbookmarks9CREATE TABLE "bookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "manifestation_id" integer, "title" text, "url" varchar(255), "note" text, "shared" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 4Q5indexindex_produces_on_manifestation_idproduces8CREATE INDEX "index_produces_on_manifestation_id" ON "produces" ("manifestation_id")v3Cindexindex_produces_on_patron_idproduces7CREATE INDEX "index_produces_on_patron_id" ON "produces" ("patron_id")Mtableproducesproduces6CREATE TABLE "produces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "patron_id" integer NOT NULL, "manifestation_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)]Mindexindex_reserves_on_request_status_type_idreserves5CREATE INDEX "index_reserves_on_request_status_type_id" ON "reserves" ("request_status_type_id")r?indexindex_reserves_on_item_idreserves4CREATE INDEX "index_reserves_on_item_id2tableproducesproduces6CREATE TABLE "produces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "patron_id" integer NOT NULL, "manifestation_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "produce_type_id" integer)},G!indexindex_checkouts_on_checkin_idcheckouts0CREATE INDEX "index_checkouts_on_checkin_id" ON "checkouts" ("checkin_id")+K)indexindex_checkouts_on_librarian_idcheckouts/CREATE INDEX "index_checkouts_on_librarian_id" ON "checkouts" ("librarian_id")$*]Yindexindex_checkouts_on_item_id_and_basket_idcheckouts.CREATE UNIQUE INDEX "index_checkouts_on_item_id_and_basket_id" ON "checkouts" ("item_id", "basket_id")z)Eindexindex_checkouts_on_basket_idcheckouts-CREATE INDEX "index_checkouts_on_basket_id" ON "checkouts" ("basket_id")t(Aindexindex_checkouts_on_item_idcheckouts,CREATE INDEX "index_checkouts_on_item_id" ON "checkouts" ("item_id")t'Aindexindex_checkouts_on_user_idcheckouts+CREATE INDEX "index_checkouts_on_user_id" ON "checkouts" ("user_id")&otablecheckoutscheckouts)CREATE TABLE "checkouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer NOT NULL, "checkin_id" integer, "librarian_id" integer, "basket_id" integer, "due_date" datetime, "checkout_renewal_count" integer DEFAULT 0 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)v%Cindexindex_checkins_on_basket_idcheckins(CREATE INDEX "index_checkins_on_basket_id" ON "checkins" ("basket_id")$I%indexindex_checkins_on_librarian_idcheckins'CREATE INDEX "index_checkins_on_librarian_id" ON "checkins" ("librarian_id")p#?indexindex_checkins_on_item_idcheckins&CREATE INDEX "index_checkins_on_item_id" ON "checkins" ("item_id")o"1tablecheckinscheckins%CREATE TABLE "checkins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer NOT NULL, "librarian_id" integer, "basket_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)           4321         nr  # <gtableshelvesshelvesACREATE 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, "closed" boolean DEFAULT 'f' NOT NULL)W9}tablelibrarieslibraries=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, "isil" varchar(255))nD3tablebasketsbasketsICREATE 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) C''Qtableform_of_worksform_of_worksHCREATE 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)B##MtablefrequenciesfrequenciesGCREATE 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)?##tableuser_groupsuser_groupsDCREATE 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, "valid_period_for_new_user" integer DEFAULT 0 NOT NULL, "expired_at" datetime, "number_of_day_to_notify_overdue" integer DEFAULT 1 NOT NULL, "number_of_day_to_notify_due_date" integer DEFAULT 7 NOT NULL, "number_of_time_to_notify_overdue" integer DEFAULT 3 NOT NULL) >''Qtablecarrier_typescarrier_typesCCREATE 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)u=Cindexindex_shelves_on_library_idshelvesBCREATE INDEX "index_shelves_on_library_id" ON "shelves" ("library_id")dtableshelvesshelvesACREATE 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)r;;indexindex_libraries_on_namelibraries@CREATE UNIQUE INDEX "index_libraries_on_name" ON "libraries" ("name"):S9indexindex_libraries_on_library_group_idlibraries?CREATE INDEX "index_libraries_on_library_group_id" ON "libraries" ("library_group_id")h89indexindex_bookmarks_on_urlbookmarksg u WeeeeeO11indexindex_user_reserve_stats_on_stateuser_reserve_statsCREATE INDEX "index_user_reserve_smMindexindex_bookmark_stat_has_m099ytablereserve_stat_has_usersreserve_stat_has_usersCREATE TABLE "reserve_stat_has_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_reserve_stat_id" integer NOT NULL, "user_id" integer NOT NULL, "reserves_count" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)Pu9}indexindex_reserve_stat_has_users_on_user_reserve_stat_idreserve_stat_has_usersCREATE INDEX "index_reserve_stat_has_users_on_user_reserve_stat_id" ON "reserve_stat_has_users" ("user_reserve_stat_id"))[9Iindexindex_reserve_stat_has_users_on_user_idreserve_stat_has_usersCREATE INDEX "index_reserve_stat_has_users_on_user_id" ON "reserve_stat_has_users" ("user_id")Q35indexindex_user_checkout_stats_on_stateuser_checkout_statsCREATE INDEX "index_user_checkout_stats_on_state" ON "user_checkout_stats" ("state")O11indexindex_user_reserve_stats_on_stateuser_reserve_statsCREATE INDEX "index_user_reserve_stats_on_state" ON "user_reserve_stats" ("state");cEYindexindex_manifestation_checkout_stats_on_statemanifestation_checkout_statsCREATE INDEX "index_manifestation_checkout_stats_on_state" ON "manifestation_checkout_stats" ("state")7aCUindexindex_manifestation_reserve_stats_on_statemanifestation_reserve_statsCREATE INDEX "index_manifestation_reserve_stats_on_state" ON "manifestation_reserve_stats" ("state")xEtableextentsextentsCREATE 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)%99ctablemedium_of_performancesmedium_of_performancesCREATE 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) ''Qtablecontent_typescontent_typesCREATE 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).??itablepatron_relationship_typespatron_relationship_typesCREATE TABLE "patron_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),-- tablelending_policieslending_policiesCREATE TABLE "lending_policies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer NOT NULL, "user_group_id" integer NOT NULL, "loan_period" integer DEFAULT 0 NOT NULL, "fixed_due_date" datetime, "renewal" integer DEFAULT 0 NOT NULL, "fine" decimal DEFAULT 0 NOT NULL, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)Ms-indexindex_lending_policies_on_item_id_and_user_group_idlending_policiesCREATE UNIQUE INDEX "index_lending_policies_on_item_id_and_user_group_id" ON "lending_policies" ("item_id", "user_group_id")E)indexindex_manifestations_on_lccnmanifestationsCREATE INDEX "index_manifestations_on_lccn" ON "manifestations" ("lccn")S)9indexindex_manifestations_on_oclc_numbermanifestationsCREATE INDEX "index_manifestations_on_oclc_number" ON "manifestations" ("oclc_number")E)indexindex_manifestations_on_issnmanifestationsCREATE INDEX "index_manifestations_on_issn" ON "manifestations" ("issn")Y)Eindexindex_manifestations_on_access_addressmanifestationsCREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")U)=indexindex_manifestations_on_frequency_idmanifestationsCREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")              ] R 8  sOj]]] //etableseries_statementsseries_statementsCREATE 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, "title_transcription" text, "title_alternative" text, "series_statement_identifier" varchar(255), "issn" varchar(255), "periodical" boolean, "manifestation_id" integer)/:55tablepatron_relationshipspatron_relationshipsCREATE TABLE "patron_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "patron_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "position" integer)V9indexindex_taggings_on_taggable_id_and_taggable_type_and_contexttaggingsCREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")n8= indexindex_taggings_on_tag_idtaggingsCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")7mtabletaggingstaggingsCREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar(255), "tagger_id" integer, "tagger_type" varchar(255), "context" varchar(255), "created_at" datetime)S6tabletagstagsCREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "name_transcription" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)@5gCaindexindex_manifestation_relationships_on_child_idmanifestation_relationshipsCREATE INDEX "index_manifestation_relationships_on_child_id" ON "manifestation_relationships" ("child_id")C4iCeindexindex_manifestation_relationships_on_parent_idmanifestation_relationshipsCREATE INDEX "index_manifestation_relationships_on_parent_id" ON "manifestation_relationships" ("parent_id")K3CCtablemanifestation_relationshipsmanifestation_relationshipsCREATE 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, "position" integer)y/indexindex_series_statements_on_series_statement_identifierseries_statementsCREATE INDEX "index_series_statements_on_series_statement_identifier" ON "series_statements" ("series_statement_identifier") 0M+-indexindex_import_requests_on_user_idimport_requestsCREATE INDEX "index_import_requests_on_user_id" ON "import_requests" ("user_id")(/_+Qindexindex_import_requests_on_manifestation_idimport_requestsCREATE INDEX "index_import_requests_on_manifestation_id" ON "import_requests" ("manifestation_id").G+!indexindex_import_requests_on_isbnimport_requestsCREATE INDEX "index_import_requests_on_isbn" ON "import_requests" ("isbn")-++atableimport_requestsimport_requestsCREATE 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)+[Gindexindex_versions_on_item_type_and_item_idversionsCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")*[tableversionsversionsCREATE 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))WtablelicenseslicensesCREATE 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)        8c < - / +';[5Iindexindex_patron_relationships_on_parent_idpatron_relationshipsCREATE INDEX "index_patron_relationships_on_parent_id" ON "patron_relationships" ("parent_id")$<Y5Eindexindex_patron_relationships_on_';[5Iindexindex_patron_relationships_on_parent_idpatron_relationshipsCREATE INDEX "index_patron_relationships_on_parent_id" ON "patron_relationships" ("parent_id")$<Y5Eindexindex_patron_relationships';[5Iindexindex_patron_relationships_on_parent_idpatron_relationshipsCREATE INDEX "index_patron_relationships_on_parent_id" ON "patron_relationships" ("parent_id")$<Y5Eindexindex_patron_relationships_on_child_idpatron_relationshipsCREATE INDEX "index_patron_relationships_on_child_id" ON "patron_relationships" ("child_id")C=MMwtablemanifestation_relationship_typesmanifestation_relationship_typesCREATE 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)3>;;{tableresource_import_resultsresource_import_resultsCREATE 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)]?}; indexindex_resource_import_results_on_resource_import_file_idresource_import_resultsCREATE INDEX "index_resource_import_results_on_resource_import_file_id" ON "resource_import_results" ("resource_import_file_id")H@o;qindexindex_resource_import_results_on_manifestation_idresource_import_resultsCREATE INDEX "index_resource_import_results_on_manifestation_id" ON "resource_import_results" ("manifestation_id")-A];Mindexindex_resource_import_results_on_item_idresource_import_resultsCREATE INDEX "index_resource_import_results_on_item_id" ON "resource_import_results" ("item_id")$B77etablepatron_import_resultspatron_import_resultsCREATE TABLE "patron_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "patron_import_file_id" integer, "patron_id" integer, "user_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)tECindexindex_items_on_bookstore_iditemsCREATE INDEX "index_items_on_bookstore_id" ON "items" ("bookstore_id")FYtablereservesreserves1CREATE TABLE "reserves" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "manifestation_id" integer NOT NULL, "item_id" integer, "request_status_type_id" integer NOT NULL, "checked_out_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "canceled_at" datetime, "expired_at" datetime, "deleted_at" datetime, "state" varchar(255), "expiration_notice_to_patron" boolean DEFAULT 'f', "expiration_notice_to_library" boolean DEFAULT 'f')pG?indexindex_reserves_on_user_idreserves2CREATE INDEX "index_reserves_on_user_id" ON "reserves" ("user_id") HQ5indexindex_reserves_on_manifestation_idreserves3CREATE INDEX "index_reserves_on_manifestation_id" ON "reserves" ("manifestation_id")pI?indexindex_reserves_on_item_idreserves4CREATE INDEX "index_reserves_on_item_id" ON "reserves" ("item_id")J]Mindexindex_reserves_on_request_status_type_idreserves5CREATE INDEX "index_reserves_on_request_status_type_id" ON "reserves" ("request_status_type_id")yKEEstableseries_statement_merge_listsseries_statement_merge_listsCREATE 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)/L;;stableseries_statement_mergesseries_statement_mergesCREATE 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)     X ~ S d QMu;}indexindex_series_statement_merges_on_series_statement_idseries_statement_mergesCREATE INDEX "index_series_statement_merges_on_series_statement_id" ON "series_statement_merges" ("series_statement_id")sN ;)indexindex_series_statement_merges_on_series_statement_merge_list_idseries_statement_mergesCREATE INDEX "index_series_statement_merges_on_series_statement_merge_list_id" ON "series_statement_merges" ("series_statement_merge_list_id"))O??_tableseries|VC)indexindex_manifestations_on_nbnmanifestationsCREATE INDEX "index_manifestations_on_nbn" ON "manifestations" ("nbn")WE)indexindex_manifestations_on_lccnmanifestationsCREATE INDEX "index_manifestations_on_lccn" ON "manifestations" ("lccn")XS)9indexindex_manifestations_on_oclc_numbermanifestationsCREATE INDEX "index_manifestations_on_oclc_number" ON "manifestations" ("oclc_number")YE)indexindex_manifestations_on_issnmanifestationsCREATE INDEX "index_manifestations_on_issn" ON "manifestations" ("issn")ZY)Eindexindex_manifestations_on_access_addressmanifestationsCREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")[U)=indexindex_manifestations_on_frequency_idmanifestationsCREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id");\m)mindexindex_manifestations_on_manifestation_identifiermanifestationsCREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")]Q)5indexindex_manifestations_on_updated_atmanifestationsCREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")^//Utableseries_statementsseries_statementsCREATE 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, "title_transcription" text, "title_alternative" text, "series_statement_identifier" varchar(255), "issn" varchar(255), "periodical" boolean, "root_manifestation_id" integer, "note" text, "title_subseries_transcription" text)5_c/cindexindex_series_statements_on_manifestation_idseries_statementsCREATE INDEX "index_series_statements_on_manifestation_id" ON "series_statements" ("root_manifestation_id")Q`y/indexindex_series_statements_on_series_statement_identifierseries_statementsCREATE INDEX "index_series_statements_on_series_statement_identifier" ON "series_statements" ("series_statement_identifier") a))Utablelibrary_groupslibrary_groupsECREATE TABLE "library_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "email" varchar(255), "my_networks" text, "login_banner" text, "note" text, "country_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "admin_networks" text, "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL, "position" integer, "url" varchar(255) DEFAULT 'http://localhost:3000/')bQ)5indexindex_library_groups_on_short_namelibrary_groupsFCREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")~c%%=tablecreate_typescreate_typesCREATE 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)d''?tablerealize_typesrealize_typesCREATE 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)                   WE)indexindex_manifestations_on_lccnmanifestationsCREATE INDEX "index_manifestations_on_lccn" ON "manifestations" ("lccn")|VC)indexindex_manifestations_on_nbnmanifestationsCREATE INDEX "index_manifestations_on_nbn" ON "manifestations" ("nbn")UE)indexindex_manifestations_on_isbnmanifestationsCREATE INDEX "index_manifestations_on_isbn" ON "manifestations" ("isbn")/L;;stableseries_statement_mergesseries_statement_mergesCREATE 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)QMu;}indexindex_series_statement_merges_on_series_statement_idseries_statement_mergesCREATE INDEX "index_series_statement_merges_on_series_statement_id" ON "series_statement_merges" ("series_statement_id")sN ;)indexindex_series_statement_merges_on_series_statement_merge_list_idseries_statement_mergesCREATE INDEX "index_series_statement_merges_on_series_statement_merge_list_id" ON "series_statement_merges" ("series_statement_merge_list_id"))O??_tableseries_has_manifestationsseries_has_manifestationsCREATE 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)YPy?indexindex_series_has_manifestations_on_series_statement_idseries_has_manifestationsCREATE INDEX "index_series_has_manifestations_on_series_statement_id" ON "series_has_manifestations" ("series_statement_id")PQs?yindexindex_series_has_manifestations_on_manifestation_idseries_has_manifestationsCREATE INDEX "index_series_has_manifestations_on_manifestation_id" ON "series_has_manifestations" ("manifestation_id")AR))=tablemanifestationsmanifestations 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 NO]Q)5indexindex_manifestations_on_updated_atmanifestationsCREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at");\m)mindexindex_manifestations_on_manifestation_identifiermanifestationsCREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")[U)=indexindex_manifestations_on_frequency_idmanifestationsCREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")ZY)Eindexindex_manifestations_on_access_addressmanifestationsCREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")YE)indexindex_manifestations_on_issnmanifestationsCREATE INDEX "index_manifestations_on_issn" ON "manifestations" ("issn")K[)Iindexindex_manifestations_on_carrier_type_idmanifestations CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")])Mindexindex_manifestations_on_required_role_idmanifestations CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")UE)indexindex_manifestations_on_isbnmanifestationsCREATE INDEX "index_manifestations_on_isbn" ON "manifestations" ("isbn")|VC)indexindex_manifestations_on_nbnmanifestationsCREATE INDEX "index_manifestations_on_nbn" ON "manifestations" ("nbn")WE)indexindex_manifestations_on_lccnmanifestationsCREATE INDEX "index_manifestations_on_lccn" ON "manifestations" ("lccn")XS)9indexindex_manifestations_on_oclc_numbermanifestationsCREATE INDEX "index_manifestations_on_oclc_number" ON "manifestations" ("oclc_number")         }}o s a r  +g3tableusersusersCREATE 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, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_createXS)9indexindex_manifestations_on_oclc_numbermanifestationsCREATE INDEX "index_manifestations_on_oclc_number" ON "manifestations" ("oclc_number")YE)indexindex_manifestations_on_issnmanifestationsCREATE INDEX "index_manifestations_on_issn" ON "manifestations" ("issn")ZY)Eindexindex_manifestations_on_access_addressmanifestationsCREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")[U)=indexindex_manifestations_on_frequency_idmanifestationsCREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id");\m)mindexindex_manifestations_on_manifestation_identifiermanifestationsCREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")]Q)5indexindex_manifestations_on_updated_atmanifestationsCREATE INDEX "index_mae''?tableproduce_typesproduce_typesCREATE 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)if/tablerolesrolesCREATE 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)%g'tableusersusersCREATE 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, "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), "password_salt" varchar(255), "confirmation_token" varchar(255), "confirmed_at" datetime, "confirmation_sent_at" datetime, "unconfirmed_email" varchar(255), "failed_attempts" integer DEFAULT 0, "unlock_token" varchar(255), "locked_at" datetime, "authentication_token" varchar(255), "deleted_at" datetime, "save_checkout_history" boolean DEFAULT 'f' NOT NULL, "checkout_icalendar_token" varchar(255), "share_bookmarks" boolean)^h5}indexindex_users_on_emailusersCREATE INDEX "index_users_on_email" ON "users" ("email")iSGindexindex_users_on_reset_password_tokenusersCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")_j))wtableuser_has_rolesuser_has_rolesCREATE 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)k[Windexindex_users_on_checkout_icalendar_tokenusersCREATE UNIQUE INDEX "index_users_on_checkout_icalendar_token" ON "users" ("checkout_icalendar_token")~l%%=tablebudget_typesbudget_typesCREATE 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)dmtableacceptsacceptsCREATE 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)              r (F1-\p77Wtableresource_import_filesresource_import_fileszCREATE 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 NOsU7=indexindex_resource_import_files_on_stateresource_import_files}CREATE INDEX "index_resource_import_files_on_state" ON "resource_import_files" ("state")$rY7Eindexindex_resource_import_files_on_user_idresource_import_files|CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")%g'tableusersusersCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINLt33?tablepatron_import_filespatron_import_filesuCREATE TABLE "patron_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), "patron_import_file_name" varchar(255), "patron_import_content_type" varchar(255), "patron_import_file_size" integer, "patron_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "patron_import_fingerprint" varchar(255), "error_message" text, "edit_mode" varchar(255)) xQ5indexindex_patrons_on_patron_identifierpatronsCREATE INDEX "index_patrons_on_patron_identifier" ON "patrons" ("patron_identifier")wQ35indexindex_patron_import_files_on_statepatron_import_filesCREATE INDEX "index_patron_import_files_on_state" ON "patron_import_files" ("state")vU3=indexindex_patron_import_files_on_user_idpatron_import_filesyCREATE INDEX "index_patron_import_files_on_user_id" ON "patron_import_files" ("user_id")"uY3Eindexindex_patron_import_files_on_parent_idpatron_import_fileswCREATE INDEX "index_patron_import_files_on_parent_id" ON "patron_import_files" ("parent_id")snAindexindex_accepts_on_basket_idacceptsCREATE INDEX "index_accepts_on_basket_id" ON "accepts" ("basket_id")mo= indexindex_accepts_on_item_idacceptsCREATE INDEX "index_accepts_on_item_id" ON "accepts" ("item_id")\p77Wtableresource_import_filesresource_import_fileszCREATE 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)*q]7Mindexindex_resource_import_files_on_parent_idresource_import_files{CREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")$rY7Eindexindex_resource_import_files_on_user_idresource_import_files|CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")sU7=indexindex_resource_import_files_on_stateresource_import_files}CREATE INDEX "index_resource_import_files_on_state" ON "resource_import_files" ("state") 33 tablepatron_import_filespatron_import_filesuCREATE TABLE "patron_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&yIIEtableseries_statement_relationshipsseries_statement_relationshipsCREATE TABLE "series_statement_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)