feat: refine table columns
This commit is contained in:
parent
7fad3fc38d
commit
7162f44450
1 changed files with 2 additions and 3 deletions
|
|
@ -44,10 +44,9 @@ async def m001_initial(db):
|
||||||
name TEXT NOT NULL,
|
name TEXT NOT NULL,
|
||||||
categories TEXT,
|
categories TEXT,
|
||||||
description TEXT,
|
description TEXT,
|
||||||
image TEXT,
|
image_urls TEXT NOT NULL DEFAULT '[]',
|
||||||
price REAL NOT NULL,
|
price REAL NOT NULL,
|
||||||
quantity INTEGER NOT NULL,
|
quantity INTEGER NOT NULL
|
||||||
rating REAL DEFAULT 0
|
|
||||||
);
|
);
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue