Add Follow.unfollowed_at
The active scopes is used indirectly in the dossier<->gestionnaire associations: the existing tests in dossier and gestionnaire just work™.
This commit is contained in:
parent
d417907f36
commit
be4c575622
5 changed files with 29 additions and 6 deletions
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2019_06_07_122941) do
|
||||
ActiveRecord::Schema.define(version: 2019_06_07_124156) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -333,8 +333,9 @@ ActiveRecord::Schema.define(version: 2019_06_07_122941) do
|
|||
t.datetime "messagerie_seen_at", null: false
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.datetime "unfollowed_at"
|
||||
t.index ["dossier_id"], name: "index_follows_on_dossier_id"
|
||||
t.index ["gestionnaire_id", "dossier_id"], name: "index_follows_on_gestionnaire_id_and_dossier_id", unique: true
|
||||
t.index ["gestionnaire_id", "dossier_id", "unfollowed_at"], name: "uniqueness_index", unique: true
|
||||
t.index ["gestionnaire_id"], name: "index_follows_on_gestionnaire_id"
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue