From a3275b45ef2db23b10d8f430ec17886d89768389 Mon Sep 17 00:00:00 2001
From: Santo Cariotti <santo@dcariotti.me>
Date: Wed, 21 Sep 2022 15:54:25 +0200
Subject: Change field type for models

---
 migrations/20220906164354_add-models-table.sql | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'migrations/20220906164354_add-models-table.sql')

diff --git a/migrations/20220906164354_add-models-table.sql b/migrations/20220906164354_add-models-table.sql
index 84425ba..eadd247 100644
--- a/migrations/20220906164354_add-models-table.sql
+++ b/migrations/20220906164354_add-models-table.sql
@@ -2,9 +2,9 @@ CREATE TABLE models (
     id SERIAL PRIMARY KEY,
     name VARCHAR NOT NULL,
     description TEXT,
-    duration INTEGER NOT NULL,
-    height INTEGER NOT NULL,
-    weight INTEGER NOT NULL,
+    duration FLOAT NOT NULL,
+    height FLOAT NOT NULL,
+    weight FLOAT NOT NULL,
     printer VARCHAR,
     material VARCHAR,
     author_id INTEGER REFERENCES users(id) NOT NULL,
-- 
cgit v1.2.3-71-g8e6c

