 CREATE TABLE IF NOT EXISTS products (
     id         BIGSERIAL    PRIMARY KEY,
     name       VARCHAR(200) NOT NULL,
     category   VARCHAR(50)  NOT NULL,
     price      NUMERIC(10,2) NOT NULL DEFAULT 0,
     stock      INTEGER      NOT NULL DEFAULT 0,
     created_at TIMESTAMP    NOT NULL DEFAULT NOW(),
     updated_at TIMESTAMP    NOT NULL DEFAULT NOW()
 );
 
 CREATE INDEX idx_products_category ON products(category);
 CREATE INDEX idx_products_name ON products(name);
