diff options
| author | Marius Peter <dev@marius-peter.com> | 2025-12-13 22:37:11 +0100 |
|---|---|---|
| committer | Marius Peter <dev@marius-peter.com> | 2025-12-13 22:37:11 +0100 |
| commit | ae1a5e0eceefcb8af1600bca39a2209cabad7198 (patch) | |
| tree | b86dc123769df8799a830ed5711aa3a1d4a4603f | |
| parent | af3e0b808a828819b43b41acbfa9ac25f1bf30d3 (diff) | |
Fix typo in foreign keys.
| -rw-r--r-- | db/migrations.rkt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/migrations.rkt b/db/migrations.rkt index 39490f0..8f1caa2 100644 --- a/db/migrations.rkt +++ b/db/migrations.rkt @@ -140,8 +140,8 @@ [crop_requirement_id integer #:not-null] [proportion_percent integer #:not-null] #:constraints (primary-key crop_rotation_id crop_requirement_id) - (foreign-key crop_rotation_id #:references (crop_rotation id) #:on-delete #:cascade) - (foreign-key crop_requirement_id #:references (crop_requirement id) #:on-delete #:cascade)))) + (foreign-key crop_rotation_id #:references (crop_rotations id) #:on-delete #:cascade) + (foreign-key crop_requirement_id #:references (crop_requirements id) #:on-delete #:cascade)))) ;;;;;;;;;;;;;; ;; FERTILIZERS |