Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ensure that contactotron_id gets added to the schema. For some reason…

… it hadn't run properly before.
  • Loading branch information...
commit 8d6a8a68a2610f299fb38d03a7faadc89869af48 1 parent 41fca78
@JordanHatch JordanHatch authored
View
0  ...161012_add_contactotron_id_to_contacts.rb → ...114800_add_contactotron_id_to_contacts.rb
File renamed without changes
View
22 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
Please sign in to comment.
Something went wrong with that request. Please try again.