Retail_manager/RMData/dbo/Tables/Inventory.sql

9 lines
248 B
MySQL
Raw Normal View History

CREATE TABLE [dbo].[Inventory]
(
[Id] INT NOT NULL PRIMARY KEY IDENTITY,
[ProductId] INT NOT NULL,
[Quantity] INT NOT NULL DEFAULT 1,
[PurchasePrice] MONEY NOT NULL,
[PurchaseDate] DATETIME2 NOT NULL DEFAULT getutcdate(),
)