LightBlog

Monday, March 3, 2025

CREATE TABLE public.mymtshop_products ( id bigint primary key generated always as identity, name text NOT NULL, description text, price numeric(10, 2) NOT NULL, category text, stock_quantity integer NOT NULL, created_at timestamp with time zone DEFAULT now(), updated_at timestamp with time zone DEFAULT now() ); -- Enable Row Level Security ALTER TABLE public.mymtshop_products ENABLE ROW LEVEL SECURITY; -- You will need to create RLS policies for this table to control access.

No comments:

Post a Comment

LightBlog