As a developer, I need to design the database schema for products, so that products can be stored and managed in the system.
Tasks:
Create a table for Products with the following fields: SKU (unique), name, description, price (decimal), and created_at timestamp.
Ensure SKU is a unique identifier.
Set up database migrations to create the Products table.
Acceptance Criteria:
The Products table is created in the database with all necessary fields.
The SKU field is unique across all products.
As a developer, I need to design the database schema for products, so that products can be stored and managed in the system.
Tasks:
Create a table for Products with the following fields: SKU (unique), name, description, price (decimal), and created_at timestamp. Ensure SKU is a unique identifier. Set up database migrations to create the Products table. Acceptance Criteria:
The Products table is created in the database with all necessary fields. The SKU field is unique across all products.