diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-03 18:21:26 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-03 18:21:26 +0100 |
commit | 816284d73924ceb453c76d571bcb315be91b2b08 (patch) | |
tree | 2fbf97bed916b582600e333c591d74c40f308111 /db/schema.rb | |
parent | 253970cb736a4da29229b930a0af32ead7e5d99b (diff) |
Fix #248 - Reload all accounts when fetching from cache
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/db/schema.rb b/db/schema.rb index f9080ae2d..c9676ca40 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20161202132159) do +ActiveRecord::Schema.define(version: 20161203164520) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -100,8 +100,9 @@ ActiveRecord::Schema.define(version: 20161202132159) do t.integer "account_id" t.integer "activity_id" t.string "activity_type" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.integer "from_account_id", default: 1, null: false t.index ["account_id", "activity_id", "activity_type"], name: "account_activity", unique: true, using: :btree end |