diff --git a/db/migrate/20111110161012_add_contactotron_id_to_contacts.rb b/db/migrate/20120110114800_add_contactotron_id_to_contacts.rb similarity index 100% rename from db/migrate/20111110161012_add_contactotron_id_to_contacts.rb rename to db/migrate/20120110114800_add_contactotron_id_to_contacts.rb diff --git a/db/schema.rb b/db/schema.rb index ba8f48ea..1f60478d 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20120109170059) do +ActiveRecord::Schema.define(:version => 20120110114800) do create_table "artefacts", :force => true do |t| t.string "section" @@ -50,13 +50,14 @@ end create_table "contacts", :force => true do |t| - t.string "name", :null => false + t.string "name", :null => false t.datetime "created_at" t.datetime "updated_at" t.text "postal_address" t.string "email_address" t.string "website_url" t.text "opening_hours" + t.integer "contactotron_id", :null => false end create_table "phone_numbers", :force => true do |t| @@ -68,14 +69,6 @@ t.datetime "updated_at" end - create_table "users", :force => true do |t| - t.string :name - t.string :uid - t.integer :version - t.string :email - t.timestamps - end - create_table "related_items", :force => true do |t| t.integer "source_artefact_id", :null => false t.integer "artefact_id", :null => false @@ -86,4 +79,13 @@ add_index "related_items", ["sort_key"], :name => "index_related_items_on_sort_key" add_index "related_items", ["source_artefact_id"], :name => "index_related_items_on_source_artefact_id" + create_table "users", :force => true do |t| + t.string "name" + t.string "uid" + t.integer "version" + t.string "email" + t.datetime "created_at" + t.datetime "updated_at" + end + end