spec/dummy/db/schema.rb in phocoder-rails-0.0.46 vs spec/dummy/db/schema.rb in phocoder-rails-0.0.47
- old
+ new
@@ -1,5 +1,6 @@
+# encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
@@ -22,12 +23,12 @@
t.integer "zencoder_job_id"
t.integer "zencoder_input_id"
t.integer "zencoder_output_id"
t.string "zencoder_status"
t.string "zencoder_url"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
end
add_index "encodable_jobs", ["encodable_type", "encodable_id"], :name => "index_encodable_jobs_on_encodable_type_and_encodable_id"
add_index "encodable_jobs", ["id"], :name => "index_encodable_jobs_on_id"
@@ -37,12 +38,12 @@
t.integer "duration_in_ms"
t.integer "width"
t.integer "height"
t.integer "file_size"
t.string "upload_host"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
t.datetime "taken_at"
t.float "lat"
t.float "lng"
t.string "encodable_status"
t.string "thumbnail"
@@ -95,11 +96,11 @@
t.integer "duration_in_ms"
t.integer "width"
t.integer "height"
t.integer "file_size"
t.string "upload_host"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
t.datetime "taken_at"
t.float "lat"
t.float "lng"
t.string "encodable_status"
end