diff options
author | Francis Irving <francis@mysociety.org> | 2009-12-01 10:50:17 +0000 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2009-12-01 10:50:17 +0000 |
commit | cd0d1ea8d10a105393ec1e6a9eccaf09c05dfe4d (patch) | |
tree | 8d7319676572ed142719a46c9901fe58c6c538fa /db/schema.rb | |
parent | 48dfbbc0d88b504a8eeeaf084e5cf7d24683baef (diff) |
The 'internal_error' default for track_type is in the migrations, but
somehow just hadn't made it to the live database. Have updated live
database, so now this should come out the same.
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/db/schema.rb b/db/schema.rb index 41efb40bb..c0782ac1d 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -198,13 +198,13 @@ ActiveRecord::Schema.define(:version => 82) do end create_table "track_things", :force => true do |t| - t.integer "tracking_user_id", :null => false - t.string "track_query", :null => false + t.integer "tracking_user_id", :null => false + t.string "track_query", :null => false t.integer "info_request_id" t.integer "tracked_user_id" t.integer "public_body_id" - t.string "track_medium", :null => false - t.string "track_type", :null => false + t.string "track_medium", :null => false + t.string "track_type", :default => "internal_error", :null => false t.datetime "created_at" t.datetime "updated_at" end |