[Racket] Ferti hydroponic nutrient solver, redux.
Fix typo in foreign keys.
db/migrations.rkt
@@ -140,8 +140,8 @@
140
140
[crop_requirement_id integer #:not-null]
141
141
[proportion_percent integer #:not-null]
142
142
#:constraints (primary-key crop_rotation_id crop_requirement_id)
143
Removed:
(foreign-key crop_rotation_id #:references (crop_rotation id) #:on-delete #:cascade)
144
Removed:
(foreign-key crop_requirement_id #:references (crop_requirement id) #:on-delete #:cascade))))
143
Added:
(foreign-key crop_rotation_id #:references (crop_rotations id) #:on-delete #:cascade)
144
Added:
(foreign-key crop_requirement_id #:references (crop_requirements id) #:on-delete #:cascade))))
145
145
146
146
;;;;;;;;;;;;;;
147
147
;; FERTILIZERS