spec/dummy/db/schema.rb in enju_oai-0.1.0.pre9 vs spec/dummy/db/schema.rb in enju_oai-0.1.0.pre10
- old
+ new
@@ -9,11 +9,11 @@
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20121116033446) do
+ActiveRecord::Schema.define(:version => 20130509185724) do
create_table "bookstores", :force => true do |t|
t.text "name", :null => false
t.string "zip_code"
t.text "address"
@@ -136,10 +136,31 @@
t.integer "position"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
+ create_table "identifier_types", :force => true do |t|
+ t.string "name"
+ t.text "display_name"
+ t.text "note"
+ t.integer "position"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
+ end
+
+ create_table "identifiers", :force => true do |t|
+ t.string "body", :null => false
+ t.integer "identifier_type_id", :null => false
+ t.integer "manifestation_id"
+ t.boolean "primary"
+ t.integer "position"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
+ end
+
+ add_index "identifiers", ["body", "identifier_type_id"], :name => "index_identifiers_on_body_and_identifier_type_id"
+
create_table "import_requests", :force => true do |t|
t.string "isbn"
t.string "state"
t.integer "manifestation_id"
t.integer "user_id"
@@ -335,10 +356,12 @@
t.integer "year_of_publication"
t.string "attachment_fingerprint"
t.text "attachment_meta"
t.integer "month_of_publication"
t.string "doi"
+ t.boolean "periodical"
+ t.text "statement_of_responsibility"
end
add_index "manifestations", ["access_address"], :name => "index_manifestations_on_access_address"
add_index "manifestations", ["carrier_type_id"], :name => "index_manifestations_on_carrier_type_id"
add_index "manifestations", ["created_at"], :name => "index_manifestations_on_created_at"
@@ -671,22 +694,28 @@
t.text "original_title"
t.text "numbering"
t.text "title_subseries"
t.text "numbering_subseries"
t.integer "position"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
t.text "title_transcription"
t.text "title_alternative"
t.string "series_statement_identifier"
t.string "issn"
t.boolean "periodical"
- t.integer "root_manifestation_id"
+ t.integer "manifestation_id"
t.text "note"
t.text "title_subseries_transcription"
+ t.text "creator_string"
+ t.text "volume_number_string"
+ t.text "volume_number_transcription_string"
+ t.boolean "series_master"
+ t.integer "root_manifestation_id"
end
- add_index "series_statements", ["root_manifestation_id"], :name => "index_series_statements_on_manifestation_id"
+ add_index "series_statements", ["manifestation_id"], :name => "index_series_statements_on_manifestation_id"
+ add_index "series_statements", ["root_manifestation_id"], :name => "index_series_statements_on_root_manifestation_id"
add_index "series_statements", ["series_statement_identifier"], :name => "index_series_statements_on_series_statement_identifier"
create_table "shelves", :force => true do |t|
t.string "name", :null => false
t.text "display_name"