diff options
| author | Marius Peter <dev@marius-peter.com> | 2025-11-30 13:06:04 +0100 |
|---|---|---|
| committer | Marius Peter <dev@marius-peter.com> | 2025-11-30 13:06:04 +0100 |
| commit | cff908d8f986669dcf5b489517ea161b20adde95 (patch) | |
| tree | 164117624a8d8b32ac0be978d613169b1e2929b3 /db/migrations.rkt | |
| parent | f6fb673058fbaeda8617e0e217b0de57eda2d9e2 (diff) | |
Change crop canonical_name from integer to text.
Diffstat (limited to 'db/migrations.rkt')
| -rw-r--r-- | db/migrations.rkt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrations.rkt b/db/migrations.rkt index d4b8356..a3e6def 100644 --- a/db/migrations.rkt +++ b/db/migrations.rkt @@ -130,7 +130,7 @@ (define-migration "create table crops" (list (create-table #:if-not-exists crops #:columns [id integer #:not-null] - [canonical_name integer #:not-null] + [canonical_name text #:not-null] #:constraints (primary-key id) (unique canonical_name)))) |