#1042

Inventory Without Negative Stock

Create the inventory table for stock balances. It needs id as an int primary key, required unique sku as text, and required stock as int; the database must reject values where stock < 0.

Díreach CREATE/ALTER/DROP — ní gá SELECT ina dhiaidh sin.

Beidh toradh d'iarratais le feiceáil anseo

Gan scéim tosaithe

Tosaíonn an tasc seo gan táblaí — cruthóidh tú iad le CREATE TABLE.