diff options
| author | mo khan <mo.khan@gmail.com> | 2020-03-15 12:22:47 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-03-15 12:22:47 -0600 |
| commit | c0339682318e31c78a50e1845d944de1ed94ae8d (patch) | |
| tree | 9ce64fa8211a9924d869d53fcf0bd5c45257d859 | |
| parent | bf125e55535a1002e3e2c66b201727303df3c0b7 (diff) | |
Add has_one :bed to patient
| -rw-r--r-- | rvh/app/models/patient.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rvh/app/models/patient.rb b/rvh/app/models/patient.rb index fd7c3ba..7e2676f 100644 --- a/rvh/app/models/patient.rb +++ b/rvh/app/models/patient.rb @@ -1,3 +1,4 @@ class Patient < ApplicationRecord belongs_to :account + has_one :bed end |
