test/dummy/db/schema.rb in auto_build-0.4.3 vs test/dummy/db/schema.rb in auto_build-0.5.0
- 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 => 20111213033025) do
+ActiveRecord::Schema.define(:version => 20120425150004) do
create_table "addresses", :force => true do |t|
t.string "street"
t.string "city"
t.integer "user_id"
@@ -25,9 +25,19 @@
t.string "nick"
t.integer "user_id"
t.datetime "created_at"
t.datetime "updated_at"
end
+
+ create_table "orders", :force => true do |t|
+ t.integer "address_id"
+ t.integer "user_id"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
+ add_index "orders", ["address_id"], :name => "index_orders_on_address_id"
+ add_index "orders", ["user_id"], :name => "index_orders_on_user_id"
create_table "phones", :force => true do |t|
t.string "number"
t.integer "user_id"
t.datetime "created_at"