|
97 | 97 | t.string "reference"
|
98 | 98 | t.integer "last_modified_user_id"
|
99 | 99 | t.datetime "relationship_updated_at", precision: 6
|
| 100 | + t.bigint "relationship_updated_by_id" |
100 | 101 | t.index ["created_at"], name: "index_indicators_on_created_at"
|
101 | 102 | t.index ["draft"], name: "index_indicators_on_draft"
|
102 | 103 | t.index ["manager_id"], name: "index_indicators_on_manager_id"
|
|
129 | 130 | t.integer "last_modified_user_id"
|
130 | 131 | t.string "reference"
|
131 | 132 | t.datetime "relationship_updated_at", precision: 6
|
| 133 | + t.bigint "relationship_updated_by_id" |
132 | 134 | t.index ["draft"], name: "index_measures_on_draft"
|
133 | 135 | end
|
134 | 136 |
|
|
315 | 317 | t.integer "last_modified_user_id"
|
316 | 318 | t.boolean "allow_password_change", default: true
|
317 | 319 | t.datetime "relationship_updated_at", precision: 6
|
| 320 | + t.bigint "relationship_updated_by_id" |
318 | 321 | t.index ["email"], name: "index_users_on_email", unique: true
|
319 | 322 | t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
|
320 | 323 | end
|
|
333 | 336 | add_foreign_key "framework_frameworks", "frameworks", column: "other_framework_id"
|
334 | 337 | add_foreign_key "framework_taxonomies", "frameworks"
|
335 | 338 | add_foreign_key "framework_taxonomies", "taxonomies"
|
| 339 | + add_foreign_key "indicators", "users", column: "relationship_updated_by_id" |
| 340 | + add_foreign_key "measures", "users", column: "relationship_updated_by_id" |
336 | 341 | add_foreign_key "recommendation_indicators", "indicators"
|
337 | 342 | add_foreign_key "recommendation_indicators", "recommendations"
|
338 | 343 | add_foreign_key "recommendation_recommendations", "recommendations"
|
339 | 344 | add_foreign_key "recommendation_recommendations", "recommendations", column: "other_recommendation_id"
|
340 | 345 | add_foreign_key "recommendations", "frameworks"
|
341 | 346 | add_foreign_key "taxonomies", "frameworks"
|
| 347 | + add_foreign_key "users", "users", column: "relationship_updated_by_id" |
342 | 348 | end
|
0 commit comments