diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-03 20:04:19 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-03 20:04:19 +0100 |
commit | b14b5e3b448eafa1489d6fe4b702621e25dff1ae (patch) | |
tree | a4c7885fcede76232dbc476b3ebcf0c84859a87a /db/schema.rb | |
parent | 5abf64d647b6f36a51f014b63f7b469b43378d3f (diff) |
Improve notification model
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/db/schema.rb b/db/schema.rb index c9676ca40..8e5c806d4 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -100,9 +100,9 @@ ActiveRecord::Schema.define(version: 20161203164520) 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.integer "from_account_id", default: 1, null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.integer "from_account_id" t.index ["account_id", "activity_id", "activity_type"], name: "account_activity", unique: true, using: :btree end |