feat: refine table columns

This commit is contained in:
Vlad Stan 2023-03-01 14:09:39 +02:00
parent 7fad3fc38d
commit 7162f44450

View file

@ -44,10 +44,9 @@ async def m001_initial(db):
name TEXT NOT NULL,
categories TEXT,
description TEXT,
image TEXT,
image_urls TEXT NOT NULL DEFAULT '[]',
price REAL NOT NULL,
quantity INTEGER NOT NULL,
rating REAL DEFAULT 0
quantity INTEGER NOT NULL
);
"""
)