Skip to content
This repository has been archived by the owner on Oct 12, 2018. It is now read-only.

Commit

Permalink
Ensure that contactotron_id gets added to the schema. For some reason…
Browse files Browse the repository at this point in the history
… it hadn't run properly before.
  • Loading branch information
JordanHatch committed Jan 10, 2012
1 parent 41fca78 commit 8d6a8a6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions db/schema.rb
Expand Up @@ -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"
Expand Down Expand Up @@ -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|
Expand All @@ -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
Expand All @@ -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

0 comments on commit 8d6a8a6

Please sign in to comment.