--
--





--
-- Name: accounts_address; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.accounts_address (
    id bigint NOT NULL,
    latitude numeric(9,6) NOT NULL,
    longitude numeric(9,6) NOT NULL,
    flat_no character varying(100) NOT NULL,
    landmark character varying(255),
    address_type character varying(10),
    user_id uuid NOT NULL
);


ALTER TABLE public.accounts_address OWNER TO postgres;

--
-- Name: accounts_address_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.accounts_address ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.accounts_address_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: accounts_userlocation; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.accounts_userlocation (
    id bigint NOT NULL,
    latitude double precision NOT NULL,
    longitude double precision NOT NULL,
    created_at timestamp with time zone NOT NULL,
    anonymous_id uuid,
    is_selected_address boolean NOT NULL,
    address_id bigint,
    shop_id uuid,
    user_id uuid
);


ALTER TABLE public.accounts_userlocation OWNER TO postgres;

--
-- Name: accounts_userlocation_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.accounts_userlocation ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.accounts_userlocation_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);

--
-- Name: accounts_users_groups; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.accounts_users_groups (
    id bigint NOT NULL,
    users_id uuid NOT NULL,
    group_id integer NOT NULL
);


ALTER TABLE public.accounts_users_groups OWNER TO postgres;

--
-- Name: accounts_users_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.accounts_users_groups ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.accounts_users_groups_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: accounts_users_user_permissions; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.accounts_users_user_permissions (
    id bigint NOT NULL,
    users_id uuid NOT NULL,
    permission_id integer NOT NULL
);


ALTER TABLE public.accounts_users_user_permissions OWNER TO postgres;

--
-- Name: accounts_users_user_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.accounts_users_user_permissions ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.accounts_users_user_permissions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: auth_group; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.auth_group (
    id integer NOT NULL,
    name character varying(150) NOT NULL
);


ALTER TABLE public.auth_group OWNER TO postgres;

--
-- Name: auth_group_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.auth_group ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.auth_group_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: auth_group_permissions; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.auth_group_permissions (
    id bigint NOT NULL,
    group_id integer NOT NULL,
    permission_id integer NOT NULL
);


ALTER TABLE public.auth_group_permissions OWNER TO postgres;

--
-- Name: auth_group_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.auth_group_permissions ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.auth_group_permissions_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: auth_permission; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.auth_permission (
    id integer NOT NULL,
    name character varying(255) NOT NULL,
    content_type_id integer NOT NULL,
    codename character varying(100) NOT NULL
);


ALTER TABLE public.auth_permission OWNER TO postgres;

--
-- Name: auth_permission_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.auth_permission ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.auth_permission_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);

--
-- Name: django_admin_log; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.django_admin_log (
    id integer NOT NULL,
    action_time timestamp with time zone NOT NULL,
    object_id text,
    object_repr character varying(200) NOT NULL,
    action_flag smallint NOT NULL,
    change_message text NOT NULL,
    content_type_id integer,
    user_id uuid NOT NULL,
    CONSTRAINT django_admin_log_action_flag_check CHECK ((action_flag >= 0))
);


ALTER TABLE public.django_admin_log OWNER TO postgres;

--
-- Name: django_admin_log_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.django_admin_log ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.django_admin_log_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: django_celery_beat_clockedschedule; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.django_celery_beat_clockedschedule (
    id integer NOT NULL,
    clocked_time timestamp with time zone NOT NULL
);


ALTER TABLE public.django_celery_beat_clockedschedule OWNER TO postgres;

--
-- Name: django_celery_beat_clockedschedule_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.django_celery_beat_clockedschedule ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.django_celery_beat_clockedschedule_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: django_celery_beat_crontabschedule; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.django_celery_beat_crontabschedule (
    id integer NOT NULL,
    minute character varying(240) NOT NULL,
    hour character varying(96) NOT NULL,
    day_of_week character varying(64) NOT NULL,
    day_of_month character varying(124) NOT NULL,
    month_of_year character varying(64) NOT NULL,
    timezone character varying(63) NOT NULL
);


ALTER TABLE public.django_celery_beat_crontabschedule OWNER TO postgres;

--
-- Name: django_celery_beat_crontabschedule_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.django_celery_beat_crontabschedule ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.django_celery_beat_crontabschedule_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: django_celery_beat_intervalschedule; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.django_celery_beat_intervalschedule (
    id integer NOT NULL,
    every integer NOT NULL,
    period character varying(24) NOT NULL
);


ALTER TABLE public.django_celery_beat_intervalschedule OWNER TO postgres;

--
-- Name: django_celery_beat_intervalschedule_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.django_celery_beat_intervalschedule ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.django_celery_beat_intervalschedule_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: django_celery_beat_periodictask; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.django_celery_beat_periodictask (
    id integer NOT NULL,
    name character varying(200) NOT NULL,
    task character varying(200) NOT NULL,
    args text NOT NULL,
    kwargs text NOT NULL,
    queue character varying(200),
    exchange character varying(200),
    routing_key character varying(200),
    expires timestamp with time zone,
    enabled boolean NOT NULL,
    last_run_at timestamp with time zone,
    total_run_count integer NOT NULL,
    date_changed timestamp with time zone NOT NULL,
    description text NOT NULL,
    crontab_id integer,
    interval_id integer,
    solar_id integer,
    one_off boolean NOT NULL,
    start_time timestamp with time zone,
    priority integer,
    headers text NOT NULL,
    clocked_id integer,
    expire_seconds integer,
    CONSTRAINT django_celery_beat_periodictask_expire_seconds_check CHECK ((expire_seconds >= 0)),
    CONSTRAINT django_celery_beat_periodictask_priority_check CHECK ((priority >= 0)),
    CONSTRAINT django_celery_beat_periodictask_total_run_count_check CHECK ((total_run_count >= 0))
);


ALTER TABLE public.django_celery_beat_periodictask OWNER TO postgres;

--
-- Name: django_celery_beat_periodictask_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.django_celery_beat_periodictask ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.django_celery_beat_periodictask_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: django_celery_beat_periodictasks; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.django_celery_beat_periodictasks (
    ident smallint NOT NULL,
    last_update timestamp with time zone NOT NULL
);


ALTER TABLE public.django_celery_beat_periodictasks OWNER TO postgres;

--
-- Name: django_celery_beat_solarschedule; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.django_celery_beat_solarschedule (
    id integer NOT NULL,
    event character varying(24) NOT NULL,
    latitude numeric(9,6) NOT NULL,
    longitude numeric(9,6) NOT NULL
);


ALTER TABLE public.django_celery_beat_solarschedule OWNER TO postgres;

--
-- Name: django_celery_beat_solarschedule_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.django_celery_beat_solarschedule ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.django_celery_beat_solarschedule_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: django_content_type; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.django_content_type (
    id integer NOT NULL,
    app_label character varying(100) NOT NULL,
    model character varying(100) NOT NULL
);


ALTER TABLE public.django_content_type OWNER TO postgres;

--
-- Name: django_content_type_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.django_content_type ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.django_content_type_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: django_migrations; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.django_migrations (
    id bigint NOT NULL,
    app character varying(255) NOT NULL,
    name character varying(255) NOT NULL,
    applied timestamp with time zone NOT NULL
);


ALTER TABLE public.django_migrations OWNER TO postgres;

--
-- Name: django_migrations_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.django_migrations ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.django_migrations_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);

--
-- Name: orders_ads; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.orders_ads (
    id bigint NOT NULL,
    "AdTitle" character varying(50),
    "AdDescription" character varying(250),
    "AdPlacement" text,
    "AdType" character varying(20) NOT NULL,
    "StandardImage" character varying(100),
    "BannerImage" character varying(100),
    created_at timestamp with time zone NOT NULL,
    "Coupon" character varying(250),
    "Discount" character varying(250),
    "Product" character varying(250)
);


ALTER TABLE public.orders_ads OWNER TO postgres;

--
-- Name: orders_ads_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.orders_ads ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.orders_ads_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_cart; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.orders_cart (
    id bigint NOT NULL,
    anonymous_id character varying(50),
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    user_id uuid,
    coupon_id bigint
);


ALTER TABLE public.orders_cart OWNER TO postgres;

--
-- Name: orders_cart_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.orders_cart ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.orders_cart_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_cartitem; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.orders_cartitem (
    id bigint NOT NULL,
    quantity integer NOT NULL,
    cart_id bigint NOT NULL,
    sku_id bigint NOT NULL,
    CONSTRAINT orders_cartitem_quantity_check CHECK ((quantity >= 0))
);


ALTER TABLE public.orders_cartitem OWNER TO postgres;

--
-- Name: orders_cartitem_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.orders_cartitem ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.orders_cartitem_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_coupons; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.orders_coupons (
    id bigint NOT NULL,
    "CouponName" character varying(50),
    "CouponCode" character varying(50),
    "CouponDescription" character varying(250),
    "Icon" character varying(100),
    "CouponOn" character varying(40) NOT NULL,
    "TotalBillAmount" double precision,
    "DiscountAmount" integer,
    "DiscountPercentage" integer,
    "CouponType" character varying(20) NOT NULL,
    "MaxNumberofUsers" integer NOT NULL,
    "Validity_start_date" timestamp with time zone NOT NULL,
    validity_end_date timestamp with time zone NOT NULL,
    "TermsAndConditions" character varying(400),
    "NotificationSchedule" timestamp with time zone,
    created_at timestamp with time zone NOT NULL,
    "MaxDiscountAmountForPercentage" double precision
);


ALTER TABLE public.orders_coupons OWNER TO postgres;

--
-- Name: orders_coupons_ApplicableCategory; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public."orders_coupons_ApplicableCategory" (
    id bigint NOT NULL,
    coupons_id bigint NOT NULL,
    productcategory_id uuid NOT NULL
);


ALTER TABLE public."orders_coupons_ApplicableCategory" OWNER TO postgres;

--
-- Name: orders_coupons_ApplicableCategory_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public."orders_coupons_ApplicableCategory" ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public."orders_coupons_ApplicableCategory_id_seq"
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_coupons_ApplicableProduct; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public."orders_coupons_ApplicableProduct" (
    id bigint NOT NULL,
    coupons_id bigint NOT NULL,
    products_id bigint NOT NULL
);


ALTER TABLE public."orders_coupons_ApplicableProduct" OWNER TO postgres;

--
-- Name: orders_coupons_ApplicableProduct_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public."orders_coupons_ApplicableProduct" ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public."orders_coupons_ApplicableProduct_id_seq"
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_coupons_ApplicableSku; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public."orders_coupons_ApplicableSku" (
    id bigint NOT NULL,
    coupons_id bigint NOT NULL,
    sku_id bigint NOT NULL
);


ALTER TABLE public."orders_coupons_ApplicableSku" OWNER TO postgres;

--
-- Name: orders_coupons_ApplicableSku_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public."orders_coupons_ApplicableSku" ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public."orders_coupons_ApplicableSku_id_seq"
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_coupons_ApplicableSubCategory; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public."orders_coupons_ApplicableSubCategory" (
    id bigint NOT NULL,
    coupons_id bigint NOT NULL,
    productsubcategory_id uuid NOT NULL
);


ALTER TABLE public."orders_coupons_ApplicableSubCategory" OWNER TO postgres;

--
-- Name: orders_coupons_ApplicableSubCategory_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public."orders_coupons_ApplicableSubCategory" ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public."orders_coupons_ApplicableSubCategory_id_seq"
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_coupons_CouponUsed; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public."orders_coupons_CouponUsed" (
    id bigint NOT NULL,
    coupons_id bigint NOT NULL,
    users_id uuid NOT NULL
);


ALTER TABLE public."orders_coupons_CouponUsed" OWNER TO postgres;

--
-- Name: orders_coupons_CouponUsed_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public."orders_coupons_CouponUsed" ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public."orders_coupons_CouponUsed_id_seq"
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_coupons_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.orders_coupons ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.orders_coupons_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_deliveryboys; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.orders_deliveryboys (
    id bigint NOT NULL,
    team_member_name character varying(20),
    phone_number character varying(14),
    delivery_boy_status character varying(100) NOT NULL,
    status character varying(100) NOT NULL,
    created_date timestamp with time zone,
    updated_date timestamp with time zone
);


ALTER TABLE public.orders_deliveryboys OWNER TO postgres;

--
-- Name: orders_deliveryboys_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.orders_deliveryboys ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.orders_deliveryboys_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_deliveryslot; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.orders_deliveryslot (
    id bigint NOT NULL,
    start_time time without time zone NOT NULL,
    end_time time without time zone NOT NULL,
    is_available boolean NOT NULL,
    status character varying(20) NOT NULL,
    created_at timestamp with time zone NOT NULL
);


ALTER TABLE public.orders_deliveryslot OWNER TO postgres;

--
-- Name: orders_deliveryslot_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.orders_deliveryslot ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.orders_deliveryslot_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_discount; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.orders_discount (
    id bigint NOT NULL,
    "DiscountName" character varying(50),
    "DiscountCode" character varying(50),
    "DiscountDescription" character varying(250),
    "DiscountOn" character varying(40) NOT NULL,
    "DiscountPercentage" numeric(5,2),
    created_at timestamp with time zone NOT NULL
);


ALTER TABLE public.orders_discount OWNER TO postgres;

--
-- Name: orders_discount_ApplicableCategory; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public."orders_discount_ApplicableCategory" (
    id bigint NOT NULL,
    discount_id bigint NOT NULL,
    productcategory_id uuid NOT NULL
);


ALTER TABLE public."orders_discount_ApplicableCategory" OWNER TO postgres;

--
-- Name: orders_discount_ApplicableCategory_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public."orders_discount_ApplicableCategory" ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public."orders_discount_ApplicableCategory_id_seq"
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_discount_ApplicableProduct; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public."orders_discount_ApplicableProduct" (
    id bigint NOT NULL,
    discount_id bigint NOT NULL,
    products_id bigint NOT NULL
);


ALTER TABLE public."orders_discount_ApplicableProduct" OWNER TO postgres;

--
-- Name: orders_discount_ApplicableProduct_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public."orders_discount_ApplicableProduct" ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public."orders_discount_ApplicableProduct_id_seq"
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_discount_ApplicableSku; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public."orders_discount_ApplicableSku" (
    id bigint NOT NULL,
    discount_id bigint NOT NULL,
    sku_id bigint NOT NULL
);


ALTER TABLE public."orders_discount_ApplicableSku" OWNER TO postgres;

--
-- Name: orders_discount_ApplicableSku_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public."orders_discount_ApplicableSku" ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public."orders_discount_ApplicableSku_id_seq"
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_discount_ApplicableSubCategory; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public."orders_discount_ApplicableSubCategory" (
    id bigint NOT NULL,
    discount_id bigint NOT NULL,
    productsubcategory_id uuid NOT NULL
);


ALTER TABLE public."orders_discount_ApplicableSubCategory" OWNER TO postgres;

--
-- Name: orders_discount_ApplicableSubCategory_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public."orders_discount_ApplicableSubCategory" ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public."orders_discount_ApplicableSubCategory_id_seq"
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_discount_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.orders_discount ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.orders_discount_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_dropaddress; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.orders_dropaddress (
    uuid uuid NOT NULL,
    name character varying(200) NOT NULL,
    house_number_or_name character varying(200) NOT NULL,
    street character varying(100) NOT NULL,
    land_mark character varying(250),
    city character varying(100) NOT NULL,
    district character varying(50),
    state_or_province character varying(100) NOT NULL,
    pin_code integer NOT NULL,
    latitude double precision NOT NULL,
    longitude double precision NOT NULL,
    address_type character varying(100) NOT NULL,
    contact_number character varying(20) NOT NULL
);


ALTER TABLE public.orders_dropaddress OWNER TO postgres;

--
-- Name: orders_notificationstat; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.orders_notificationstat (
    id bigint NOT NULL,
    "Sendmsg" character varying(100) NOT NULL,
    created_date timestamp with time zone NOT NULL,
    updated_date timestamp with time zone NOT NULL,
    "sendTo_id" uuid NOT NULL,
    "OrderID_id" uuid NOT NULL
);


ALTER TABLE public.orders_notificationstat OWNER TO postgres;

--
-- Name: orders_notificationstat_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.orders_notificationstat ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.orders_notificationstat_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_orderdelivery; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.orders_orderdelivery (
    id bigint NOT NULL,
    delivery_type character varying(50) NOT NULL,
    courier_service_name character varying(255),
    package_number character varying(255),
    expected_date_of_delivery date,
    tracking_link character varying(200),
    delivery_boy_id bigint,
    order_id uuid
);


ALTER TABLE public.orders_orderdelivery OWNER TO postgres;

--
-- Name: orders_orderdelivery_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.orders_orderdelivery ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.orders_orderdelivery_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: orders_orderproducts; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.orders_orderproducts (
    order_product_id uuid NOT NULL,
    product_name character varying(255),
    quantity character varying(255),
    price double precision,
    sku_id bigint,
    order_id uuid NOT NULL
);


ALTER TABLE public.orders_orderproducts OWNER TO postgres;

--
-- Name: orders_orders; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.orders_orders (
    uuid uuid NOT NULL,
    "order_ID" character varying(255),
    order_type character varying(50) NOT NULL,
    sub_total double precision,
    taxes_and_charges double precision,
    delivery_charges double precision,
    grand_total double precision,
    order_status character varying(50) NOT NULL,
    delivery_boy character varying(255),
    delivery_instruction text,
    cooking_instruction text,
    order_assigntime timestamp with time zone,
    order_delivered_time timestamp with time zone,
    delivery_slot_date date,
    delivery_slot_time time without time zone,
    color_status character varying(50),
    color_status_updation_time timestamp with time zone NOT NULL,
    created_date timestamp with time zone NOT NULL,
    updated_date timestamp with time zone NOT NULL,
    total_savings double precision,
    coupon_savings double precision,
    discount double precision,
    drop_address_id uuid,
    pu_uuid_id uuid,
    store_uuid_id uuid,
    user_uuid_id uuid NOT NULL
);


ALTER TABLE public.orders_orders OWNER TO postgres;

--
-- Name: orders_payment; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.orders_payment (
    id bigint NOT NULL,
    razorpay_payment_id character varying(255),
    razorpay_order_id character varying(255),
    payment_status character varying(50) NOT NULL,
    payment_date timestamp with time zone NOT NULL,
    order_id uuid NOT NULL
);


ALTER TABLE public.orders_payment OWNER TO postgres;

--
-- Name: orders_payment_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.orders_payment ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.orders_payment_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_customproduct; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_customproduct (
    id bigint NOT NULL,
    item_name character varying(120) NOT NULL,
    item_code character varying(120) NOT NULL,
    item_description text NOT NULL,
    veg_or_non_veg_status character varying(100) NOT NULL,
    min_size integer NOT NULL,
    max_size integer NOT NULL,
    size_unit character varying(20) NOT NULL,
    availability character varying(20) NOT NULL,
    created_date timestamp with time zone,
    updated_date timestamp with time zone,
    CONSTRAINT products_customproduct_max_size_check CHECK ((max_size >= 0)),
    CONSTRAINT products_customproduct_min_size_check CHECK ((min_size >= 0))
);


ALTER TABLE public.products_customproduct OWNER TO postgres;

--
-- Name: products_customproduct_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_customproduct ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_customproduct_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_customproductimage; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_customproductimage (
    id bigint NOT NULL,
    image character varying(100) NOT NULL,
    created_date timestamp with time zone NOT NULL,
    custom_product_id bigint NOT NULL
);


ALTER TABLE public.products_customproductimage OWNER TO postgres;

--
-- Name: products_customproductimage_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_customproductimage ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_customproductimage_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_customproductvideo; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_customproductvideo (
    id bigint NOT NULL,
    video character varying(100) NOT NULL,
    created_date timestamp with time zone NOT NULL,
    custom_product_id bigint NOT NULL
);


ALTER TABLE public.products_customproductvideo OWNER TO postgres;

--
-- Name: products_customproductvideo_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_customproductvideo ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_customproductvideo_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_dynamicfiltering; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_dynamicfiltering (
    id bigint NOT NULL,
    filter_name character varying(35) NOT NULL,
    created_at timestamp with time zone NOT NULL
);


ALTER TABLE public.products_dynamicfiltering OWNER TO postgres;

--
-- Name: products_dynamicfiltering_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_dynamicfiltering ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_dynamicfiltering_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_dynamicfiltering_products; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_dynamicfiltering_products (
    id bigint NOT NULL,
    dynamicfiltering_id bigint NOT NULL,
    products_id bigint NOT NULL
);


ALTER TABLE public.products_dynamicfiltering_products OWNER TO postgres;

--
-- Name: products_dynamicfiltering_products_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_dynamicfiltering_products ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_dynamicfiltering_products_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_productcategory; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_productcategory (
    uuid uuid NOT NULL,
    category_name character varying(100) NOT NULL,
    category_code character varying(200) NOT NULL,
    created_at timestamp with time zone,
    updated_date timestamp with time zone,
    icon character varying(100),
    standard_image character varying(100),
    banner_image character varying(100)
);


ALTER TABLE public.products_productcategory OWNER TO postgres;

--
-- Name: products_productimage; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_productimage (
    id bigint NOT NULL,
    image character varying(100) NOT NULL,
    created_date timestamp with time zone NOT NULL,
    product_id bigint NOT NULL
);


ALTER TABLE public.products_productimage OWNER TO postgres;

--
-- Name: products_productimage_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_productimage ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_productimage_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_productreview; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_productreview (
    id bigint NOT NULL,
    rating integer NOT NULL,
    review_heading character varying(150) NOT NULL,
    review_text text NOT NULL,
    created_at timestamp with time zone NOT NULL,
    user_id uuid NOT NULL,
    product_id bigint NOT NULL,
    CONSTRAINT products_productreview_rating_check CHECK ((rating >= 0))
);


ALTER TABLE public.products_productreview OWNER TO postgres;

--
-- Name: products_productreview_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_productreview ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_productreview_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_products; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_products (
    id bigint NOT NULL,
    product_type character varying(100) NOT NULL,
    item_name character varying(120) NOT NULL,
    item_code character varying(120) NOT NULL,
    item_description text NOT NULL,
    veg_or_non_veg_status character varying(100) NOT NULL,
    i_gst double precision,
    s_gst double precision,
    c_gst double precision,
    cess double precision,
    created_date timestamp with time zone,
    updated_date timestamp with time zone,
    item_category_id uuid NOT NULL,
    item_sub_category_id uuid NOT NULL
);


ALTER TABLE public.products_products OWNER TO postgres;

--
-- Name: products_products_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_products ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_products_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_productsubcategory; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_productsubcategory (
    uuid uuid NOT NULL,
    sub_category_name character varying(100) NOT NULL,
    sub_category_code character varying(200) NOT NULL,
    standard_image character varying(100),
    created_at timestamp with time zone,
    updated_date timestamp with time zone,
    category_id uuid NOT NULL
);


ALTER TABLE public.products_productsubcategory OWNER TO postgres;

--
-- Name: products_productvideo; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_productvideo (
    id bigint NOT NULL,
    video character varying(100) NOT NULL,
    created_date timestamp with time zone NOT NULL,
    product_id bigint NOT NULL
);


ALTER TABLE public.products_productvideo OWNER TO postgres;

--
-- Name: products_productvideo_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_productvideo ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_productvideo_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_salesunitproductselection; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_salesunitproductselection (
    id bigint NOT NULL,
    shop_admin_status character varying(100) NOT NULL,
    status character varying(100) NOT NULL,
    sales_unit_id uuid NOT NULL,
    sku_id bigint
);


ALTER TABLE public.products_salesunitproductselection OWNER TO postgres;

--
-- Name: products_salesunitproductselection_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_salesunitproductselection ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_salesunitproductselection_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_sku; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_sku (
    id bigint NOT NULL,
    sku_name character varying(120) NOT NULL,
    sku_code character varying(120) NOT NULL,
    sku_quantity integer NOT NULL,
    sku_unit character varying(20) NOT NULL,
    sku_mrp double precision,
    sku_expiry_duration integer NOT NULL,
    sku_bulk_qty_limit integer NOT NULL,
    sku_status character varying(100) NOT NULL,
    product_id bigint NOT NULL,
    CONSTRAINT products_sku_sku_bulk_qty_limit_check CHECK ((sku_bulk_qty_limit >= 0)),
    CONSTRAINT products_sku_sku_expiry_duration_check CHECK ((sku_expiry_duration >= 0)),
    CONSTRAINT products_sku_sku_quantity_check CHECK ((sku_quantity >= 0))
);


ALTER TABLE public.products_sku OWNER TO postgres;

--
-- Name: products_sku_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_sku ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_sku_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_speciallist; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_speciallist (
    id bigint NOT NULL,
    special_name character varying(35) NOT NULL,
    icon character varying(100),
    standard_image character varying(100),
    banner_image character varying(100),
    created_at timestamp with time zone NOT NULL
);


ALTER TABLE public.products_speciallist OWNER TO postgres;

--
-- Name: products_speciallist_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_speciallist ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_speciallist_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_speciallist_products; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_speciallist_products (
    id bigint NOT NULL,
    speciallist_id bigint NOT NULL,
    products_id bigint NOT NULL
);


ALTER TABLE public.products_speciallist_products OWNER TO postgres;

--
-- Name: products_speciallist_products_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_speciallist_products ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_speciallist_products_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_tags; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_tags (
    id bigint NOT NULL,
    tag_name character varying(35) NOT NULL,
    icon character varying(100),
    created_at timestamp with time zone NOT NULL
);


ALTER TABLE public.products_tags OWNER TO postgres;

--
-- Name: products_tags_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_tags ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_tags_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_tags_products; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_tags_products (
    id bigint NOT NULL,
    tags_id bigint NOT NULL,
    products_id bigint NOT NULL
);


ALTER TABLE public.products_tags_products OWNER TO postgres;

--
-- Name: products_tags_products_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_tags_products ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_tags_products_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: products_wishlist; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.products_wishlist (
    id bigint NOT NULL,
    created_at timestamp with time zone NOT NULL,
    updated_at timestamp with time zone,
    product_id bigint NOT NULL,
    user_id uuid NOT NULL
);


ALTER TABLE public.products_wishlist OWNER TO postgres;

--
-- Name: products_wishlist_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.products_wishlist ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.products_wishlist_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: shops_bankdetails; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.shops_bankdetails (
    id bigint NOT NULL,
    account_name text NOT NULL,
    bank_name text NOT NULL,
    branch_name text NOT NULL,
    ifsc_code text NOT NULL,
    account_number text NOT NULL,
    created_date timestamp with time zone,
    updated_date timestamp with time zone,
    shop_id uuid NOT NULL
);


ALTER TABLE public.shops_bankdetails OWNER TO postgres;

--
-- Name: shops_bankdetails_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.shops_bankdetails ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.shops_bankdetails_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Name: shops_productionunit; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.shops_productionunit (
    uuid uuid NOT NULL,
    pu_name character varying(100) NOT NULL,
    pu_code character varying(200) NOT NULL,
    pu_location character varying(200) NOT NULL,
    street character varying(200),
    city character varying(100),
    district character varying(50),
    state_or_province character varying(100),
    pin_code integer,
    latitude double precision NOT NULL,
    longitude double precision NOT NULL,
    gst character varying(50),
    contact_no character varying(20),
    email character varying(200),
    status character varying(100) NOT NULL,
    created_at timestamp with time zone,
    updated_date timestamp with time zone
);


ALTER TABLE public.shops_productionunit OWNER TO postgres;

--
-- Name: shops_shop; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.shops_shop (
    uuid uuid NOT NULL,
    unit_name character varying(100) NOT NULL,
    unit_code character varying(200) NOT NULL,
    unit_location character varying(200) NOT NULL,
    street character varying(200),
    city character varying(100),
    district character varying(50),
    state_or_province character varying(100),
    pin_code integer,
    latitude double precision NOT NULL,
    longitude double precision NOT NULL,
    contact_no character varying(20),
    email character varying(200),
    status character varying(100) NOT NULL,
    delivery_mode character varying(200) NOT NULL,
    created_at timestamp with time zone,
    updated_date timestamp with time zone,
    gst character varying(50),
    delivery_radius double precision NOT NULL
);


ALTER TABLE public.shops_shop OWNER TO postgres;

--
-- Name: shops_shop_unit_admin_user; Type: TABLE; Schema: public; Owner: postgres
--

CREATE TABLE public.shops_shop_unit_admin_user (
    id bigint NOT NULL,
    shop_id uuid NOT NULL,
    users_id uuid NOT NULL
);


ALTER TABLE public.shops_shop_unit_admin_user OWNER TO postgres;

--
-- Name: shops_shop_unit_admin_user_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--

ALTER TABLE public.shops_shop_unit_admin_user ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
    SEQUENCE NAME public.shops_shop_unit_admin_user_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1
);


--
-- Data for Name: accounts_address; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.accounts_address (id, latitude, longitude, flat_no, landmark, address_type, user_id) FROM stdin;
1	10.015846	76.341866	kakkanad	kochi	Work	c972daf6-63e6-44a0-9734-ac21322367b3
3	11.617300	75.991100	Dulcet 13 G	Infopark	work	57f16d7d-fd1e-49e6-92d6-c13a5a0315ea
4	10.014200	76.363500	Carnival phase 3	Near TCS	work	e315a490-321f-4ca6-ad0f-5788fd70f7d0
5	10.015844	76.341866	saasvaap techies ltd	near kakanad	Work	fdd124cb-05bf-4dd9-b28b-dfd5b61951e7
6	0.000000	0.000000	door no 23	lavendar	Work	ef735842-0974-458d-b80c-9f00e594c99f
7	10.015853	76.341866	Door No 23	Triveny	Home	ef735842-0974-458d-b80c-9f00e594c99f
8	9.968195	76.318234	sbg	sgga	Home	ef735842-0974-458d-b80c-9f00e594c99f
9	8.614698	76.834756	fgg	hyhg	Work	ef735842-0974-458d-b80c-9f00e594c99f
11	8.614675	76.834763	ddd	xxx	Other	0e745c7b-c655-4c3f-8608-d5d8baeea400
12	8.614699	76.834749	sbsbs	bsbsb	Work	5818abf8-8352-4846-bffb-bfdc698f1c95
13	8.614699	76.834751	bccb	f	Other	fdb71d4c-0b30-405e-80e6-4f6f09c5107c
10	9.970300	76.318400	edited	land 123	other	246c54aa-8ab3-4c04-a352-bbb6cab673b2
18	10.015400	76.342000	dsg	dsf	home	57f16d7d-fd1e-49e6-92d6-c13a5a0315ea
19	8.386800	77.128200	1212	asa	other	870062f0-fcf6-48a3-9964-83e4896225c1
20	8.562666	76.879281	abc	def	Work	78396b98-5026-40e8-8af5-9801b8ae61aa
21	10.015852	76.341866	demo	trial	Other	78396b98-5026-40e8-8af5-9801b8ae61aa
22	8.397400	77.131300	1212	12121	other	870062f0-fcf6-48a3-9964-83e4896225c1
23	9.968200	76.318200	11d23	sfdsdfs	home	870062f0-fcf6-48a3-9964-83e4896225c1
26	9.968200	76.318200	aaa	111	other	870062f0-fcf6-48a3-9964-83e4896225c1
28	8.524100	76.936600	546, trivandrum	654trivsndrum	other	e315a490-321f-4ca6-ad0f-5788fd70f7d0
29	10.012695	76.362893	vytila	near temple road	Work	fdd124cb-05bf-4dd9-b28b-dfd5b61951e7
30	9.948700	76.346400	Near Kizhykke kotta	Temple road	work	e315a490-321f-4ca6-ad0f-5788fd70f7d0
25	9.986474	76.310838	near temple	road way	Work	fdd124cb-05bf-4dd9-b28b-dfd5b61951e7
27	9.968200	76.318200	vytila	589	other	e315a490-321f-4ca6-ad0f-5788fd70f7d0
32	9.968191	76.318234	vytila	kochi	Other	c972daf6-63e6-44a0-9734-ac21322367b3
2	8.614686	76.834749	Jithya Nivas	Murukkumpuzha	Home	c972daf6-63e6-44a0-9734-ac21322367b3
35	9.968177	76.318234	vytila	kochi	Work	e76cf8d9-e394-42f7-befd-240a7ecab762
36	12.971585	77.594600	Bangalore	trial	Other	e76cf8d9-e394-42f7-befd-240a7ecab762
38	10.015900	76.341900	tyd	yuy	other	bcef3dda-e52c-4f72-b58d-d36073f8a07d
39	8.524100	76.936600	gfth	yfyt	work	bcef3dda-e52c-4f72-b58d-d36073f8a07d
34	8.571913	76.885026	ijk	ggsbsb	Other	c972daf6-63e6-44a0-9734-ac21322367b3
44	8.524117	76.936637	near technopark	near gayathri building	Work	fdd124cb-05bf-4dd9-b28b-dfd5b61951e7
\.


--
-- Data for Name: accounts_userlocation; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.accounts_userlocation (id, latitude, longitude, created_at, anonymous_id, is_selected_address, address_id, shop_id, user_id) FROM stdin;
19	9.968199	76.3182346	2025-01-24 12:54:56.614496+05:30	\N	f	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	870062f0-fcf6-48a3-9964-83e4896225c1
21	8.5241391	76.9366376	2025-01-27 11:53:16.232136+05:30	3f10802b-aedd-4117-95b3-07faac6897ef	f	\N	\N	\N
7	10.0531493	76.3528075	2025-01-23 15:17:25.371254+05:30	4e5ad708-53f0-4459-b5c4-42402910d03b	f	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	\N
22	10.0158605	76.3418666	2025-01-27 13:50:29.443661+05:30	4455c80a-c759-4885-aa43-75ea825aaa14	f	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	\N
9	9.968199	76.3182346	2025-01-23 16:47:59.204251+05:30	e85e5855-4bd1-4c0c-b84a-c333cc0efca1	f	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	\N
25	10.0158605	76.3418666	2025-01-27 15:29:37.368864+05:30	\N	f	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	57f16d7d-fd1e-49e6-92d6-c13a5a0315ea
11	9.968199	76.3182346	2025-01-23 17:47:01.67495+05:30	\N	f	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	246c54aa-8ab3-4c04-a352-bbb6cab673b2
10	10.015853	76.341866	2025-01-23 17:41:23.413431+05:30	\N	t	7	3b331937-12ee-4c19-8bf6-68d1529e82b2	ef735842-0974-458d-b80c-9f00e594c99f
12	8.614675	76.834763	2025-01-23 17:57:23.269636+05:30	\N	t	11	\N	0e745c7b-c655-4c3f-8608-d5d8baeea400
13	8.614699	76.834749	2025-01-23 17:59:25.097967+05:30	\N	t	12	\N	5818abf8-8352-4846-bffb-bfdc698f1c95
14	8.614699	76.834751	2025-01-23 18:00:47.20921+05:30	\N	t	13	\N	fdb71d4c-0b30-405e-80e6-4f6f09c5107c
31	8.5241391	76.9366376	2025-01-28 14:20:34.871452+05:30	\N	f	\N	\N	bcef3dda-e52c-4f72-b58d-d36073f8a07d
26	10.0158605	76.3418666	2025-01-28 10:47:08.810251+05:30	a1601a89-7868-43f9-9d4e-c00f47e4f9c6	f	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	\N
27	10.0158605	76.3418666	2025-01-28 10:48:14.251025+05:30	795c9dd0-6b76-477a-8a00-40ca95506fa7	f	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	\N
28	10.0158605	76.3418666	2025-01-28 11:09:52.536446+05:30	ded8fc0c-5014-489f-b3d3-eb6e8c30c30a	f	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	\N
35	9.591566799999999	76.5221531	2025-01-29 12:01:00.312539+05:30	8cb2f157-a702-4ff9-83e2-0500fa897404	f	\N	\N	\N
29	10.0158605	76.3418666	2025-01-28 11:45:06.87642+05:30	\N	f	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	e315a490-321f-4ca6-ad0f-5788fd70f7d0
18	10.015852	76.341866	2025-01-24 10:41:56.513052+05:30	\N	t	21	3b331937-12ee-4c19-8bf6-68d1529e82b2	78396b98-5026-40e8-8af5-9801b8ae61aa
32	12.971585	77.5946	2025-01-28 17:28:34.976918+05:30	\N	t	36	\N	e76cf8d9-e394-42f7-befd-240a7ecab762
33	9.968199	76.3182346	2025-01-29 11:19:42.077497+05:30	\N	f	\N	34148290-f2ae-45ff-aeba-6bc6436fecef	ae3c71b0-b168-49b2-af44-7076787d4ca9
34	10.0158605	76.3418666	2025-01-29 11:55:12.519354+05:30	01a43cbb-973f-413d-b4ec-3b7d43209a36	f	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	\N
1	9.968191	76.318234	2025-01-23 10:48:58.893286+05:30	\N	t	32	34148290-f2ae-45ff-aeba-6bc6436fecef	c972daf6-63e6-44a0-9734-ac21322367b3
8	10.015844	76.341866	2025-01-23 16:15:52.490274+05:30	\N	t	5	3b331937-12ee-4c19-8bf6-68d1529e82b2	fdd124cb-05bf-4dd9-b28b-dfd5b61951e7
\.


--
-- Data for Name: accounts_users_groups; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.accounts_users_groups (id, users_id, group_id) FROM stdin;
\.


--
-- Data for Name: accounts_users_user_permissions; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.accounts_users_user_permissions (id, users_id, permission_id) FROM stdin;
\.


--
-- Data for Name: auth_group; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.auth_group (id, name) FROM stdin;
\.


--
-- Data for Name: auth_group_permissions; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.auth_group_permissions (id, group_id, permission_id) FROM stdin;
\.


--
-- Data for Name: auth_permission; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.auth_permission (id, name, content_type_id, codename) FROM stdin;
1	Can add log entry	1	add_logentry
2	Can change log entry	1	change_logentry
3	Can delete log entry	1	delete_logentry
4	Can view log entry	1	view_logentry
5	Can add permission	2	add_permission
6	Can change permission	2	change_permission
7	Can delete permission	2	delete_permission
8	Can view permission	2	view_permission
9	Can add group	3	add_group
10	Can change group	3	change_group
11	Can delete group	3	delete_group
12	Can view group	3	view_group
13	Can add content type	4	add_contenttype
14	Can change content type	4	change_contenttype
15	Can delete content type	4	delete_contenttype
16	Can view content type	4	view_contenttype
17	Can add session	5	add_session
18	Can change session	5	change_session
19	Can delete session	5	delete_session
20	Can view session	5	view_session
21	Can add users	6	add_users
22	Can change users	6	change_users
23	Can delete users	6	delete_users
24	Can view users	6	view_users
25	Can add address	7	add_address
26	Can change address	7	change_address
27	Can delete address	7	delete_address
28	Can view address	7	view_address
29	Can add otp	8	add_otp
30	Can change otp	8	change_otp
31	Can delete otp	8	delete_otp
32	Can view otp	8	view_otp
33	Can add user location	9	add_userlocation
34	Can change user location	9	change_userlocation
35	Can delete user location	9	delete_userlocation
36	Can view user location	9	view_userlocation
37	Can add production unit	10	add_productionunit
38	Can change production unit	10	change_productionunit
39	Can delete production unit	10	delete_productionunit
40	Can view production unit	10	view_productionunit
41	Can add shop	11	add_shop
42	Can change shop	11	change_shop
43	Can delete shop	11	delete_shop
44	Can view shop	11	view_shop
45	Can add bank details	12	add_bankdetails
46	Can change bank details	12	change_bankdetails
47	Can delete bank details	12	delete_bankdetails
48	Can view bank details	12	view_bankdetails
49	Can add custom product	13	add_customproduct
50	Can change custom product	13	change_customproduct
51	Can delete custom product	13	delete_customproduct
52	Can view custom product	13	view_customproduct
53	Can add product category	14	add_productcategory
54	Can change product category	14	change_productcategory
55	Can delete product category	14	delete_productcategory
56	Can view product category	14	view_productcategory
57	Can add custom product image	15	add_customproductimage
58	Can change custom product image	15	change_customproductimage
59	Can delete custom product image	15	delete_customproductimage
60	Can view custom product image	15	view_customproductimage
61	Can add custom product video	16	add_customproductvideo
62	Can change custom product video	16	change_customproductvideo
63	Can delete custom product video	16	delete_customproductvideo
64	Can view custom product video	16	view_customproductvideo
65	Can add products	17	add_products
66	Can change products	17	change_products
67	Can delete products	17	delete_products
68	Can view products	17	view_products
69	Can add product review	18	add_productreview
70	Can change product review	18	change_productreview
71	Can delete product review	18	delete_productreview
72	Can view product review	18	view_productreview
73	Can add product image	19	add_productimage
74	Can change product image	19	change_productimage
75	Can delete product image	19	delete_productimage
76	Can view product image	19	view_productimage
77	Can add dynamic filtering	20	add_dynamicfiltering
78	Can change dynamic filtering	20	change_dynamicfiltering
79	Can delete dynamic filtering	20	delete_dynamicfiltering
80	Can view dynamic filtering	20	view_dynamicfiltering
81	Can add product sub category	21	add_productsubcategory
82	Can change product sub category	21	change_productsubcategory
83	Can delete product sub category	21	delete_productsubcategory
84	Can view product sub category	21	view_productsubcategory
85	Can add product video	22	add_productvideo
86	Can change product video	22	change_productvideo
87	Can delete product video	22	delete_productvideo
88	Can view product video	22	view_productvideo
89	Can add sku	23	add_sku
90	Can change sku	23	change_sku
91	Can delete sku	23	delete_sku
92	Can view sku	23	view_sku
93	Can add sales unit product selection	24	add_salesunitproductselection
94	Can change sales unit product selection	24	change_salesunitproductselection
95	Can delete sales unit product selection	24	delete_salesunitproductselection
96	Can view sales unit product selection	24	view_salesunitproductselection
97	Can add special list	25	add_speciallist
98	Can change special list	25	change_speciallist
99	Can delete special list	25	delete_speciallist
100	Can view special list	25	view_speciallist
101	Can add tags	26	add_tags
102	Can change tags	26	change_tags
103	Can delete tags	26	delete_tags
104	Can view tags	26	view_tags
105	Can add wishlist	27	add_wishlist
106	Can change wishlist	27	change_wishlist
107	Can delete wishlist	27	delete_wishlist
108	Can view wishlist	27	view_wishlist
109	Can add Token	28	add_token
110	Can change Token	28	change_token
111	Can delete Token	28	delete_token
112	Can view Token	28	view_token
113	Can add Token	29	add_tokenproxy
114	Can change Token	29	change_tokenproxy
115	Can delete Token	29	delete_tokenproxy
116	Can view Token	29	view_tokenproxy
117	Can add ads	30	add_ads
118	Can change ads	30	change_ads
119	Can delete ads	30	delete_ads
120	Can view ads	30	view_ads
121	Can add delivery boys	31	add_deliveryboys
122	Can change delivery boys	31	change_deliveryboys
123	Can delete delivery boys	31	delete_deliveryboys
124	Can view delivery boys	31	view_deliveryboys
125	Can add delivery slot	32	add_deliveryslot
126	Can change delivery slot	32	change_deliveryslot
127	Can delete delivery slot	32	delete_deliveryslot
128	Can view delivery slot	32	view_deliveryslot
129	Can add dropaddress	33	add_dropaddress
130	Can change dropaddress	33	change_dropaddress
131	Can delete dropaddress	33	delete_dropaddress
132	Can view dropaddress	33	view_dropaddress
133	Can add cart	34	add_cart
134	Can change cart	34	change_cart
135	Can delete cart	34	delete_cart
136	Can view cart	34	view_cart
137	Can add cart item	35	add_cartitem
138	Can change cart item	35	change_cartitem
139	Can delete cart item	35	delete_cartitem
140	Can view cart item	35	view_cartitem
141	Can add coupons	36	add_coupons
142	Can change coupons	36	change_coupons
143	Can delete coupons	36	delete_coupons
144	Can view coupons	36	view_coupons
145	Can add discount	37	add_discount
146	Can change discount	37	change_discount
147	Can delete discount	37	delete_discount
148	Can view discount	37	view_discount
149	Can add orders	38	add_orders
150	Can change orders	38	change_orders
151	Can delete orders	38	delete_orders
152	Can view orders	38	view_orders
153	Can add order products	39	add_orderproducts
154	Can change order products	39	change_orderproducts
155	Can delete order products	39	delete_orderproducts
156	Can view order products	39	view_orderproducts
157	Can add order delivery	40	add_orderdelivery
158	Can change order delivery	40	change_orderdelivery
159	Can delete order delivery	40	delete_orderdelivery
160	Can view order delivery	40	view_orderdelivery
161	Can add notification stat	41	add_notificationstat
162	Can change notification stat	41	change_notificationstat
163	Can delete notification stat	41	delete_notificationstat
164	Can view notification stat	41	view_notificationstat
165	Can add payment	42	add_payment
166	Can change payment	42	change_payment
167	Can delete payment	42	delete_payment
168	Can view payment	42	view_payment
169	Can add crontab	43	add_crontabschedule
170	Can change crontab	43	change_crontabschedule
171	Can delete crontab	43	delete_crontabschedule
172	Can view crontab	43	view_crontabschedule
173	Can add interval	44	add_intervalschedule
174	Can change interval	44	change_intervalschedule
175	Can delete interval	44	delete_intervalschedule
176	Can view interval	44	view_intervalschedule
177	Can add periodic task	45	add_periodictask
178	Can change periodic task	45	change_periodictask
179	Can delete periodic task	45	delete_periodictask
180	Can view periodic task	45	view_periodictask
181	Can add periodic task track	46	add_periodictasks
182	Can change periodic task track	46	change_periodictasks
183	Can delete periodic task track	46	delete_periodictasks
184	Can view periodic task track	46	view_periodictasks
185	Can add solar event	47	add_solarschedule
186	Can change solar event	47	change_solarschedule
187	Can delete solar event	47	delete_solarschedule
188	Can view solar event	47	view_solarschedule
189	Can add clocked	48	add_clockedschedule
190	Can change clocked	48	change_clockedschedule
191	Can delete clocked	48	delete_clockedschedule
192	Can view clocked	48	view_clockedschedule
\.


--
-- Data for Name: django_admin_log; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) FROM stdin;
1	2025-01-23 11:12:14.317407+05:30	12e98799-6b76-43ba-8d19-b65f2f848b7d	admin navya - admin@navya.com	2	[{"changed": {"fields": ["First name", "Last name", "Status", "User type"]}}]	6	12e98799-6b76-43ba-8d19-b65f2f848b7d
2	2025-01-23 11:13:59.457249+05:30	12e98799-6b76-43ba-8d19-b65f2f848b7d	admin navya - admin@navya.com	2	[{"changed": {"fields": ["Email verified", "User verify status"]}}]	6	12e98799-6b76-43ba-8d19-b65f2f848b7d
3	2025-01-23 11:15:28.210484+05:30	12e98799-6b76-43ba-8d19-b65f2f848b7d	admin navya - admin@navya.com	2	[]	6	12e98799-6b76-43ba-8d19-b65f2f848b7d
\.


--
-- Data for Name: django_celery_beat_clockedschedule; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.django_celery_beat_clockedschedule (id, clocked_time) FROM stdin;
\.


--
-- Data for Name: django_celery_beat_crontabschedule; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.django_celery_beat_crontabschedule (id, minute, hour, day_of_week, day_of_month, month_of_year, timezone) FROM stdin;
\.


--
-- Data for Name: django_celery_beat_intervalschedule; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.django_celery_beat_intervalschedule (id, every, period) FROM stdin;
\.


--
-- Data for Name: django_celery_beat_periodictask; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.django_celery_beat_periodictask (id, name, task, args, kwargs, queue, exchange, routing_key, expires, enabled, last_run_at, total_run_count, date_changed, description, crontab_id, interval_id, solar_id, one_off, start_time, priority, headers, clocked_id, expire_seconds) FROM stdin;
\.


--
-- Data for Name: django_celery_beat_periodictasks; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.django_celery_beat_periodictasks (ident, last_update) FROM stdin;
\.


--
-- Data for Name: django_celery_beat_solarschedule; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.django_celery_beat_solarschedule (id, event, latitude, longitude) FROM stdin;
\.


--
-- Data for Name: django_content_type; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.django_content_type (id, app_label, model) FROM stdin;
1	admin	logentry
2	auth	permission
3	auth	group
4	contenttypes	contenttype
5	sessions	session
6	accounts	users
7	accounts	address
8	accounts	otp
9	accounts	userlocation
10	shops	productionunit
11	shops	shop
12	shops	bankdetails
13	products	customproduct
14	products	productcategory
15	products	customproductimage
16	products	customproductvideo
17	products	products
18	products	productreview
19	products	productimage
20	products	dynamicfiltering
21	products	productsubcategory
22	products	productvideo
23	products	sku
24	products	salesunitproductselection
25	products	speciallist
26	products	tags
27	products	wishlist
28	authtoken	token
29	authtoken	tokenproxy
30	orders	ads
31	orders	deliveryboys
32	orders	deliveryslot
33	orders	dropaddress
34	orders	cart
35	orders	cartitem
36	orders	coupons
37	orders	discount
38	orders	orders
39	orders	orderproducts
40	orders	orderdelivery
41	orders	notificationstat
42	orders	payment
43	django_celery_beat	crontabschedule
44	django_celery_beat	intervalschedule
45	django_celery_beat	periodictask
46	django_celery_beat	periodictasks
47	django_celery_beat	solarschedule
48	django_celery_beat	clockedschedule
\.


--
-- Data for Name: django_migrations; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.django_migrations (id, app, name, applied) FROM stdin;
1	contenttypes	0001_initial	2025-01-23 10:46:23.766929+05:30
2	contenttypes	0002_remove_content_type_name	2025-01-23 10:46:23.780065+05:30
3	auth	0001_initial	2025-01-23 10:46:23.857983+05:30
4	auth	0002_alter_permission_name_max_length	2025-01-23 10:46:23.865283+05:30
5	auth	0003_alter_user_email_max_length	2025-01-23 10:46:23.872688+05:30
6	auth	0004_alter_user_username_opts	2025-01-23 10:46:23.880155+05:30
7	auth	0005_alter_user_last_login_null	2025-01-23 10:46:23.889078+05:30
8	auth	0006_require_contenttypes_0002	2025-01-23 10:46:23.892057+05:30
9	auth	0007_alter_validators_add_error_messages	2025-01-23 10:46:23.899332+05:30
10	auth	0008_alter_user_username_max_length	2025-01-23 10:46:23.906312+05:30
11	auth	0009_alter_user_last_name_max_length	2025-01-23 10:46:23.914352+05:30
12	auth	0010_alter_group_name_max_length	2025-01-23 10:46:23.923973+05:30
13	auth	0011_update_proxy_permissions	2025-01-23 10:46:23.931339+05:30
14	auth	0012_alter_user_first_name_max_length	2025-01-23 10:46:23.938435+05:30
15	accounts	0001_initial	2025-01-23 10:46:24.089864+05:30
16	shops	0001_initial	2025-01-23 10:46:24.198789+05:30
17	accounts	0002_initial	2025-01-23 10:46:24.237915+05:30
18	admin	0001_initial	2025-01-23 10:46:24.281615+05:30
19	admin	0002_logentry_remove_auto_add	2025-01-23 10:46:24.295708+05:30
20	admin	0003_logentry_add_action_flag_choices	2025-01-23 10:46:24.310255+05:30
21	authtoken	0001_initial	2025-01-23 10:46:24.343163+05:30
22	authtoken	0002_auto_20160226_1747	2025-01-23 10:46:24.393755+05:30
23	authtoken	0003_tokenproxy	2025-01-23 10:46:24.397933+05:30
24	authtoken	0004_alter_tokenproxy_options	2025-01-23 10:46:24.404854+05:30
25	django_celery_beat	0001_initial	2025-01-23 10:46:24.467642+05:30
26	django_celery_beat	0002_auto_20161118_0346	2025-01-23 10:46:24.489606+05:30
27	django_celery_beat	0003_auto_20161209_0049	2025-01-23 10:46:24.502841+05:30
28	django_celery_beat	0004_auto_20170221_0000	2025-01-23 10:46:24.508745+05:30
29	django_celery_beat	0005_add_solarschedule_events_choices	2025-01-23 10:46:24.514752+05:30
30	django_celery_beat	0006_auto_20180322_0932	2025-01-23 10:46:24.564569+05:30
31	django_celery_beat	0007_auto_20180521_0826	2025-01-23 10:46:24.589898+05:30
32	django_celery_beat	0008_auto_20180914_1922	2025-01-23 10:46:24.70014+05:30
33	django_celery_beat	0006_auto_20180210_1226	2025-01-23 10:46:24.726343+05:30
34	django_celery_beat	0006_periodictask_priority	2025-01-23 10:46:24.740501+05:30
35	django_celery_beat	0009_periodictask_headers	2025-01-23 10:46:24.754566+05:30
36	django_celery_beat	0010_auto_20190429_0326	2025-01-23 10:46:25.002562+05:30
37	django_celery_beat	0011_auto_20190508_0153	2025-01-23 10:46:25.045344+05:30
38	django_celery_beat	0012_periodictask_expire_seconds	2025-01-23 10:46:25.059214+05:30
39	django_celery_beat	0013_auto_20200609_0727	2025-01-23 10:46:25.07302+05:30
40	django_celery_beat	0014_remove_clockedschedule_enabled	2025-01-23 10:46:25.080486+05:30
41	django_celery_beat	0015_edit_solarschedule_events_choices	2025-01-23 10:46:25.086942+05:30
42	django_celery_beat	0016_alter_crontabschedule_timezone	2025-01-23 10:46:25.101229+05:30
43	django_celery_beat	0017_alter_crontabschedule_month_of_year	2025-01-23 10:46:25.115145+05:30
44	django_celery_beat	0018_improve_crontab_helptext	2025-01-23 10:46:25.127316+05:30
45	django_celery_beat	0019_alter_periodictasks_options	2025-01-23 10:46:25.132501+05:30
46	products	0001_initial	2025-01-23 10:46:25.664785+05:30
47	orders	0001_initial	2025-01-23 10:46:26.541959+05:30
48	sessions	0001_initial	2025-01-23 10:46:26.567872+05:30
49	orders	0002_remove_ads_adcommunication_remove_ads_adlink_and_more	2025-01-23 16:40:43.23522+05:30
\.


--
-- Data for Name: orders_ads; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.orders_ads (id, "AdTitle", "AdDescription", "AdPlacement", "AdType", "StandardImage", "BannerImage", created_at, "Coupon", "Discount", "Product") FROM stdin;
\.


--
-- Data for Name: orders_cart; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.orders_cart (id, anonymous_id, created_at, updated_at, user_id, coupon_id) FROM stdin;
32	3f10802b-aedd-4117-95b3-07faac6897ef	2025-01-27 11:53:24.910247+05:30	2025-01-27 11:53:24.910268+05:30	\N	\N
\.


--
-- Data for Name: orders_cartitem; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.orders_cartitem (id, quantity, cart_id, sku_id) FROM stdin;
35	2	32	1
36	1	32	12
37	1	32	14
\.


--
-- Data for Name: orders_coupons; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.orders_coupons (id, "CouponName", "CouponCode", "CouponDescription", "Icon", "CouponOn", "TotalBillAmount", "DiscountAmount", "DiscountPercentage", "CouponType", "MaxNumberofUsers", "Validity_start_date", validity_end_date, "TermsAndConditions", "NotificationSchedule", created_at, "MaxDiscountAmountForPercentage") FROM stdin;
1	Save 50	Save50	Enjoy a special discount with our exclusive "Save ₹50" coupon. Simply apply the coupon code SAVE50 at checkout and get ₹50 off on orders above ₹500		Category	600	550	\N	amount	6	2025-01-29 12:00:00+05:30	2025-01-31 12:00:00+05:30	The "Save ₹50" coupon is valid for all customers making a purchase on our mobile app.	\N	2025-01-23 14:56:27.984476+05:30	\N
2	Buy one cake, get one free.	BOGOCAKE	Indulge in double the delight with our exclusive "Buy One Cake, Get One Free" offer. For a limited time, when you purchase any cake from our delectable selection, you'll receive another cake of equal or lesser value absolutely free!		Category	1500	1500	\N	amount	5	2025-01-29 12:00:00+05:30	2025-01-28 12:00:00+05:30	The free cake must be of equal or lesser value than the purchased cake.	\N	2025-01-23 15:00:02.270432+05:30	\N
\.


--
-- Data for Name: orders_coupons_ApplicableCategory; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public."orders_coupons_ApplicableCategory" (id, coupons_id, productcategory_id) FROM stdin;
1	1	59c134e9-db90-483c-b7a6-e86fc243d79a
2	2	59c134e9-db90-483c-b7a6-e86fc243d79a
\.


--
-- Data for Name: orders_coupons_ApplicableProduct; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public."orders_coupons_ApplicableProduct" (id, coupons_id, products_id) FROM stdin;
\.


--
-- Data for Name: orders_coupons_ApplicableSku; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public."orders_coupons_ApplicableSku" (id, coupons_id, sku_id) FROM stdin;
\.


--
-- Data for Name: orders_coupons_ApplicableSubCategory; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public."orders_coupons_ApplicableSubCategory" (id, coupons_id, productsubcategory_id) FROM stdin;
\.


--
-- Data for Name: orders_coupons_CouponUsed; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public."orders_coupons_CouponUsed" (id, coupons_id, users_id) FROM stdin;
\.


--
-- Data for Name: orders_deliveryboys; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.orders_deliveryboys (id, team_member_name, phone_number, delivery_boy_status, status, created_date, updated_date) FROM stdin;
\.


--
-- Data for Name: orders_deliveryslot; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.orders_deliveryslot (id, start_time, end_time, is_available, status, created_at) FROM stdin;
1	10:00:00	11:00:00	t	active	2025-01-23 15:46:04.133458+05:30
2	12:00:00	14:00:00	t	active	2025-01-23 15:46:56.812164+05:30
3	17:00:00	18:00:00	t	active	2025-01-23 15:47:28.581084+05:30
\.


--
-- Data for Name: orders_discount; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.orders_discount (id, "DiscountName", "DiscountCode", "DiscountDescription", "DiscountOn", "DiscountPercentage", created_at) FROM stdin;
\.


--
-- Data for Name: orders_discount_ApplicableCategory; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public."orders_discount_ApplicableCategory" (id, discount_id, productcategory_id) FROM stdin;
\.


--
-- Data for Name: orders_discount_ApplicableProduct; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public."orders_discount_ApplicableProduct" (id, discount_id, products_id) FROM stdin;
\.


--
-- Data for Name: orders_discount_ApplicableSku; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public."orders_discount_ApplicableSku" (id, discount_id, sku_id) FROM stdin;
\.


--
-- Data for Name: orders_discount_ApplicableSubCategory; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public."orders_discount_ApplicableSubCategory" (id, discount_id, productsubcategory_id) FROM stdin;
\.


--
-- Data for Name: orders_dropaddress; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.orders_dropaddress (uuid, name, house_number_or_name, street, land_mark, city, district, state_or_province, pin_code, latitude, longitude, address_type, contact_number) FROM stdin;
2e253f90-c3e2-4bfe-a0e0-9cb2cc16da7c	Amal VV	Carnival phase 3	street	Near TCS	city	\N	state	0	10.0142	76.3635	work	+91 7994035508
9522ad11-1cba-4dee-bf18-fa3a4a27ba9f	 None	kakkanad	street	kochi	city	\N	state	0	10.015846	76.341866	Work	9846988509
24ca8332-a444-4a4e-bf1e-6727bb5e3ffb	 None	kakkanad	street	kochi	city	\N	state	0	10.015846	76.341866	Work	9846988509
ccbaf27a-73ab-4be6-ad25-a721c59e6633	shahnas khan	11 st	street	land 123	city	\N	state	0	9.9682	76.3182	work	+91 7025456544
11b5fdfe-fc2e-4220-882a-4eadf04f9578	shahnas khan	11 st	street	land 123	city	\N	state	0	9.9682	76.3182	work	+91 7025456544
8ec94b40-0e55-4152-b5bb-dfb513904e37	shahnas khan	edited	street	land 123	city	\N	state	0	9.9703	76.3184	other	+91 7025456544
0a4f7180-3c8c-46fe-b493-fa7035e59c7a	 None	1212	street	asa	city	\N	state	0	8.3868	77.1282	other	+91 7025456506
7c20c85a-2f5a-413b-b4b5-6041a711a215	Amal VV	Carnival phase 3	street	Near TCS	city	\N	state	0	10.0142	76.3635	work	+91 7994035508
d49c90e9-a397-4f6e-b6fe-8cda3a9f7960	 None	1212	street	asa	city	\N	state	0	8.3868	77.1282	other	+91 7025456506
50ee62bd-6008-4a45-8864-33c48a6ab31c	 None	1212	street	asa	city	\N	state	0	8.3868	77.1282	other	+91 7025456506
37730b3e-1326-494d-aa0e-00dcd30b59f4	 None	1212	street	asa	city	\N	state	0	8.3868	77.1282	other	+91 7025456506
f4c2d8ee-87bf-4797-bb5c-0533140f4864	 None	1212	street	asa	city	\N	state	0	8.3868	77.1282	other	+91 7025456506
da670805-35ad-41a5-a304-aaed9087a45c	 None	11d23	street	sfdsdfs	city	\N	state	0	9.9682	76.3182	home	+91 7025456506
3e2c7a5f-01cf-4a6c-a1d9-32ec68eae8e2	Amal VV	Carnival phase 3	street	Near TCS	city	\N	state	0	10.0142	76.3635	work	+91 7994035508
41292930-a07b-4236-996b-9b145d7ce179	Amal VV	Carnival phase 3	street	Near TCS	city	\N	state	0	10.0142	76.3635	work	+91 7994035508
cbdb2710-869f-4107-8659-4bd2ef73a464	Amal VV	546, trivandrum	street	654trivsndrum	city	\N	state	0	8.5241	76.9366	other	+91 7994035508
3b3db930-fbbd-493d-a30d-764e5b7d8064	 None	saasvaap techies ltd	street	near kakanad	city	\N	state	0	10.015844	76.341866	Work	7994035508
6e766fd5-a0ae-4088-be08-8f3fb77fdc21	Amal VV	Carnival phase 3	street	Near TCS	city	\N	state	0	10.0142	76.3635	work	+91 7994035508
60b0e406-7031-4a4f-b7e9-bafe336324d4	Amal VV	vytila	street	589	city	\N	state	0	9.9682	76.3182	other	+91 7994035508
\.


--
-- Data for Name: orders_notificationstat; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.orders_notificationstat (id, "Sendmsg", created_date, updated_date, "sendTo_id", "OrderID_id") FROM stdin;
1	Order Viewed	2025-01-23 17:30:03.406504+05:30	2025-01-23 17:30:03.415617+05:30	c972daf6-63e6-44a0-9734-ac21322367b3	517866ea-387d-40c2-a413-ba09f8bc62a7
2	Order Viewed	2025-01-24 09:38:35.229798+05:30	2025-01-24 09:38:35.237308+05:30	c972daf6-63e6-44a0-9734-ac21322367b3	751ee57b-0efa-48bc-a6b7-2c26aa9e36ef
\.


--
-- Data for Name: orders_orderdelivery; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.orders_orderdelivery (id, delivery_type, courier_service_name, package_number, expected_date_of_delivery, tracking_link, delivery_boy_id, order_id) FROM stdin;
\.


--
-- Data for Name: orders_orderproducts; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.orders_orderproducts (order_product_id, product_name, quantity, price, sku_id, order_id) FROM stdin;
2e3e2267-f811-4190-9b31-318538c4ce5b	Mango Fresh Cream Cake	2	4400	8	927bf9f1-ffa7-440e-a659-91fb052ad0b9
ef228567-35e1-48b9-8562-463cd190b544	Choclate Cake	2	2400	1	517866ea-387d-40c2-a413-ba09f8bc62a7
c73a8435-ea68-4f8d-bb4b-5afc25548e05	Choclate Cake	2	2400	1	751ee57b-0efa-48bc-a6b7-2c26aa9e36ef
87b93a26-71b9-4f18-9514-a8e873d90390	Tropical Fruit Cake	2	3400	12	c5d64070-6830-40b2-8b6a-2adf975ccfec
ab03265d-22e7-4c2c-a532-a96362c1ff4b	Choclate Cake	1	1200	1	c5d64070-6830-40b2-8b6a-2adf975ccfec
dc35261f-4bfb-49a5-baf0-ea30769176c2	Classic Fruit Cakes	1	1850	11	d2f6ff71-83a0-4667-b71f-b517f0df750c
ca79aeee-46be-456c-a1f4-7965886f9640	Classic Fruit Cakes	1	1850	11	910ac452-b8ee-4fd4-a8e9-5245a195368a
ecb3d5f7-21f4-46e0-8f0a-9aedce950da9	Mango Fresh Cream Cake	1	2200	8	7ed0f15e-29f5-47ec-9da1-ca5b56e9aaae
8ccf6a1f-fb78-4cb0-8719-0737ee6935d2	Choclate Cake	2	2400	1	90e0cbc4-bbf8-411d-9932-00d8f3eaf0ef
dd8d3a7e-4164-40a8-9d6e-4aab1c73c84a	Mango Fresh Cream Cake	1	2200	8	0bc4ad85-81bb-4f6a-86d2-f56afdb0ecbb
396c8e10-bbbf-439b-9f33-fb9ec9e15d8d	Mango Fresh Cream Cake	1	2200	8	09aabb1a-7eea-4b32-9c0a-75a96accac53
c437b965-73c4-43f0-b603-81021d588e14	Mango Fresh Cream Cake	1	2200	8	8397066a-d09f-4906-a97d-e41bf7c6dd63
95301239-4cc6-4bbb-b018-21d920fb0f5b	Mango Fresh Cream Cake	1	2200	8	ebe8f185-0527-482d-90d0-0f145476c7dc
32f5f0cd-118a-4829-9b7f-11a67cd0b75a	Nutty Fruit Cake	2	3600	13	cdb61487-120b-4b65-b2ee-4ce19214dcdc
713405e4-1eda-403a-91d0-25c49212b30d	Mango Fresh Cream Cake	4	8800	8	bf54b06c-0d85-425f-ac25-ef06bd7bf737
ed0fd64b-4812-4963-8afd-cc54e4717635	Nutty Fruit Cake	4	7200	13	c5a5b681-030d-49a6-8325-0165f3afcbc1
44a088aa-8e71-40f0-bbc8-1d992d22a2df	Mango Fresh Cream Cake	3	6600	8	ea22b66a-b484-431d-babf-be852017c759
6e52c81f-a962-451a-9a93-6a1ef793af4f	Choclate Cake	4	4800	1	f3fa9f6f-76eb-43db-8584-de7e432f29c4
8f88d7f1-30d9-4b1d-bae3-5992f144e451	Tropical Fruit Cake	3	5100	12	fdc436b9-1506-46c6-a447-ed5b678c6130
274e4df1-76a4-4668-b6a7-33eaa49cc35d	Tropical Fruit Cake	3	5100	12	ce6736aa-ab87-46bb-9477-cd22757c0785
\.


--
-- Data for Name: orders_orders; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.orders_orders (uuid, "order_ID", order_type, sub_total, taxes_and_charges, delivery_charges, grand_total, order_status, delivery_boy, delivery_instruction, cooking_instruction, order_assigntime, order_delivered_time, delivery_slot_date, delivery_slot_time, color_status, color_status_updation_time, created_date, updated_date, total_savings, coupon_savings, discount, drop_address_id, pu_uuid_id, store_uuid_id, user_uuid_id) FROM stdin;
927bf9f1-ffa7-440e-a659-91fb052ad0b9	ID639QP	Local Orders	4400	1584	20	4504	Viewed	\N			\N	\N	2025-01-24	12:00:00	\N	2025-01-23 15:48:01.625039+05:30	2025-01-23 15:48:01.625056+05:30	2025-01-23 17:23:11.815418+05:30	1500	1500	0	2e253f90-c3e2-4bfe-a0e0-9cb2cc16da7c	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	e315a490-321f-4ca6-ad0f-5788fd70f7d0
517866ea-387d-40c2-a413-ba09f8bc62a7	ID147VY	Local Orders	2400	1608	20	2528	Viewed	\N	Directions to reach,Avoid\ncalling		\N	\N	2025-01-24	10:00:00	\N	2025-01-23 17:29:27.932761+05:30	2025-01-23 17:29:27.932776+05:30	2025-01-23 17:30:02.91863+05:30	1500	1500	0	9522ad11-1cba-4dee-bf18-fa3a4a27ba9f	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	c972daf6-63e6-44a0-9734-ac21322367b3
c5d64070-6830-40b2-8b6a-2adf975ccfec	ID563YJ	Local Orders	4600	2674	20	6744	New Order	\N			\N	\N	2025-01-25	10:00:00	\N	2025-01-23 18:02:15.272735+05:30	2025-01-23 18:02:15.272749+05:30	2025-01-23 18:02:15.272755+05:30	550	550	0	ccbaf27a-73ab-4be6-ad25-a721c59e6633	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	246c54aa-8ab3-4c04-a352-bbb6cab673b2
d2f6ff71-83a0-4667-b71f-b517f0df750c	ID100BS	Local Orders	1850	629	20	2499	New Order	\N			\N	\N	2025-01-24	10:00:00	\N	2025-01-23 18:04:42.61355+05:30	2025-01-23 18:04:42.613565+05:30	2025-01-23 18:04:42.613571+05:30	0	0	0	11b5fdfe-fc2e-4220-882a-4eadf04f9578	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	246c54aa-8ab3-4c04-a352-bbb6cab673b2
910ac452-b8ee-4fd4-a8e9-5245a195368a	ID386GR	Local Orders	1850	629	20	2499	New Order	\N			\N	\N	2025-01-25	12:00:00	\N	2025-01-23 18:13:35.360699+05:30	2025-01-23 18:13:35.360714+05:30	2025-01-23 18:13:35.360721+05:30	0	0	0	8ec94b40-0e55-4152-b5bb-dfb513904e37	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	246c54aa-8ab3-4c04-a352-bbb6cab673b2
7ed0f15e-29f5-47ec-9da1-ca5b56e9aaae	ID899EE	Local Orders	2200	792	20	3012	New Order	\N			\N	\N	2025-01-24	10:00:00	\N	2025-01-24 09:34:21.175399+05:30	2025-01-24 09:34:21.175414+05:30	2025-01-24 09:34:21.17542+05:30	0	0	0	0a4f7180-3c8c-46fe-b493-fa7035e59c7a	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	870062f0-fcf6-48a3-9964-83e4896225c1
0bc4ad85-81bb-4f6a-86d2-f56afdb0ecbb	ID350AF	Local Orders	2200	792	20	3012	New Order	\N			\N	\N	2025-01-24	10:00:00	\N	2025-01-24 09:37:43.115418+05:30	2025-01-24 09:37:43.115432+05:30	2025-01-24 09:37:43.115438+05:30	0	0	0	d49c90e9-a397-4f6e-b6fe-8cda3a9f7960	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	870062f0-fcf6-48a3-9964-83e4896225c1
751ee57b-0efa-48bc-a6b7-2c26aa9e36ef	ID174QT	Local Orders	2400	1608	20	2528	Viewed	\N	Directions to reach,Avoid\ncalling		\N	\N	2025-01-24	10:00:00	\N	2025-01-23 17:31:19.447203+05:30	2025-01-23 17:31:19.447218+05:30	2025-01-24 09:38:34.522445+05:30	1500	1500	0	24ca8332-a444-4a4e-bf1e-6727bb5e3ffb	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	c972daf6-63e6-44a0-9734-ac21322367b3
90e0cbc4-bbf8-411d-9932-00d8f3eaf0ef	ID735SP	Local Orders	2400	1608	20	4028	Order Packed	\N			\N	\N	2025-01-25	10:00:00	\N	2025-01-24 09:34:39.139813+05:30	2025-01-24 09:34:39.139829+05:30	2025-01-24 09:39:41.435764+05:30	0	0	0	7c20c85a-2f5a-413b-b4b5-6041a711a215	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	e315a490-321f-4ca6-ad0f-5788fd70f7d0
09aabb1a-7eea-4b32-9c0a-75a96accac53	ID309XZ	Local Orders	2200	792	20	3012	New Order	\N			\N	\N	2025-01-24	10:00:00	\N	2025-01-24 09:44:14.551323+05:30	2025-01-24 09:44:14.551338+05:30	2025-01-24 09:44:14.551344+05:30	0	0	0	50ee62bd-6008-4a45-8864-33c48a6ab31c	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	870062f0-fcf6-48a3-9964-83e4896225c1
8397066a-d09f-4906-a97d-e41bf7c6dd63	ID469RH	Local Orders	2200	792	20	3012	New Order	\N			\N	\N	2025-01-24	10:00:00	\N	2025-01-24 09:44:58.540405+05:30	2025-01-24 09:44:58.54042+05:30	2025-01-24 09:44:58.540426+05:30	0	0	0	37730b3e-1326-494d-aa0e-00dcd30b59f4	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	870062f0-fcf6-48a3-9964-83e4896225c1
ebe8f185-0527-482d-90d0-0f145476c7dc	ID261PV	Local Orders	2200	792	20	3012	New Order	\N			\N	\N	2025-01-24	10:00:00	\N	2025-01-24 09:46:32.891899+05:30	2025-01-24 09:46:32.891916+05:30	2025-01-24 09:46:32.891923+05:30	0	0	0	f4c2d8ee-87bf-4797-bb5c-0533140f4864	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	870062f0-fcf6-48a3-9964-83e4896225c1
cdb61487-120b-4b65-b2ee-4ce19214dcdc	ID754KH	Local Orders	3600	828	20	4448	New Order	\N			\N	\N	2025-01-24	12:00:00	\N	2025-01-24 10:56:11.928525+05:30	2025-01-24 10:56:11.928539+05:30	2025-01-24 10:56:11.928545+05:30	0	0	0	da670805-35ad-41a5-a304-aaed9087a45c	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	870062f0-fcf6-48a3-9964-83e4896225c1
bf54b06c-0d85-425f-ac25-ef06bd7bf737	ID208JY	Local Orders	8800	3168	20	11988	New Order	\N			\N	\N	2025-01-24	12:00:00	\N	2025-01-24 11:15:31.950432+05:30	2025-01-24 11:15:31.950448+05:30	2025-01-24 11:15:31.950454+05:30	0	0	0	3e2c7a5f-01cf-4a6c-a1d9-32ec68eae8e2	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	e315a490-321f-4ca6-ad0f-5788fd70f7d0
c5a5b681-030d-49a6-8325-0165f3afcbc1	ID748RH	Local Orders	7200	1656	20	8876	New Order	\N			\N	\N	2025-01-27	12:00:00	\N	2025-01-27 11:47:02.351582+05:30	2025-01-27 11:47:02.351633+05:30	2025-01-27 11:47:02.351643+05:30	0	0	0	41292930-a07b-4236-996b-9b145d7ce179	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	e315a490-321f-4ca6-ad0f-5788fd70f7d0
ea22b66a-b484-431d-babf-be852017c759	ID832KI	Local Orders	6600	2376	20	8996	New Order	\N			\N	\N	2025-01-27	12:00:00	\N	2025-01-27 11:53:24.312504+05:30	2025-01-27 11:53:24.312519+05:30	2025-01-27 11:53:24.312525+05:30	0	0	0	cbdb2710-869f-4107-8659-4bd2ef73a464	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	e315a490-321f-4ca6-ad0f-5788fd70f7d0
f3fa9f6f-76eb-43db-8584-de7e432f29c4	ID173UF	Local Orders	4800	3216	20	8036	New Order	\N	Leave at the door,Directions to reach,Avoid\ncalling		\N	\N	2025-01-28	10:00:00	\N	2025-01-27 12:42:42.642175+05:30	2025-01-27 12:42:42.642191+05:30	2025-01-27 12:42:42.642197+05:30	0	0	0	3b3db930-fbbd-493d-a30d-764e5b7d8064	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	fdd124cb-05bf-4dd9-b28b-dfd5b61951e7
fdc436b9-1506-46c6-a447-ed5b678c6130	ID509RO	Local Orders	5100	2805	20	7925	New Order	\N			\N	\N	2025-01-28	12:00:00	\N	2025-01-28 11:54:47.409877+05:30	2025-01-28 11:54:47.409892+05:30	2025-01-28 11:54:47.409898+05:30	0	0	0	6e766fd5-a0ae-4088-be08-8f3fb77fdc21	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	e315a490-321f-4ca6-ad0f-5788fd70f7d0
ce6736aa-ab87-46bb-9477-cd22757c0785	ID482ZN	Local Orders	5100	2805	20	7925	New Order	\N			\N	\N	2025-01-28	12:00:00	\N	2025-01-28 11:56:03.787638+05:30	2025-01-28 11:56:03.787653+05:30	2025-01-28 11:56:03.787659+05:30	0	0	0	60b0e406-7031-4a4f-b7e9-bafe336324d4	\N	3b331937-12ee-4c19-8bf6-68d1529e82b2	e315a490-321f-4ca6-ad0f-5788fd70f7d0
\.


--
-- Data for Name: orders_payment; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.orders_payment (id, razorpay_payment_id, razorpay_order_id, payment_status, payment_date, order_id) FROM stdin;
1	pay_PmqiYM8kMLqaKp	order_PmqhTifo3CnJGJ	Paid	2025-01-23 15:48:02.33921+05:30	927bf9f1-ffa7-440e-a659-91fb052ad0b9
2	\N	order_PmsQdA7JSAnmfo	pending	2025-01-23 17:29:28.614955+05:30	517866ea-387d-40c2-a413-ba09f8bc62a7
3	pay_PmsTJOouUn7p01	order_PmsSaFjXdJiBBS	Paid	2025-01-23 17:31:19.552665+05:30	751ee57b-0efa-48bc-a6b7-2c26aa9e36ef
4	pay_PmszYC3tdNm0gC	order_PmszGgpEQfC3dZ	Paid	2025-01-23 18:02:16.038784+05:30	c5d64070-6830-40b2-8b6a-2adf975ccfec
5	\N	order_Pmt1qnZsoDcphA	pending	2025-01-23 18:04:42.713726+05:30	d2f6ff71-83a0-4667-b71f-b517f0df750c
6	pay_PmtBXldK8hhAyF	order_PmtBEK3qmCIkgt	Paid	2025-01-23 18:13:35.46912+05:30	910ac452-b8ee-4fd4-a8e9-5245a195368a
7	\N	order_Pn8rsHWmUt3hot	pending	2025-01-24 09:34:21.922354+05:30	7ed0f15e-29f5-47ec-9da1-ca5b56e9aaae
8	pay_Pn8tQBFePgAMnn	order_Pn8sBDfIYxygZU	Paid	2025-01-24 09:34:39.271177+05:30	90e0cbc4-bbf8-411d-9932-00d8f3eaf0ef
9	\N	order_Pn8vQHlt73pWsg	pending	2025-01-24 09:37:43.485617+05:30	0bc4ad85-81bb-4f6a-86d2-f56afdb0ecbb
10	\N	order_Pn92JJ775Mq6eM	pending	2025-01-24 09:44:14.680506+05:30	09aabb1a-7eea-4b32-9c0a-75a96accac53
11	pay_Pn93ncMQkoEkZm	order_Pn935KSXkk6Agl	Paid	2025-01-24 09:44:58.659476+05:30	8397066a-d09f-4906-a97d-e41bf7c6dd63
12	\N	order_Pn94kIaEmak4PO	pending	2025-01-24 09:46:33.002989+05:30	ebe8f185-0527-482d-90d0-0f145476c7dc
13	pay_PnAGkzqonAVeDz	order_PnAGKoae6514s8	Paid	2025-01-24 10:56:12.864405+05:30	cdb61487-120b-4b65-b2ee-4ce19214dcdc
14	pay_PnAbP3JOB3RG3m	order_PnAakjsiwNt3NY	Paid	2025-01-24 11:15:32.620138+05:30	bf54b06c-0d85-425f-ac25-ef06bd7bf737
15	\N	order_PoMjOrCF5W8WGW	pending	2025-01-27 11:47:03.260189+05:30	c5a5b681-030d-49a6-8325-0165f3afcbc1
16	\N	order_PoMq6vRdBZqxTF	pending	2025-01-27 11:53:24.43215+05:30	ea22b66a-b484-431d-babf-be852017c759
17	\N	order_PoNgCjvrXsbhQ6	pending	2025-01-27 12:42:43.372252+05:30	f3fa9f6f-76eb-43db-8584-de7e432f29c4
18	\N	order_PolOhk9y03izrQ	pending	2025-01-28 11:54:48.126625+05:30	fdc436b9-1506-46c6-a447-ed5b678c6130
19	pay_PolQWjRSLmhtsX	order_PolQ2Ry5sTmk5p	Paid	2025-01-28 11:56:03.888651+05:30	ce6736aa-ab87-46bb-9477-cd22757c0785
\.


--
-- Data for Name: products_customproduct; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_customproduct (id, item_name, item_code, item_description, veg_or_non_veg_status, min_size, max_size, size_unit, availability, created_date, updated_date) FROM stdin;
1	Birthday Cakes	BC123	Birthday cake description\r\nAbsolutely! Here's a delightful description of a birthday cake:\r\n\r\nCelebrate your special day with our exquisite birthday cake, designed to make every moment unforgettable. This cake features layers of moist, fluffy sponge cake that melt in your mouth with every bite.	Non Veg	1	6	kg	Available	2025-01-23 14:43:03.707188+05:30	2025-01-23 14:43:03.707207+05:30
2	Wedding Cakes	WC123	Our exquisite wedding cake is designed to be the stunning centerpiece of your special day. This multi-tiered masterpiece is a perfect blend of elegance and taste, with each layer crafted to perfection.	Veg	1	5	kg	Available	2025-01-23 14:44:31.674409+05:30	2025-01-23 14:44:31.674429+05:30
\.


--
-- Data for Name: products_customproductimage; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_customproductimage (id, image, created_date, custom_product_id) FROM stdin;
1	custom_product_images/freshcakes.png	2025-01-23 14:43:03.712624+05:30	1
2	custom_product_images/Choclate_cake.png	2025-01-23 14:44:31.677911+05:30	2
\.


--
-- Data for Name: products_customproductvideo; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_customproductvideo (id, video, created_date, custom_product_id) FROM stdin;
\.


--
-- Data for Name: products_dynamicfiltering; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_dynamicfiltering (id, filter_name, created_at) FROM stdin;
1	Flavour	2025-01-23 14:50:39.560845+05:30
2	Frosting type	2025-01-23 14:51:05.931946+05:30
4	Custard filling	2025-01-28 15:59:07.947894+05:30
3	Gluten free	2025-01-28 15:57:48.907503+05:30
\.


--
-- Data for Name: products_dynamicfiltering_products; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_dynamicfiltering_products (id, dynamicfiltering_id, products_id) FROM stdin;
1	1	1
2	1	2
3	1	6
4	1	8
5	1	9
6	1	10
7	1	11
8	1	12
9	1	13
10	1	14
11	1	15
12	1	16
13	1	17
14	1	18
15	1	21
16	1	22
17	2	10
18	2	12
19	2	13
20	2	14
21	2	15
22	2	16
23	2	17
24	2	22
25	3	2
26	3	8
27	3	12
28	3	14
29	3	15
30	3	18
31	3	24
32	4	13
33	4	15
34	4	17
35	4	21
36	4	22
\.


--
-- Data for Name: products_productcategory; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_productcategory (uuid, category_name, category_code, created_at, updated_date, icon, standard_image, banner_image) FROM stdin;
ccd11926-ac04-4205-a001-686095bca5ef	Bread	B123	2025-01-23 13:18:28.336292+05:30	2025-01-23 15:39:23.632943+05:30	icons/bread.jpg	standard_images/breads_Z3UDfY1.png	
59c134e9-db90-483c-b7a6-e86fc243d79a	Cakes	Cc123	2025-01-23 12:22:37.420111+05:30	2025-01-23 15:39:42.78684+05:30	icons/cakes.jpg	standard_images/Choclate_cake_TXOKa4L.png	
cbd35352-cd3b-408d-8c8c-dd9d5082723e	Dry fruits	Dfs123	2025-01-23 12:29:59.784589+05:30	2025-01-23 15:41:16.256142+05:30	icons/dryfruits.jpg	standard_images/savories.png	
eeccacf8-bd77-4f11-b128-78d1e9d59ffb	Kerala special	Ks123	2025-01-23 12:33:45.740338+05:30	2025-01-23 15:41:31.790993+05:30	icons/kerala.jpg	standard_images/Sweet_chips.png	
84318d41-b97c-42d2-95d1-eac98bb66016	Muffins	Ms123	2025-01-23 12:32:58.141241+05:30	2025-01-23 15:41:50.151553+05:30	icons/muffins_-_Copy.jpg	standard_images/muffins2_jW7XhGa.png	
a3789a4d-a3d3-4dfe-9b47-078dbd6f6268	Snacks	Ps123	2025-01-23 12:32:40.364413+05:30	2025-01-23 15:42:17.20138+05:30	icons/snacks1.jpg	standard_images/snacks_kMBH2yo.png	
4a68fb62-be9a-4d77-8f43-1a7727e8b2c4	Sweets	Ss123	2025-01-23 12:34:40.154234+05:30	2025-01-29 10:18:01.945045+05:30	icons/sweets.jpg	standard_images/Bread_desert_DJGment.png	
\.


--
-- Data for Name: products_productimage; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_productimage (id, image, created_date, product_id) FROM stdin;
1	product_images/Choclate_cake_wJrkDTQ.png	2025-01-23 13:21:12.46654+05:30	1
2	product_images/Pastries_Qb18NHY.png	2025-01-23 13:25:05.164713+05:30	2
6	product_images/Creamy_cake_CXTgB2p.png	2025-01-23 13:31:24.045605+05:30	6
8	product_images/freshcakes_iRENMg4.png	2025-01-23 14:04:43.735908+05:30	8
9	product_images/Pastries_sFHkZP5.png	2025-01-23 14:06:59.191393+05:30	9
10	product_images/Choclate_cake_YZ1t8Ik.png	2025-01-23 14:10:41.572864+05:30	10
11	product_images/Cakes_plum_P1C5T8w.png	2025-01-23 14:13:12.886241+05:30	11
12	product_images/red_velvet_fz1JdmX.png	2025-01-23 14:15:34.230878+05:30	12
13	product_images/Cakes_plum_EJ5R44S.png	2025-01-23 14:17:18.344621+05:30	13
15	product_images/Creamy_cake_kzOoTMk.png	2025-01-23 14:23:04.324969+05:30	14
16	product_images/Creamy_cake_OM75Rt8.png	2025-01-23 14:23:05.812761+05:30	14
17	product_images/Choclate_bBread.png	2025-01-23 14:24:22.627379+05:30	15
18	product_images/Choclate_bBread_U3SWtwy.png	2025-01-23 14:27:02.184439+05:30	16
19	product_images/Choclate_cake_zTDIKA8.png	2025-01-23 14:29:12.981495+05:30	17
23	product_images/Choclate_bBread_KmBfUN4.png	2025-01-23 14:32:02.433886+05:30	18
24	product_images/Cakes_plum_lucM3ZK.png	2025-01-23 14:33:18.411559+05:30	21
25	product_images/Creamy_cake_T6neOJT.png	2025-01-23 14:35:16.426264+05:30	22
26	product_images/Choclate_cake_6nETNHo.png	2025-01-23 14:37:02.508168+05:30	23
27	product_images/Cakes_plum_la5GwJY.png	2025-01-23 14:38:52.012779+05:30	24
\.


--
-- Data for Name: products_productreview; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_productreview (id, rating, review_heading, review_text, created_at, user_id, product_id) FROM stdin;
1	3	Nice quality 	Great choice 	2025-01-23 17:25:25.149801+05:30	c972daf6-63e6-44a0-9734-ac21322367b3	8
2	5	edit	edited	2025-01-23 17:59:59.960602+05:30	246c54aa-8ab3-4c04-a352-bbb6cab673b2	1
3	4	good quality product 	reasonable rate 	2025-01-24 10:45:22.997962+05:30	78396b98-5026-40e8-8af5-9801b8ae61aa	1
11	5	5 star	sdsds	2025-01-29 11:10:19.295957+05:30	870062f0-fcf6-48a3-9964-83e4896225c1	8
12	2	ksk	sds	2025-01-29 11:20:52.193328+05:30	ae3c71b0-b168-49b2-af44-7076787d4ca9	8
13	3	sbsb	Vsva	2025-01-29 12:27:44.800262+05:30	c972daf6-63e6-44a0-9734-ac21322367b3	1
\.


--
-- Data for Name: products_products; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_products (id, product_type, item_name, item_code, item_description, veg_or_non_veg_status, i_gst, s_gst, c_gst, cess, created_date, updated_date, item_category_id, item_sub_category_id) FROM stdin;
1	Master Product	Choclate Cake	CCK456	Indulge in the rich and decadent experience of our classic chocolate cake. This luscious dessert is a chocolate lover's dream, featuring layers of moist, velvety chocolate sponge cake.	Non Veg	15	14	20	18	2025-01-23 13:21:12.460169+05:30	2025-01-23 13:21:12.460188+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	c53d20d4-d4b6-45d2-9b15-e80b1c1fdb84
2	Master Product	Cheese Cream Cake	CCC456	Delight in the creamy and indulgent taste of our cheese cream cake.	Veg	5	5	15	18	2025-01-23 13:25:05.16042+05:30	2025-01-23 13:25:05.160443+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	c53d20d4-d4b6-45d2-9b15-e80b1c1fdb84
6	Master Product	Black Forest Cake	BFC123	Experience the classic elegance of our Black Forest cake, a timeless favorite that combines rich flavors and stunning presentation	Non Veg	25	10	13	17	2025-01-23 13:31:24.041251+05:30	2025-01-23 13:31:24.041272+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	c53d20d4-d4b6-45d2-9b15-e80b1c1fdb84
8	Master Product	Mango Fresh Cream Cake	MFC123	A tropical delight featuring fresh cream and sweet, succulent mangoes, perfect for summer celebrations.	Veg	12	5	4	15	2025-01-23 14:04:43.732053+05:30	2025-01-23 14:04:43.732072+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	c53d20d4-d4b6-45d2-9b15-e80b1c1fdb84
9	Master Product	Lychee Fresh Cream Cake	LFC123	An elegant cake with fresh cream and sweet, juicy lychee pieces, offering a unique and refreshing flavor.	Non Veg	12	13	18	20	2025-01-23 14:06:59.187487+05:30	2025-01-23 14:06:59.187507+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	c53d20d4-d4b6-45d2-9b15-e80b1c1fdb84
11	Master Product	Classic Fruit Cakes	CFC123	This timeless dessert is made with a rich batter that's infused with the flavors of mixed dried fruits and nuts.	Veg	2	6	8	18	2025-01-23 14:13:12.881906+05:30	2025-01-23 14:13:12.881924+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	a05193d6-698e-43a2-945a-72891bb75d2f
12	Master Product	Tropical Fruit Cake	TFC123	Experience a burst of tropical flavors with this delightful cake. It features a combination of dried pineapple, mango, papaya, and coconut, creating a refreshing and vibrant taste.	Non Veg	12	11	17	15	2025-01-23 14:15:34.226832+05:30	2025-01-23 14:15:34.226854+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	a05193d6-698e-43a2-945a-72891bb75d2f
13	Master Product	Nutty Fruit Cake	NFC123	This hearty fruit cake is packed with a variety of nuts and dried fruits, offering a delightful crunch in every bite.	Veg	2	4	5	12	2025-01-23 14:17:18.340814+05:30	2025-01-23 14:17:18.340834+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	a05193d6-698e-43a2-945a-72891bb75d2f
10	Master Product	Exotic Fruit Cake	EFC123	Indulge in the luxurious and refreshing taste of our Exotic Fruit Cake. This extraordinary dessert features layers of light and airy sponge cake, delicately infused with tropical flavors.	Veg	25	20	14	13	2025-01-23 14:10:41.56791+05:30	2025-01-23 14:19:22.516037+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	a05193d6-698e-43a2-945a-72891bb75d2f
14	Master Product	Red Velvet Bundt Cake	RVB123	A red velvet cake baked in a Bundt pan, resulting in a beautiful ring-shaped cake that's perfect for special occasions. Often drizzled with cream cheese glaze	Non Veg	12	13	14	8	2025-01-23 14:21:42.36207+05:30	2025-01-23 14:23:05.808476+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	c53d20d4-d4b6-45d2-9b15-e80b1c1fdb84
15	Master Product	Spiced Fruit Cake	SFC123	Warm up with our aromatic Spiced Fruit Cake. Flavored with a blend of spices like cinnamon, cloves, and allspice, this cozy cake is filled with mixed dried fruits and nuts. Perfect for festive occasions and winter celebrations.	Veg	4	5	6	9	2025-01-23 14:24:22.623246+05:30	2025-01-23 14:24:22.623267+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	a05193d6-698e-43a2-945a-72891bb75d2f
16	Master Product	Cherry Almond Fruit Cake	CAFC123	Savor the exquisite combination of cherries and almonds in our Cherry Almond Fruit Cake	Veg	5	4	12	15	2025-01-23 14:27:02.179822+05:30	2025-01-23 14:27:02.179843+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	a05193d6-698e-43a2-945a-72891bb75d2f
17	Master Product	Classic Cinnamon Coffee Cake	CCCC123	This timeless coffee cake is made with a tender, buttery crumb, infused with a hint of cinnamon.	Non Veg	12	13	5	14	2025-01-23 14:29:12.977622+05:30	2025-01-23 14:29:12.977678+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	fb368759-42e0-49b6-af97-e9483fe3b661
18	Master Product	Blueberry Coffee Cake	BCC123	A delightful twist on the classic, this coffee cake features juicy blueberries scattered throughout the batter.	Veg	12	14	5	6	2025-01-23 14:31:00.554936+05:30	2025-01-23 14:32:02.430319+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	fb368759-42e0-49b6-af97-e9483fe3b661
21	Master Product	Streusel Coffee Cake	SCC123	cofees cakes example and description\r\nSure! Here are some delightful examples of coffee cakes along with their descriptions:\r\n\r\n1. Classic Cinnamon Coffee Cake\r\nThis timeless coffee cake is made with a tender, buttery crumb, infused with a hint of cinnamon. It's topped with a crunchy streusel made of brown sugar, cinnamon, and chopped nuts. Perfect for enjoying with a hot cup of coffee, this cake offers a comforting and aromatic experience.\r\n\r\n2. Blueberry Coffee Cake\r\nA delightful twist on the classic, this coffee cake features juicy blueberries scattered throughout the batter. The moist and fluffy cake is complemented by a sweet crumb topping and a drizzle of lemon glaze, adding a refreshing burst of flavor with every bite.\r\n\r\n3. Streusel Coffee Cake\r\nThis coffee cake boasts a rich and moist base, topped with a generous layer of crumbly streusel made from butter, flour, and sugar	Non Veg	14	12	10	5	2025-01-23 14:33:18.407478+05:30	2025-01-23 14:33:18.407499+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	fb368759-42e0-49b6-af97-e9483fe3b661
23	Master Product	Sour Cream Coffee Cake	SCCC142	This rich and tangy coffee cake is made with sour cream, resulting in an incredibly moist and tender crumb.	Veg	15	2	14	6	2025-01-23 14:37:02.504321+05:30	2025-01-23 14:37:02.504342+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	fb368759-42e0-49b6-af97-e9483fe3b661
24	Master Product	Apple Coffee Cake	ACC123	A perfect choice for autumn, this coffee cake is filled with chunks of tender, spiced apples. The cake is wonderfully moist and flavorful, topped with a generous layer of cinnamon streusel and a drizzle of caramel glaze.	Veg	14	13	5	15	2025-01-23 14:38:52.008404+05:30	2025-01-24 11:20:11.069662+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	fb368759-42e0-49b6-af97-e9483fe3b661
22	Master Product	Lemon Poppy Seed Coffee Cake	LPSC1	This bright and zesty coffee cake is infused with fresh lemon juice and poppy seeds, creating a refreshing and light flavor.	Veg	14	10	9	8	2025-01-23 14:35:16.421833+05:30	2025-01-23 15:22:36.013363+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a	fb368759-42e0-49b6-af97-e9483fe3b661
25	Master Product	Burfi Badam	BB600	Crafted with the highest quality almonds, pure ghee, and a touch of cardamom for a fragrant aroma	Veg	5	2.5	2.5	1	2025-01-29 10:19:46.412693+05:30	2025-01-29 10:19:46.412714+05:30	4a68fb62-be9a-4d77-8f43-1a7727e8b2c4	4a717445-5063-4c59-aecc-b9edfbcb1181
\.


--
-- Data for Name: products_productsubcategory; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_productsubcategory (uuid, sub_category_name, sub_category_code, standard_image, created_at, updated_date, category_id) FROM stdin;
a05193d6-698e-43a2-945a-72891bb75d2f	Fruit cakes	Fc123		2025-01-23 12:25:00.828185+05:30	2025-01-23 12:25:00.828205+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a
fb368759-42e0-49b6-af97-e9483fe3b661	Coffee cakes	Cc123		2025-01-23 12:28:14.248181+05:30	2025-01-23 12:28:14.248202+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a
c53d20d4-d4b6-45d2-9b15-e80b1c1fdb84	Fresh cream cake	Fcc123	standard_images/Cakes_plum_MJJvFW2.png	2025-01-23 12:23:47.664798+05:30	2025-01-23 16:37:46.688714+05:30	59c134e9-db90-483c-b7a6-e86fc243d79a
4a717445-5063-4c59-aecc-b9edfbcb1181	Burfies	Bs01		2025-01-29 10:15:43.710217+05:30	2025-01-29 10:15:43.710237+05:30	4a68fb62-be9a-4d77-8f43-1a7727e8b2c4
9e47664b-4036-4082-a8a3-55c8ddbe673a	Mysore pak	Mp01		2025-01-29 10:17:19.433654+05:30	2025-01-29 10:17:19.433674+05:30	4a68fb62-be9a-4d77-8f43-1a7727e8b2c4
1387081f-ee2f-4cda-98fe-a29cae9fc878	Kaju sweets	Ks01		2025-01-29 10:17:53.028018+05:30	2025-01-29 10:17:53.028038+05:30	4a68fb62-be9a-4d77-8f43-1a7727e8b2c4
\.


--
-- Data for Name: products_productvideo; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_productvideo (id, video, created_date, product_id) FROM stdin;
\.


--
-- Data for Name: products_salesunitproductselection; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_salesunitproductselection (id, shop_admin_status, status, sales_unit_id, sku_id) FROM stdin;
1	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	1
2	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	2
3	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	3
6	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	6
8	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	8
9	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	9
10	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	10
11	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	11
12	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	12
13	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	13
14	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	14
15	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	15
16	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	16
17	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	17
19	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	19
20	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	20
21	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	21
22	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	22
42	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	21
44	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	19
45	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	17
46	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	16
47	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	15
48	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	14
49	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	13
50	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	12
51	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	11
52	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	10
53	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	9
54	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	8
55	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	6
56	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	1
57	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	2
58	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	3
41	Disabled	Disabled	34148290-f2ae-45ff-aeba-6bc6436fecef	22
43	Disabled	Disabled	34148290-f2ae-45ff-aeba-6bc6436fecef	20
59	Visible	Visible	3b331937-12ee-4c19-8bf6-68d1529e82b2	23
60	Visible	Visible	34148290-f2ae-45ff-aeba-6bc6436fecef	23
\.


--
-- Data for Name: products_sku; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_sku (id, sku_name, sku_code, sku_quantity, sku_unit, sku_mrp, sku_expiry_duration, sku_bulk_qty_limit, sku_status, product_id) FROM stdin;
1	Choclate cake1	CK1	2	Kg	1200	5	10	Visible	1
2	Choclate cake 2	CK2	1	Kg	650	5	20	Visible	1
3	Choclate Cake 3	CK3	500	g	350	5	30	Visible	1
6	BFC1	BFC123	2	Kg	1050	5	40	Visible	6
8	MC1	MC1232	2	Kg	2200	4	5	Visible	8
9	LC1	LFC123	1	Kg	2500	1	10	Visible	9
10	EF1	EF123	2	Kg	1850	1	10	Visible	10
11	CFC1	CFC123	2	Kg	1850	15	45	Visible	11
12	TFC1	TF123	3	Kg	1700	5	10	Visible	12
13	NFC1	NFC123	2	Kg	1800	5	6	Visible	13
14	Red Velvet Cake1	RV123	2	Kg	1350	5	10	Visible	14
15	SFC1	SFC123	1	Kg	1500	6	11	Visible	15
16	SFC1	SF123	2	Kg	1850	5	10	Visible	16
17	CCC1	CCC123	2	Kg	1400	5	12	Visible	17
19	SC1	SC123	5	Kg	1750	5	5	Visible	21
20	LSC1	LSC123	2	KG	1800	5	6	Visible	22
21	SCCK1	SCCK123	1	Kg	1350	6	6	Visible	23
22	ACK1	ACK123	2	Kg	850	5	10	Visible	24
23	Badam Burfi 500	BB500	500	g	300	10	100	Visible	25
\.


--
-- Data for Name: products_speciallist; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_speciallist (id, special_name, icon, standard_image, banner_image, created_at) FROM stdin;
3	Fruit cake extravaganza				2025-01-23 14:54:00.361641+05:30
2	Heavenly coffee cakes				2025-01-23 14:53:25.160005+05:30
1	Luscious cream cakes				2025-01-23 14:52:43.711593+05:30
\.


--
-- Data for Name: products_speciallist_products; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_speciallist_products (id, speciallist_id, products_id) FROM stdin;
1	1	8
2	1	9
3	1	2
5	2	18
6	2	21
7	3	11
8	3	12
9	3	13
21	2	22
22	3	10
23	2	24
24	2	23
25	1	1
26	1	6
27	1	14
\.


--
-- Data for Name: products_tags; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_tags (id, tag_name, icon, created_at) FROM stdin;
2	Seasonal flavors		2025-01-23 14:47:53.596446+05:30
3	Festive occasions		2025-01-23 14:48:33.214018+05:30
4	Bestseller		2025-01-23 14:49:13.437102+05:30
1	Classic flavors		2025-01-23 14:47:18.01879+05:30
\.


--
-- Data for Name: products_tags_products; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_tags_products (id, tags_id, products_id) FROM stdin;
1	1	2
2	1	9
3	1	11
4	1	13
5	1	14
6	2	1
7	2	9
8	2	13
9	2	14
10	2	17
11	3	6
12	3	14
13	3	15
14	3	17
15	3	22
16	3	23
17	4	2
18	4	6
19	4	8
20	4	9
21	4	10
22	4	11
23	4	12
24	4	13
25	4	14
26	4	15
27	4	16
28	4	17
29	4	18
30	4	21
31	4	22
32	1	18
33	1	21
34	1	23
\.


--
-- Data for Name: products_wishlist; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.products_wishlist (id, created_at, updated_at, product_id, user_id) FROM stdin;
1	2025-01-23 15:49:47.168425+05:30	2025-01-23 15:49:47.168447+05:30	13	e315a490-321f-4ca6-ad0f-5788fd70f7d0
2	2025-01-23 15:49:49.53574+05:30	2025-01-23 15:49:49.535761+05:30	10	e315a490-321f-4ca6-ad0f-5788fd70f7d0
3	2025-01-23 15:49:51.95961+05:30	2025-01-23 15:49:51.959671+05:30	9	e315a490-321f-4ca6-ad0f-5788fd70f7d0
5	2025-01-23 16:57:16.384743+05:30	2025-01-23 16:57:16.384764+05:30	6	c972daf6-63e6-44a0-9734-ac21322367b3
6	2025-01-23 17:25:39.492498+05:30	2025-01-23 17:25:39.492519+05:30	8	c972daf6-63e6-44a0-9734-ac21322367b3
7	2025-01-23 17:27:43.979568+05:30	2025-01-23 17:27:43.979589+05:30	11	c972daf6-63e6-44a0-9734-ac21322367b3
8	2025-01-23 17:54:34.649478+05:30	2025-01-23 17:54:34.649502+05:30	11	246c54aa-8ab3-4c04-a352-bbb6cab673b2
9	2025-01-23 17:54:35.847895+05:30	2025-01-23 17:54:35.847916+05:30	12	246c54aa-8ab3-4c04-a352-bbb6cab673b2
10	2025-01-23 17:56:03.800075+05:30	2025-01-23 17:56:03.800097+05:30	1	246c54aa-8ab3-4c04-a352-bbb6cab673b2
11	2025-01-24 10:45:53.472626+05:30	2025-01-24 10:45:53.472647+05:30	13	870062f0-fcf6-48a3-9964-83e4896225c1
13	2025-01-24 10:45:58.927107+05:30	2025-01-24 10:45:58.927129+05:30	10	870062f0-fcf6-48a3-9964-83e4896225c1
14	2025-01-28 11:52:50.956248+05:30	2025-01-28 11:52:50.956268+05:30	12	c972daf6-63e6-44a0-9734-ac21322367b3
15	2025-01-29 12:47:18.319074+05:30	2025-01-29 12:47:18.319096+05:30	14	c972daf6-63e6-44a0-9734-ac21322367b3
\.


--
-- Data for Name: shops_bankdetails; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.shops_bankdetails (id, account_name, bank_name, branch_name, ifsc_code, account_number, created_date, updated_date, shop_id) FROM stdin;
1	gAAAAABnkeVEhUQjNcXNDalst5MvjsXRwu7-WF0FrcSBVseIwG9sS037rFcJZnGK4jo5OAr_2qqmV6WaBUMIFM4KYz-UYKcqe4GKd7jAPUdlOujfgAA_xng=	gAAAAABnkeVE_gzgHWHbhw03NguX5cU9Grw-gIm7tZ2SUjCJ1j2qcOwcAAJ0h3scqOUz2lzmsgNw_CQlRjzxMyk0LQ6aozHQfg==	gAAAAABnkeVEbPCmn_kk2dRuJaNmplshijnicOo9Z28-tHit-DnVmYa4s7XDTLZ8RaJQtJM3seyGmR5cLCdBn-nQDv1FMiVSLw==	gAAAAABnkeVEAw_8pYVaIgg38xekfqjuJx89bIY7NfwVpnevQZ-tJ5IMnerrvZ6INzqx-DAmfCcMoeW8mFj1c6ZAC1HEZstYcw==	gAAAAABnkeVEoTPsaZeN1Z_Z0RO1IAe_Fu43H_yGnJO9UeNWuPn5_9omIk1ew5EyGczZsV9jo2AvBVgtH1iEIGVdDTB_kiw3QQ==	2025-01-23 12:13:45.406894+05:30	2025-01-23 12:14:20.995546+05:30	3b331937-12ee-4c19-8bf6-68d1529e82b2
3	gAAAAABnl2MXnCKxN1Zv2MWvgY5i_OEhB87_bUNmzsOhD76OLANuxBJ_rGfo_LIRRFycr69dGRNrIkCjNn3vKy6iH9BnyN02cQ==	gAAAAABnl2MXnHWYxeGOvbULFLEWngP_U7vp9pvF_SLP9UHHGHfcQ1mIA-alsd1Jh724rD75SQKRwU47081vk6WKiA4LgEHB5A==	gAAAAABnl2MXCyLsdLihwl9OuaxYhrIlBssgnny0vPxGHANXQlSzMTqBwMhSphqiV8uLCYZUXVUnTkHB71yRU_U1hQDEaFy8lw==	gAAAAABnl2MXc-SQFLkIRfqocwi6HDm-Os-wKilYSrgjKVHll9xAQq8blvZJmStSJaCsHFUdTYfNUa4VDH4md9R_kg_W_FiNxw==	gAAAAABnl2MXxQ6kH7o1HOZe8JJZHSSyKtxkkEwKxQw-h4WZtKWUK723MrbXLMpB_0dK_9VkJ41Q-WD-akgCyWPVxWxfJJo4Aw==	2025-01-27 16:12:31.170868+05:30	2025-01-27 16:12:31.170891+05:30	34148290-f2ae-45ff-aeba-6bc6436fecef
\.


--
-- Data for Name: shops_productionunit; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.shops_productionunit (uuid, pu_name, pu_code, pu_location, street, city, district, state_or_province, pin_code, latitude, longitude, gst, contact_no, email, status, created_at, updated_date) FROM stdin;
28f32346-9fd6-4bc5-8a89-7b1cee668b79	Navya Bake SHop PU Kakkanad	NB@PU@Kakkanad	Kakkanad	Near Info park	North Paravur	Ernakulam	Kerala	683513	10.0158605	76.3418666	27ABCDE1234F1Z	8598478596	gayathriiiarun123@gmail.com	open	2025-01-23 12:20:26.580254+05:30	2025-01-23 12:20:26.580274+05:30
\.


--
-- Data for Name: shops_shop; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.shops_shop (uuid, unit_name, unit_code, unit_location, street, city, district, state_or_province, pin_code, latitude, longitude, contact_no, email, status, delivery_mode, created_at, updated_date, gst, delivery_radius) FROM stdin;
3b331937-12ee-4c19-8bf6-68d1529e82b2	Navya Bake Shop Kakkanad	NB@682021	Kakkanad	Kakanad	Palery	Ernakulam	Kerala	673508	10.0158605	76.3418666	8965874589	gayathriiiammu@gmail.com	open	shop own	2025-01-23 12:13:45.39115+05:30	2025-01-23 12:14:20.988762+05:30	27ABCDE1234F1Z	10
34148290-f2ae-45ff-aeba-6bc6436fecef	Navya Bake Shop 2	NBS@VY	Vytila	Vyttilla	Kochi	Vytila	Kerala	682019	9.966643099999999	76.3192689	5896587458	jbvhj@gmail.com	open	shop own	2025-01-27 16:12:31.159215+05:30	2025-01-27 16:12:31.159236+05:30	27ABCDE1234F1Z	2.5
\.


--
-- Data for Name: shops_shop_unit_admin_user; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY public.shops_shop_unit_admin_user (id, shop_id, users_id) FROM stdin;
1	3b331937-12ee-4c19-8bf6-68d1529e82b2	c5b1073b-87b9-42bf-927c-53529730799f
3	34148290-f2ae-45ff-aeba-6bc6436fecef	a57f0ddf-89ab-464f-a5a3-fbb38a27fb04
\.



--
-- Name: accounts_address accounts_address_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.accounts_address
    ADD CONSTRAINT accounts_address_pkey PRIMARY KEY (id);


--
-- Name: accounts_userlocation accounts_userlocation_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.accounts_userlocation
    ADD CONSTRAINT accounts_userlocation_pkey PRIMARY KEY (id);


--
-- Name: accounts_users_groups accounts_users_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.accounts_users_groups
    ADD CONSTRAINT accounts_users_groups_pkey PRIMARY KEY (id);


--
-- Name: accounts_users_groups accounts_users_groups_users_id_group_id_8dfb39d5_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.accounts_users_groups
    ADD CONSTRAINT accounts_users_groups_users_id_group_id_8dfb39d5_uniq UNIQUE (users_id, group_id);


--
-- Name: accounts_users_user_permissions accounts_users_user_perm_users_id_permission_id_866b235f_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.accounts_users_user_permissions
    ADD CONSTRAINT accounts_users_user_perm_users_id_permission_id_866b235f_uniq UNIQUE (users_id, permission_id);


--
-- Name: accounts_users_user_permissions accounts_users_user_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.accounts_users_user_permissions
    ADD CONSTRAINT accounts_users_user_permissions_pkey PRIMARY KEY (id);


--
-- Name: auth_group auth_group_name_key; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.auth_group
    ADD CONSTRAINT auth_group_name_key UNIQUE (name);


--
-- Name: auth_group_permissions auth_group_permissions_group_id_permission_id_0cd325b0_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.auth_group_permissions
    ADD CONSTRAINT auth_group_permissions_group_id_permission_id_0cd325b0_uniq UNIQUE (group_id, permission_id);


--
-- Name: auth_group_permissions auth_group_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.auth_group_permissions
    ADD CONSTRAINT auth_group_permissions_pkey PRIMARY KEY (id);


--
-- Name: auth_group auth_group_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.auth_group
    ADD CONSTRAINT auth_group_pkey PRIMARY KEY (id);


--
-- Name: auth_permission auth_permission_content_type_id_codename_01ab375a_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.auth_permission
    ADD CONSTRAINT auth_permission_content_type_id_codename_01ab375a_uniq UNIQUE (content_type_id, codename);


--
-- Name: auth_permission auth_permission_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.auth_permission
    ADD CONSTRAINT auth_permission_pkey PRIMARY KEY (id);


--
-- Name: django_admin_log django_admin_log_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_admin_log
    ADD CONSTRAINT django_admin_log_pkey PRIMARY KEY (id);


--
-- Name: django_celery_beat_clockedschedule django_celery_beat_clockedschedule_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_celery_beat_clockedschedule
    ADD CONSTRAINT django_celery_beat_clockedschedule_pkey PRIMARY KEY (id);


--
-- Name: django_celery_beat_crontabschedule django_celery_beat_crontabschedule_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_celery_beat_crontabschedule
    ADD CONSTRAINT django_celery_beat_crontabschedule_pkey PRIMARY KEY (id);


--
-- Name: django_celery_beat_intervalschedule django_celery_beat_intervalschedule_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_celery_beat_intervalschedule
    ADD CONSTRAINT django_celery_beat_intervalschedule_pkey PRIMARY KEY (id);


--
-- Name: django_celery_beat_periodictask django_celery_beat_periodictask_name_key; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_celery_beat_periodictask
    ADD CONSTRAINT django_celery_beat_periodictask_name_key UNIQUE (name);


--
-- Name: django_celery_beat_periodictask django_celery_beat_periodictask_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_celery_beat_periodictask
    ADD CONSTRAINT django_celery_beat_periodictask_pkey PRIMARY KEY (id);


--
-- Name: django_celery_beat_periodictasks django_celery_beat_periodictasks_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_celery_beat_periodictasks
    ADD CONSTRAINT django_celery_beat_periodictasks_pkey PRIMARY KEY (ident);


--
-- Name: django_celery_beat_solarschedule django_celery_beat_solar_event_latitude_longitude_ba64999a_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_celery_beat_solarschedule
    ADD CONSTRAINT django_celery_beat_solar_event_latitude_longitude_ba64999a_uniq UNIQUE (event, latitude, longitude);


--
-- Name: django_celery_beat_solarschedule django_celery_beat_solarschedule_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_celery_beat_solarschedule
    ADD CONSTRAINT django_celery_beat_solarschedule_pkey PRIMARY KEY (id);


--
-- Name: django_content_type django_content_type_app_label_model_76bd3d3b_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_content_type
    ADD CONSTRAINT django_content_type_app_label_model_76bd3d3b_uniq UNIQUE (app_label, model);


--
-- Name: django_content_type django_content_type_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_content_type
    ADD CONSTRAINT django_content_type_pkey PRIMARY KEY (id);


--
-- Name: django_migrations django_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_migrations
    ADD CONSTRAINT django_migrations_pkey PRIMARY KEY (id);


--
-- Name: orders_ads orders_ads_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_ads
    ADD CONSTRAINT orders_ads_pkey PRIMARY KEY (id);


--
-- Name: orders_cart orders_cart_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_cart
    ADD CONSTRAINT orders_cart_pkey PRIMARY KEY (id);


--
-- Name: orders_cart orders_cart_user_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_cart
    ADD CONSTRAINT orders_cart_user_id_key UNIQUE (user_id);


--
-- Name: orders_cartitem orders_cartitem_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_cartitem
    ADD CONSTRAINT orders_cartitem_pkey PRIMARY KEY (id);


--
-- Name: orders_coupons_ApplicableCategory orders_coupons_Applicabl_coupons_id_productcatego_edf4ba95_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableCategory"
    ADD CONSTRAINT "orders_coupons_Applicabl_coupons_id_productcatego_edf4ba95_uniq" UNIQUE (coupons_id, productcategory_id);


--
-- Name: orders_coupons_ApplicableProduct orders_coupons_Applicabl_coupons_id_products_id_3160be93_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableProduct"
    ADD CONSTRAINT "orders_coupons_Applicabl_coupons_id_products_id_3160be93_uniq" UNIQUE (coupons_id, products_id);


--
-- Name: orders_coupons_ApplicableSubCategory orders_coupons_Applicabl_coupons_id_productsubcat_1114c2a3_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableSubCategory"
    ADD CONSTRAINT "orders_coupons_Applicabl_coupons_id_productsubcat_1114c2a3_uniq" UNIQUE (coupons_id, productsubcategory_id);


--
-- Name: orders_coupons_ApplicableCategory orders_coupons_ApplicableCategory_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableCategory"
    ADD CONSTRAINT "orders_coupons_ApplicableCategory_pkey" PRIMARY KEY (id);


--
-- Name: orders_coupons_ApplicableProduct orders_coupons_ApplicableProduct_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableProduct"
    ADD CONSTRAINT "orders_coupons_ApplicableProduct_pkey" PRIMARY KEY (id);


--
-- Name: orders_coupons_ApplicableSku orders_coupons_ApplicableSku_coupons_id_sku_id_441ace85_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableSku"
    ADD CONSTRAINT "orders_coupons_ApplicableSku_coupons_id_sku_id_441ace85_uniq" UNIQUE (coupons_id, sku_id);


--
-- Name: orders_coupons_ApplicableSku orders_coupons_ApplicableSku_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableSku"
    ADD CONSTRAINT "orders_coupons_ApplicableSku_pkey" PRIMARY KEY (id);


--
-- Name: orders_coupons_ApplicableSubCategory orders_coupons_ApplicableSubCategory_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableSubCategory"
    ADD CONSTRAINT "orders_coupons_ApplicableSubCategory_pkey" PRIMARY KEY (id);


--
-- Name: orders_coupons_CouponUsed orders_coupons_CouponUsed_coupons_id_users_id_b0183099_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_CouponUsed"
    ADD CONSTRAINT "orders_coupons_CouponUsed_coupons_id_users_id_b0183099_uniq" UNIQUE (coupons_id, users_id);


--
-- Name: orders_coupons_CouponUsed orders_coupons_CouponUsed_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_CouponUsed"
    ADD CONSTRAINT "orders_coupons_CouponUsed_pkey" PRIMARY KEY (id);


--
-- Name: orders_coupons orders_coupons_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_coupons
    ADD CONSTRAINT orders_coupons_pkey PRIMARY KEY (id);


--
-- Name: orders_deliveryboys orders_deliveryboys_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_deliveryboys
    ADD CONSTRAINT orders_deliveryboys_pkey PRIMARY KEY (id);


--
-- Name: orders_deliveryslot orders_deliveryslot_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_deliveryslot
    ADD CONSTRAINT orders_deliveryslot_pkey PRIMARY KEY (id);


--
-- Name: orders_discount_ApplicableCategory orders_discount_Applicab_discount_id_productcateg_249d31ba_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableCategory"
    ADD CONSTRAINT "orders_discount_Applicab_discount_id_productcateg_249d31ba_uniq" UNIQUE (discount_id, productcategory_id);


--
-- Name: orders_discount_ApplicableProduct orders_discount_Applicab_discount_id_products_id_39c9a435_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableProduct"
    ADD CONSTRAINT "orders_discount_Applicab_discount_id_products_id_39c9a435_uniq" UNIQUE (discount_id, products_id);


--
-- Name: orders_discount_ApplicableSubCategory orders_discount_Applicab_discount_id_productsubca_0cdc1095_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableSubCategory"
    ADD CONSTRAINT "orders_discount_Applicab_discount_id_productsubca_0cdc1095_uniq" UNIQUE (discount_id, productsubcategory_id);


--
-- Name: orders_discount_ApplicableCategory orders_discount_ApplicableCategory_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableCategory"
    ADD CONSTRAINT "orders_discount_ApplicableCategory_pkey" PRIMARY KEY (id);


--
-- Name: orders_discount_ApplicableProduct orders_discount_ApplicableProduct_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableProduct"
    ADD CONSTRAINT "orders_discount_ApplicableProduct_pkey" PRIMARY KEY (id);


--
-- Name: orders_discount_ApplicableSku orders_discount_ApplicableSku_discount_id_sku_id_9a2397f1_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableSku"
    ADD CONSTRAINT "orders_discount_ApplicableSku_discount_id_sku_id_9a2397f1_uniq" UNIQUE (discount_id, sku_id);


--
-- Name: orders_discount_ApplicableSku orders_discount_ApplicableSku_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableSku"
    ADD CONSTRAINT "orders_discount_ApplicableSku_pkey" PRIMARY KEY (id);


--
-- Name: orders_discount_ApplicableSubCategory orders_discount_ApplicableSubCategory_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableSubCategory"
    ADD CONSTRAINT "orders_discount_ApplicableSubCategory_pkey" PRIMARY KEY (id);


--
-- Name: orders_discount orders_discount_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_discount
    ADD CONSTRAINT orders_discount_pkey PRIMARY KEY (id);


--
-- Name: orders_dropaddress orders_dropaddress_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_dropaddress
    ADD CONSTRAINT orders_dropaddress_pkey PRIMARY KEY (uuid);


--
-- Name: orders_notificationstat orders_notificationstat_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_notificationstat
    ADD CONSTRAINT orders_notificationstat_pkey PRIMARY KEY (id);


--
-- Name: orders_orderdelivery orders_orderdelivery_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_orderdelivery
    ADD CONSTRAINT orders_orderdelivery_pkey PRIMARY KEY (id);


--
-- Name: orders_orderproducts orders_orderproducts_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_orderproducts
    ADD CONSTRAINT orders_orderproducts_pkey PRIMARY KEY (order_product_id);


--
-- Name: orders_orders orders_orders_drop_address_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_orders
    ADD CONSTRAINT orders_orders_drop_address_id_key UNIQUE (drop_address_id);


--
-- Name: orders_orders orders_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_orders
    ADD CONSTRAINT orders_orders_pkey PRIMARY KEY (uuid);


--
-- Name: orders_payment orders_payment_order_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_payment
    ADD CONSTRAINT orders_payment_order_id_key UNIQUE (order_id);


--
-- Name: orders_payment orders_payment_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_payment
    ADD CONSTRAINT orders_payment_pkey PRIMARY KEY (id);


--
-- Name: products_customproduct products_customproduct_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_customproduct
    ADD CONSTRAINT products_customproduct_pkey PRIMARY KEY (id);


--
-- Name: products_customproductimage products_customproductimage_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_customproductimage
    ADD CONSTRAINT products_customproductimage_pkey PRIMARY KEY (id);


--
-- Name: products_customproductvideo products_customproductvideo_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_customproductvideo
    ADD CONSTRAINT products_customproductvideo_pkey PRIMARY KEY (id);


--
-- Name: products_dynamicfiltering_products products_dynamicfilterin_dynamicfiltering_id_prod_a14dfabc_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_dynamicfiltering_products
    ADD CONSTRAINT products_dynamicfilterin_dynamicfiltering_id_prod_a14dfabc_uniq UNIQUE (dynamicfiltering_id, products_id);


--
-- Name: products_dynamicfiltering products_dynamicfiltering_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_dynamicfiltering
    ADD CONSTRAINT products_dynamicfiltering_pkey PRIMARY KEY (id);


--
-- Name: products_dynamicfiltering_products products_dynamicfiltering_products_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_dynamicfiltering_products
    ADD CONSTRAINT products_dynamicfiltering_products_pkey PRIMARY KEY (id);


--
-- Name: products_productcategory products_productcategory_category_code_key; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_productcategory
    ADD CONSTRAINT products_productcategory_category_code_key UNIQUE (category_code);


--
-- Name: products_productcategory products_productcategory_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_productcategory
    ADD CONSTRAINT products_productcategory_pkey PRIMARY KEY (uuid);


--
-- Name: products_productimage products_productimage_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_productimage
    ADD CONSTRAINT products_productimage_pkey PRIMARY KEY (id);


--
-- Name: products_productreview products_productreview_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_productreview
    ADD CONSTRAINT products_productreview_pkey PRIMARY KEY (id);


--
-- Name: products_products products_products_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_products
    ADD CONSTRAINT products_products_pkey PRIMARY KEY (id);


--
-- Name: products_productsubcategory products_productsubcategory_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_productsubcategory
    ADD CONSTRAINT products_productsubcategory_pkey PRIMARY KEY (uuid);


--
-- Name: products_productsubcategory products_productsubcategory_sub_category_code_key; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_productsubcategory
    ADD CONSTRAINT products_productsubcategory_sub_category_code_key UNIQUE (sub_category_code);


--
-- Name: products_productvideo products_productvideo_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_productvideo
    ADD CONSTRAINT products_productvideo_pkey PRIMARY KEY (id);


--
-- Name: products_salesunitproductselection products_salesunitproductselection_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_salesunitproductselection
    ADD CONSTRAINT products_salesunitproductselection_pkey PRIMARY KEY (id);


--
-- Name: products_sku products_sku_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_sku
    ADD CONSTRAINT products_sku_pkey PRIMARY KEY (id);


--
-- Name: products_speciallist products_speciallist_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_speciallist
    ADD CONSTRAINT products_speciallist_pkey PRIMARY KEY (id);


--
-- Name: products_speciallist_products products_speciallist_pro_speciallist_id_products__e107d190_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_speciallist_products
    ADD CONSTRAINT products_speciallist_pro_speciallist_id_products__e107d190_uniq UNIQUE (speciallist_id, products_id);


--
-- Name: products_speciallist_products products_speciallist_products_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_speciallist_products
    ADD CONSTRAINT products_speciallist_products_pkey PRIMARY KEY (id);


--
-- Name: products_tags products_tags_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_tags
    ADD CONSTRAINT products_tags_pkey PRIMARY KEY (id);


--
-- Name: products_tags_products products_tags_products_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_tags_products
    ADD CONSTRAINT products_tags_products_pkey PRIMARY KEY (id);


--
-- Name: products_tags_products products_tags_products_tags_id_products_id_cc5285e9_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_tags_products
    ADD CONSTRAINT products_tags_products_tags_id_products_id_cc5285e9_uniq UNIQUE (tags_id, products_id);


--
-- Name: products_wishlist products_wishlist_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_wishlist
    ADD CONSTRAINT products_wishlist_pkey PRIMARY KEY (id);


--
-- Name: products_wishlist products_wishlist_user_id_product_id_dcf61f93_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_wishlist
    ADD CONSTRAINT products_wishlist_user_id_product_id_dcf61f93_uniq UNIQUE (user_id, product_id);


--
-- Name: shops_bankdetails shops_bankdetails_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.shops_bankdetails
    ADD CONSTRAINT shops_bankdetails_pkey PRIMARY KEY (id);


--
-- Name: shops_bankdetails shops_bankdetails_shop_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.shops_bankdetails
    ADD CONSTRAINT shops_bankdetails_shop_id_key UNIQUE (shop_id);


--
-- Name: shops_productionunit shops_productionunit_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.shops_productionunit
    ADD CONSTRAINT shops_productionunit_pkey PRIMARY KEY (uuid);


--
-- Name: shops_productionunit shops_productionunit_pu_code_key; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.shops_productionunit
    ADD CONSTRAINT shops_productionunit_pu_code_key UNIQUE (pu_code);


--
-- Name: shops_shop shops_shop_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.shops_shop
    ADD CONSTRAINT shops_shop_pkey PRIMARY KEY (uuid);


--
-- Name: shops_shop_unit_admin_user shops_shop_unit_admin_user_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.shops_shop_unit_admin_user
    ADD CONSTRAINT shops_shop_unit_admin_user_pkey PRIMARY KEY (id);


--
-- Name: shops_shop_unit_admin_user shops_shop_unit_admin_user_shop_id_users_id_dc14dff0_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.shops_shop_unit_admin_user
    ADD CONSTRAINT shops_shop_unit_admin_user_shop_id_users_id_dc14dff0_uniq UNIQUE (shop_id, users_id);


--
-- Name: shops_shop shops_shop_unit_code_key; Type: CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.shops_shop
    ADD CONSTRAINT shops_shop_unit_code_key UNIQUE (unit_code);


--
-- Name: accounts_address_user_id_c8c74ddf; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX accounts_address_user_id_c8c74ddf ON public.accounts_address USING btree (user_id);


--
-- Name: accounts_userlocation_address_id_fb7f0194; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX accounts_userlocation_address_id_fb7f0194 ON public.accounts_userlocation USING btree (address_id);


--
-- Name: accounts_userlocation_shop_id_4690abe2; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX accounts_userlocation_shop_id_4690abe2 ON public.accounts_userlocation USING btree (shop_id);


--
-- Name: accounts_userlocation_user_id_66f94a3f; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX accounts_userlocation_user_id_66f94a3f ON public.accounts_userlocation USING btree (user_id);


--
-- Name: accounts_users_groups_group_id_371be490; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX accounts_users_groups_group_id_371be490 ON public.accounts_users_groups USING btree (group_id);


--
-- Name: accounts_users_groups_users_id_c8303f87; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX accounts_users_groups_users_id_c8303f87 ON public.accounts_users_groups USING btree (users_id);


--
-- Name: accounts_users_user_permissions_permission_id_5f3d0fff; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX accounts_users_user_permissions_permission_id_5f3d0fff ON public.accounts_users_user_permissions USING btree (permission_id);


--
-- Name: accounts_users_user_permissions_users_id_62a47b5b; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX accounts_users_user_permissions_users_id_62a47b5b ON public.accounts_users_user_permissions USING btree (users_id);


--
-- Name: auth_group_name_a6ea08ec_like; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX auth_group_name_a6ea08ec_like ON public.auth_group USING btree (name varchar_pattern_ops);


--
-- Name: auth_group_permissions_group_id_b120cbf9; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX auth_group_permissions_group_id_b120cbf9 ON public.auth_group_permissions USING btree (group_id);


--
-- Name: auth_group_permissions_permission_id_84c5c92e; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX auth_group_permissions_permission_id_84c5c92e ON public.auth_group_permissions USING btree (permission_id);


--
-- Name: auth_permission_content_type_id_2f476e4b; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX auth_permission_content_type_id_2f476e4b ON public.auth_permission USING btree (content_type_id);


--
-- Name: django_admin_log_content_type_id_c4bce8eb; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX django_admin_log_content_type_id_c4bce8eb ON public.django_admin_log USING btree (content_type_id);


--
-- Name: django_admin_log_user_id_c564eba6; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX django_admin_log_user_id_c564eba6 ON public.django_admin_log USING btree (user_id);


--
-- Name: django_celery_beat_periodictask_clocked_id_47a69f82; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX django_celery_beat_periodictask_clocked_id_47a69f82 ON public.django_celery_beat_periodictask USING btree (clocked_id);


--
-- Name: django_celery_beat_periodictask_crontab_id_d3cba168; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX django_celery_beat_periodictask_crontab_id_d3cba168 ON public.django_celery_beat_periodictask USING btree (crontab_id);


--
-- Name: django_celery_beat_periodictask_interval_id_a8ca27da; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX django_celery_beat_periodictask_interval_id_a8ca27da ON public.django_celery_beat_periodictask USING btree (interval_id);


--
-- Name: django_celery_beat_periodictask_name_265a36b7_like; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX django_celery_beat_periodictask_name_265a36b7_like ON public.django_celery_beat_periodictask USING btree (name varchar_pattern_ops);


--
-- Name: django_celery_beat_periodictask_solar_id_a87ce72c; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX django_celery_beat_periodictask_solar_id_a87ce72c ON public.django_celery_beat_periodictask USING btree (solar_id);


--
-- Name: orders_cart_coupon_id_1516a12b; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX orders_cart_coupon_id_1516a12b ON public.orders_cart USING btree (coupon_id);


--
-- Name: orders_cartitem_cart_id_529df5fa; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX orders_cartitem_cart_id_529df5fa ON public.orders_cartitem USING btree (cart_id);


--
-- Name: orders_cartitem_sku_id_8979a8b3; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX orders_cartitem_sku_id_8979a8b3 ON public.orders_cartitem USING btree (sku_id);


--
-- Name: orders_coupons_ApplicableCategory_coupons_id_45f7f28c; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_coupons_ApplicableCategory_coupons_id_45f7f28c" ON public."orders_coupons_ApplicableCategory" USING btree (coupons_id);


--
-- Name: orders_coupons_ApplicableCategory_productcategory_id_bfeddffc; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_coupons_ApplicableCategory_productcategory_id_bfeddffc" ON public."orders_coupons_ApplicableCategory" USING btree (productcategory_id);


--
-- Name: orders_coupons_ApplicableProduct_coupons_id_8e55e0c5; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_coupons_ApplicableProduct_coupons_id_8e55e0c5" ON public."orders_coupons_ApplicableProduct" USING btree (coupons_id);


--
-- Name: orders_coupons_ApplicableProduct_products_id_80bade5f; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_coupons_ApplicableProduct_products_id_80bade5f" ON public."orders_coupons_ApplicableProduct" USING btree (products_id);


--
-- Name: orders_coupons_ApplicableS_productsubcategory_id_a30de261; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_coupons_ApplicableS_productsubcategory_id_a30de261" ON public."orders_coupons_ApplicableSubCategory" USING btree (productsubcategory_id);


--
-- Name: orders_coupons_ApplicableSku_coupons_id_cadf26f0; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_coupons_ApplicableSku_coupons_id_cadf26f0" ON public."orders_coupons_ApplicableSku" USING btree (coupons_id);


--
-- Name: orders_coupons_ApplicableSku_sku_id_f357422c; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_coupons_ApplicableSku_sku_id_f357422c" ON public."orders_coupons_ApplicableSku" USING btree (sku_id);


--
-- Name: orders_coupons_ApplicableSubCategory_coupons_id_ba9e27f9; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_coupons_ApplicableSubCategory_coupons_id_ba9e27f9" ON public."orders_coupons_ApplicableSubCategory" USING btree (coupons_id);


--
-- Name: orders_coupons_CouponUsed_coupons_id_8e9da3a8; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_coupons_CouponUsed_coupons_id_8e9da3a8" ON public."orders_coupons_CouponUsed" USING btree (coupons_id);


--
-- Name: orders_coupons_CouponUsed_users_id_1e49933c; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_coupons_CouponUsed_users_id_1e49933c" ON public."orders_coupons_CouponUsed" USING btree (users_id);


--
-- Name: orders_discount_ApplicableCategory_discount_id_f69a9ed6; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_discount_ApplicableCategory_discount_id_f69a9ed6" ON public."orders_discount_ApplicableCategory" USING btree (discount_id);


--
-- Name: orders_discount_ApplicableCategory_productcategory_id_7f4f8ff1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_discount_ApplicableCategory_productcategory_id_7f4f8ff1" ON public."orders_discount_ApplicableCategory" USING btree (productcategory_id);


--
-- Name: orders_discount_ApplicableProduct_discount_id_12fc963a; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_discount_ApplicableProduct_discount_id_12fc963a" ON public."orders_discount_ApplicableProduct" USING btree (discount_id);


--
-- Name: orders_discount_ApplicableProduct_products_id_730b5e38; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_discount_ApplicableProduct_products_id_730b5e38" ON public."orders_discount_ApplicableProduct" USING btree (products_id);


--
-- Name: orders_discount_ApplicableSku_discount_id_965ff66b; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_discount_ApplicableSku_discount_id_965ff66b" ON public."orders_discount_ApplicableSku" USING btree (discount_id);


--
-- Name: orders_discount_ApplicableSku_sku_id_42caded9; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_discount_ApplicableSku_sku_id_42caded9" ON public."orders_discount_ApplicableSku" USING btree (sku_id);


--
-- Name: orders_discount_ApplicableSubCategory_discount_id_ef92e1df; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_discount_ApplicableSubCategory_discount_id_ef92e1df" ON public."orders_discount_ApplicableSubCategory" USING btree (discount_id);


--
-- Name: orders_discount_Applicable_productsubcategory_id_0e0b7574; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_discount_Applicable_productsubcategory_id_0e0b7574" ON public."orders_discount_ApplicableSubCategory" USING btree (productsubcategory_id);


--
-- Name: orders_notificationstat_OrderID_id_9b054517; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_notificationstat_OrderID_id_9b054517" ON public.orders_notificationstat USING btree ("OrderID_id");


--
-- Name: orders_notificationstat_sendTo_id_e4d53a9f; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX "orders_notificationstat_sendTo_id_e4d53a9f" ON public.orders_notificationstat USING btree ("sendTo_id");


--
-- Name: orders_orderdelivery_delivery_boy_id_6541e35e; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX orders_orderdelivery_delivery_boy_id_6541e35e ON public.orders_orderdelivery USING btree (delivery_boy_id);


--
-- Name: orders_orderdelivery_order_id_a59ce03a; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX orders_orderdelivery_order_id_a59ce03a ON public.orders_orderdelivery USING btree (order_id);


--
-- Name: orders_orderproducts_order_id_b2226dca; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX orders_orderproducts_order_id_b2226dca ON public.orders_orderproducts USING btree (order_id);


--
-- Name: orders_orderproducts_sku_id_6ac0d8d1; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX orders_orderproducts_sku_id_6ac0d8d1 ON public.orders_orderproducts USING btree (sku_id);


--
-- Name: orders_orders_pu_uuid_id_4bedef19; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX orders_orders_pu_uuid_id_4bedef19 ON public.orders_orders USING btree (pu_uuid_id);


--
-- Name: orders_orders_store_uuid_id_baf70444; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX orders_orders_store_uuid_id_baf70444 ON public.orders_orders USING btree (store_uuid_id);


--
-- Name: orders_orders_user_uuid_id_a0d42e9d; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX orders_orders_user_uuid_id_a0d42e9d ON public.orders_orders USING btree (user_uuid_id);


--
-- Name: products_customproductimage_custom_product_id_0da30137; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_customproductimage_custom_product_id_0da30137 ON public.products_customproductimage USING btree (custom_product_id);


--
-- Name: products_customproductvideo_custom_product_id_212eef51; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_customproductvideo_custom_product_id_212eef51 ON public.products_customproductvideo USING btree (custom_product_id);


--
-- Name: products_dynamicfiltering_products_dynamicfiltering_id_71d2d6d2; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_dynamicfiltering_products_dynamicfiltering_id_71d2d6d2 ON public.products_dynamicfiltering_products USING btree (dynamicfiltering_id);


--
-- Name: products_dynamicfiltering_products_products_id_f465b11f; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_dynamicfiltering_products_products_id_f465b11f ON public.products_dynamicfiltering_products USING btree (products_id);


--
-- Name: products_productcategory_category_code_02fe1443_like; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_productcategory_category_code_02fe1443_like ON public.products_productcategory USING btree (category_code varchar_pattern_ops);


--
-- Name: products_productimage_product_id_e747596a; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_productimage_product_id_e747596a ON public.products_productimage USING btree (product_id);


--
-- Name: products_productreview_product_id_7e81c4a6; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_productreview_product_id_7e81c4a6 ON public.products_productreview USING btree (product_id);


--
-- Name: products_productreview_user_id_5c551aaa; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_productreview_user_id_5c551aaa ON public.products_productreview USING btree (user_id);


--
-- Name: products_products_item_category_id_4b8009b2; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_products_item_category_id_4b8009b2 ON public.products_products USING btree (item_category_id);


--
-- Name: products_products_item_sub_category_id_554c669a; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_products_item_sub_category_id_554c669a ON public.products_products USING btree (item_sub_category_id);


--
-- Name: products_productsubcategory_category_id_69ded4ff; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_productsubcategory_category_id_69ded4ff ON public.products_productsubcategory USING btree (category_id);


--
-- Name: products_productsubcategory_sub_category_code_3996df38_like; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_productsubcategory_sub_category_code_3996df38_like ON public.products_productsubcategory USING btree (sub_category_code varchar_pattern_ops);


--
-- Name: products_productvideo_product_id_872fe729; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_productvideo_product_id_872fe729 ON public.products_productvideo USING btree (product_id);


--
-- Name: products_salesunitproductselection_sales_unit_id_d26b1a54; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_salesunitproductselection_sales_unit_id_d26b1a54 ON public.products_salesunitproductselection USING btree (sales_unit_id);


--
-- Name: products_salesunitproductselection_sku_id_5c12014b; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_salesunitproductselection_sku_id_5c12014b ON public.products_salesunitproductselection USING btree (sku_id);


--
-- Name: products_sku_product_id_42b6697f; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_sku_product_id_42b6697f ON public.products_sku USING btree (product_id);


--
-- Name: products_speciallist_products_products_id_33f039e0; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_speciallist_products_products_id_33f039e0 ON public.products_speciallist_products USING btree (products_id);


--
-- Name: products_speciallist_products_speciallist_id_51692aa9; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_speciallist_products_speciallist_id_51692aa9 ON public.products_speciallist_products USING btree (speciallist_id);


--
-- Name: products_tags_products_products_id_8cf06332; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_tags_products_products_id_8cf06332 ON public.products_tags_products USING btree (products_id);


--
-- Name: products_tags_products_tags_id_fc39ee50; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_tags_products_tags_id_fc39ee50 ON public.products_tags_products USING btree (tags_id);


--
-- Name: products_wishlist_product_id_7c798228; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_wishlist_product_id_7c798228 ON public.products_wishlist USING btree (product_id);


--
-- Name: products_wishlist_user_id_eea5692f; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX products_wishlist_user_id_eea5692f ON public.products_wishlist USING btree (user_id);


--
-- Name: shops_productionunit_pu_code_4bdf956e_like; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX shops_productionunit_pu_code_4bdf956e_like ON public.shops_productionunit USING btree (pu_code varchar_pattern_ops);


--
-- Name: shops_shop_unit_admin_user_shop_id_24ae0b55; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX shops_shop_unit_admin_user_shop_id_24ae0b55 ON public.shops_shop_unit_admin_user USING btree (shop_id);


--
-- Name: shops_shop_unit_admin_user_users_id_334f0b93; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX shops_shop_unit_admin_user_users_id_334f0b93 ON public.shops_shop_unit_admin_user USING btree (users_id);


--
-- Name: shops_shop_unit_code_d0760be3_like; Type: INDEX; Schema: public; Owner: postgres
--

CREATE INDEX shops_shop_unit_code_d0760be3_like ON public.shops_shop USING btree (unit_code varchar_pattern_ops);


--
-- Name: accounts_address accounts_address_user_id_c8c74ddf_fk_accounts_users_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.accounts_address
    ADD CONSTRAINT accounts_address_user_id_c8c74ddf_fk_accounts_users_uuid FOREIGN KEY (user_id) REFERENCES public.accounts_users(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: accounts_userlocation accounts_userlocatio_address_id_fb7f0194_fk_accounts_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.accounts_userlocation
    ADD CONSTRAINT accounts_userlocatio_address_id_fb7f0194_fk_accounts_ FOREIGN KEY (address_id) REFERENCES public.accounts_address(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: accounts_userlocation accounts_userlocation_shop_id_4690abe2_fk_shops_shop_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.accounts_userlocation
    ADD CONSTRAINT accounts_userlocation_shop_id_4690abe2_fk_shops_shop_uuid FOREIGN KEY (shop_id) REFERENCES public.shops_shop(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: accounts_userlocation accounts_userlocation_user_id_66f94a3f_fk_accounts_users_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.accounts_userlocation
    ADD CONSTRAINT accounts_userlocation_user_id_66f94a3f_fk_accounts_users_uuid FOREIGN KEY (user_id) REFERENCES public.accounts_users(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: accounts_users_groups accounts_users_groups_group_id_371be490_fk_auth_group_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.accounts_users_groups
    ADD CONSTRAINT accounts_users_groups_group_id_371be490_fk_auth_group_id FOREIGN KEY (group_id) REFERENCES public.auth_group(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: accounts_users_groups accounts_users_groups_users_id_c8303f87_fk_accounts_users_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.accounts_users_groups
    ADD CONSTRAINT accounts_users_groups_users_id_c8303f87_fk_accounts_users_uuid FOREIGN KEY (users_id) REFERENCES public.accounts_users(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: accounts_users_user_permissions accounts_users_user__permission_id_5f3d0fff_fk_auth_perm; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.accounts_users_user_permissions
    ADD CONSTRAINT accounts_users_user__permission_id_5f3d0fff_fk_auth_perm FOREIGN KEY (permission_id) REFERENCES public.auth_permission(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: accounts_users_user_permissions accounts_users_user__users_id_62a47b5b_fk_accounts_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.accounts_users_user_permissions
    ADD CONSTRAINT accounts_users_user__users_id_62a47b5b_fk_accounts_ FOREIGN KEY (users_id) REFERENCES public.accounts_users(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: auth_group_permissions auth_group_permissio_permission_id_84c5c92e_fk_auth_perm; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.auth_group_permissions
    ADD CONSTRAINT auth_group_permissio_permission_id_84c5c92e_fk_auth_perm FOREIGN KEY (permission_id) REFERENCES public.auth_permission(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: auth_group_permissions auth_group_permissions_group_id_b120cbf9_fk_auth_group_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.auth_group_permissions
    ADD CONSTRAINT auth_group_permissions_group_id_b120cbf9_fk_auth_group_id FOREIGN KEY (group_id) REFERENCES public.auth_group(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: auth_permission auth_permission_content_type_id_2f476e4b_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.auth_permission
    ADD CONSTRAINT auth_permission_content_type_id_2f476e4b_fk_django_co FOREIGN KEY (content_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: django_admin_log django_admin_log_content_type_id_c4bce8eb_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_admin_log
    ADD CONSTRAINT django_admin_log_content_type_id_c4bce8eb_fk_django_co FOREIGN KEY (content_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: django_admin_log django_admin_log_user_id_c564eba6_fk_accounts_users_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_admin_log
    ADD CONSTRAINT django_admin_log_user_id_c564eba6_fk_accounts_users_uuid FOREIGN KEY (user_id) REFERENCES public.accounts_users(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: django_celery_beat_periodictask django_celery_beat_p_clocked_id_47a69f82_fk_django_ce; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_celery_beat_periodictask
    ADD CONSTRAINT django_celery_beat_p_clocked_id_47a69f82_fk_django_ce FOREIGN KEY (clocked_id) REFERENCES public.django_celery_beat_clockedschedule(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: django_celery_beat_periodictask django_celery_beat_p_crontab_id_d3cba168_fk_django_ce; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_celery_beat_periodictask
    ADD CONSTRAINT django_celery_beat_p_crontab_id_d3cba168_fk_django_ce FOREIGN KEY (crontab_id) REFERENCES public.django_celery_beat_crontabschedule(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: django_celery_beat_periodictask django_celery_beat_p_interval_id_a8ca27da_fk_django_ce; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_celery_beat_periodictask
    ADD CONSTRAINT django_celery_beat_p_interval_id_a8ca27da_fk_django_ce FOREIGN KEY (interval_id) REFERENCES public.django_celery_beat_intervalschedule(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: django_celery_beat_periodictask django_celery_beat_p_solar_id_a87ce72c_fk_django_ce; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.django_celery_beat_periodictask
    ADD CONSTRAINT django_celery_beat_p_solar_id_a87ce72c_fk_django_ce FOREIGN KEY (solar_id) REFERENCES public.django_celery_beat_solarschedule(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_cart orders_cart_coupon_id_1516a12b_fk_orders_coupons_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_cart
    ADD CONSTRAINT orders_cart_coupon_id_1516a12b_fk_orders_coupons_id FOREIGN KEY (coupon_id) REFERENCES public.orders_coupons(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_cart orders_cart_user_id_121a069e_fk_accounts_users_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_cart
    ADD CONSTRAINT orders_cart_user_id_121a069e_fk_accounts_users_uuid FOREIGN KEY (user_id) REFERENCES public.accounts_users(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_cartitem orders_cartitem_cart_id_529df5fa_fk_orders_cart_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_cartitem
    ADD CONSTRAINT orders_cartitem_cart_id_529df5fa_fk_orders_cart_id FOREIGN KEY (cart_id) REFERENCES public.orders_cart(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_cartitem orders_cartitem_sku_id_8979a8b3_fk_products_sku_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_cartitem
    ADD CONSTRAINT orders_cartitem_sku_id_8979a8b3_fk_products_sku_id FOREIGN KEY (sku_id) REFERENCES public.products_sku(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_coupons_ApplicableCategory orders_coupons_Appli_coupons_id_45f7f28c_fk_orders_co; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableCategory"
    ADD CONSTRAINT "orders_coupons_Appli_coupons_id_45f7f28c_fk_orders_co" FOREIGN KEY (coupons_id) REFERENCES public.orders_coupons(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_coupons_ApplicableProduct orders_coupons_Appli_coupons_id_8e55e0c5_fk_orders_co; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableProduct"
    ADD CONSTRAINT "orders_coupons_Appli_coupons_id_8e55e0c5_fk_orders_co" FOREIGN KEY (coupons_id) REFERENCES public.orders_coupons(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_coupons_ApplicableSubCategory orders_coupons_Appli_coupons_id_ba9e27f9_fk_orders_co; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableSubCategory"
    ADD CONSTRAINT "orders_coupons_Appli_coupons_id_ba9e27f9_fk_orders_co" FOREIGN KEY (coupons_id) REFERENCES public.orders_coupons(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_coupons_ApplicableSku orders_coupons_Appli_coupons_id_cadf26f0_fk_orders_co; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableSku"
    ADD CONSTRAINT "orders_coupons_Appli_coupons_id_cadf26f0_fk_orders_co" FOREIGN KEY (coupons_id) REFERENCES public.orders_coupons(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_coupons_ApplicableCategory orders_coupons_Appli_productcategory_id_bfeddffc_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableCategory"
    ADD CONSTRAINT "orders_coupons_Appli_productcategory_id_bfeddffc_fk_products_" FOREIGN KEY (productcategory_id) REFERENCES public.products_productcategory(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_coupons_ApplicableProduct orders_coupons_Appli_products_id_80bade5f_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableProduct"
    ADD CONSTRAINT "orders_coupons_Appli_products_id_80bade5f_fk_products_" FOREIGN KEY (products_id) REFERENCES public.products_products(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_coupons_ApplicableSubCategory orders_coupons_Appli_productsubcategory_i_a30de261_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableSubCategory"
    ADD CONSTRAINT "orders_coupons_Appli_productsubcategory_i_a30de261_fk_products_" FOREIGN KEY (productsubcategory_id) REFERENCES public.products_productsubcategory(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_coupons_ApplicableSku orders_coupons_ApplicableSku_sku_id_f357422c_fk_products_sku_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_ApplicableSku"
    ADD CONSTRAINT "orders_coupons_ApplicableSku_sku_id_f357422c_fk_products_sku_id" FOREIGN KEY (sku_id) REFERENCES public.products_sku(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_coupons_CouponUsed orders_coupons_Coupo_coupons_id_8e9da3a8_fk_orders_co; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_CouponUsed"
    ADD CONSTRAINT "orders_coupons_Coupo_coupons_id_8e9da3a8_fk_orders_co" FOREIGN KEY (coupons_id) REFERENCES public.orders_coupons(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_coupons_CouponUsed orders_coupons_Coupo_users_id_1e49933c_fk_accounts_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_coupons_CouponUsed"
    ADD CONSTRAINT "orders_coupons_Coupo_users_id_1e49933c_fk_accounts_" FOREIGN KEY (users_id) REFERENCES public.accounts_users(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_discount_ApplicableProduct orders_discount_Appl_discount_id_12fc963a_fk_orders_di; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableProduct"
    ADD CONSTRAINT "orders_discount_Appl_discount_id_12fc963a_fk_orders_di" FOREIGN KEY (discount_id) REFERENCES public.orders_discount(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_discount_ApplicableSku orders_discount_Appl_discount_id_965ff66b_fk_orders_di; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableSku"
    ADD CONSTRAINT "orders_discount_Appl_discount_id_965ff66b_fk_orders_di" FOREIGN KEY (discount_id) REFERENCES public.orders_discount(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_discount_ApplicableSubCategory orders_discount_Appl_discount_id_ef92e1df_fk_orders_di; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableSubCategory"
    ADD CONSTRAINT "orders_discount_Appl_discount_id_ef92e1df_fk_orders_di" FOREIGN KEY (discount_id) REFERENCES public.orders_discount(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_discount_ApplicableCategory orders_discount_Appl_discount_id_f69a9ed6_fk_orders_di; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableCategory"
    ADD CONSTRAINT "orders_discount_Appl_discount_id_f69a9ed6_fk_orders_di" FOREIGN KEY (discount_id) REFERENCES public.orders_discount(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_discount_ApplicableCategory orders_discount_Appl_productcategory_id_7f4f8ff1_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableCategory"
    ADD CONSTRAINT "orders_discount_Appl_productcategory_id_7f4f8ff1_fk_products_" FOREIGN KEY (productcategory_id) REFERENCES public.products_productcategory(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_discount_ApplicableProduct orders_discount_Appl_products_id_730b5e38_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableProduct"
    ADD CONSTRAINT "orders_discount_Appl_products_id_730b5e38_fk_products_" FOREIGN KEY (products_id) REFERENCES public.products_products(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_discount_ApplicableSubCategory orders_discount_Appl_productsubcategory_i_0e0b7574_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableSubCategory"
    ADD CONSTRAINT "orders_discount_Appl_productsubcategory_i_0e0b7574_fk_products_" FOREIGN KEY (productsubcategory_id) REFERENCES public.products_productsubcategory(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_discount_ApplicableSku orders_discount_Appl_sku_id_42caded9_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public."orders_discount_ApplicableSku"
    ADD CONSTRAINT "orders_discount_Appl_sku_id_42caded9_fk_products_" FOREIGN KEY (sku_id) REFERENCES public.products_sku(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_notificationstat orders_notifications_OrderID_id_9b054517_fk_orders_or; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_notificationstat
    ADD CONSTRAINT "orders_notifications_OrderID_id_9b054517_fk_orders_or" FOREIGN KEY ("OrderID_id") REFERENCES public.orders_orders(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_notificationstat orders_notifications_sendTo_id_e4d53a9f_fk_accounts_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_notificationstat
    ADD CONSTRAINT "orders_notifications_sendTo_id_e4d53a9f_fk_accounts_" FOREIGN KEY ("sendTo_id") REFERENCES public.accounts_users(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_orderdelivery orders_orderdelivery_delivery_boy_id_6541e35e_fk_orders_de; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_orderdelivery
    ADD CONSTRAINT orders_orderdelivery_delivery_boy_id_6541e35e_fk_orders_de FOREIGN KEY (delivery_boy_id) REFERENCES public.orders_deliveryboys(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_orderdelivery orders_orderdelivery_order_id_a59ce03a_fk_orders_orders_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_orderdelivery
    ADD CONSTRAINT orders_orderdelivery_order_id_a59ce03a_fk_orders_orders_uuid FOREIGN KEY (order_id) REFERENCES public.orders_orders(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_orderproducts orders_orderproducts_order_id_b2226dca_fk_orders_orders_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_orderproducts
    ADD CONSTRAINT orders_orderproducts_order_id_b2226dca_fk_orders_orders_uuid FOREIGN KEY (order_id) REFERENCES public.orders_orders(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_orderproducts orders_orderproducts_sku_id_6ac0d8d1_fk_products_sku_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_orderproducts
    ADD CONSTRAINT orders_orderproducts_sku_id_6ac0d8d1_fk_products_sku_id FOREIGN KEY (sku_id) REFERENCES public.products_sku(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_orders orders_orders_drop_address_id_3740fea6_fk_orders_dr; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_orders
    ADD CONSTRAINT orders_orders_drop_address_id_3740fea6_fk_orders_dr FOREIGN KEY (drop_address_id) REFERENCES public.orders_dropaddress(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_orders orders_orders_pu_uuid_id_4bedef19_fk_shops_productionunit_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_orders
    ADD CONSTRAINT orders_orders_pu_uuid_id_4bedef19_fk_shops_productionunit_uuid FOREIGN KEY (pu_uuid_id) REFERENCES public.shops_productionunit(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_orders orders_orders_store_uuid_id_baf70444_fk_shops_shop_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_orders
    ADD CONSTRAINT orders_orders_store_uuid_id_baf70444_fk_shops_shop_uuid FOREIGN KEY (store_uuid_id) REFERENCES public.shops_shop(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_orders orders_orders_user_uuid_id_a0d42e9d_fk_accounts_users_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_orders
    ADD CONSTRAINT orders_orders_user_uuid_id_a0d42e9d_fk_accounts_users_uuid FOREIGN KEY (user_uuid_id) REFERENCES public.accounts_users(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: orders_payment orders_payment_order_id_bdccf250_fk_orders_orders_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.orders_payment
    ADD CONSTRAINT orders_payment_order_id_bdccf250_fk_orders_orders_uuid FOREIGN KEY (order_id) REFERENCES public.orders_orders(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_customproductimage products_customprodu_custom_product_id_0da30137_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_customproductimage
    ADD CONSTRAINT products_customprodu_custom_product_id_0da30137_fk_products_ FOREIGN KEY (custom_product_id) REFERENCES public.products_customproduct(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_customproductvideo products_customprodu_custom_product_id_212eef51_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_customproductvideo
    ADD CONSTRAINT products_customprodu_custom_product_id_212eef51_fk_products_ FOREIGN KEY (custom_product_id) REFERENCES public.products_customproduct(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_dynamicfiltering_products products_dynamicfilt_dynamicfiltering_id_71d2d6d2_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_dynamicfiltering_products
    ADD CONSTRAINT products_dynamicfilt_dynamicfiltering_id_71d2d6d2_fk_products_ FOREIGN KEY (dynamicfiltering_id) REFERENCES public.products_dynamicfiltering(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_dynamicfiltering_products products_dynamicfilt_products_id_f465b11f_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_dynamicfiltering_products
    ADD CONSTRAINT products_dynamicfilt_products_id_f465b11f_fk_products_ FOREIGN KEY (products_id) REFERENCES public.products_products(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_productimage products_productimag_product_id_e747596a_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_productimage
    ADD CONSTRAINT products_productimag_product_id_e747596a_fk_products_ FOREIGN KEY (product_id) REFERENCES public.products_products(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_productreview products_productrevi_product_id_7e81c4a6_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_productreview
    ADD CONSTRAINT products_productrevi_product_id_7e81c4a6_fk_products_ FOREIGN KEY (product_id) REFERENCES public.products_products(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_productreview products_productreview_user_id_5c551aaa_fk_accounts_users_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_productreview
    ADD CONSTRAINT products_productreview_user_id_5c551aaa_fk_accounts_users_uuid FOREIGN KEY (user_id) REFERENCES public.accounts_users(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_products products_products_item_category_id_4b8009b2_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_products
    ADD CONSTRAINT products_products_item_category_id_4b8009b2_fk_products_ FOREIGN KEY (item_category_id) REFERENCES public.products_productcategory(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_products products_products_item_sub_category_id_554c669a_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_products
    ADD CONSTRAINT products_products_item_sub_category_id_554c669a_fk_products_ FOREIGN KEY (item_sub_category_id) REFERENCES public.products_productsubcategory(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_productsubcategory products_productsubc_category_id_69ded4ff_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_productsubcategory
    ADD CONSTRAINT products_productsubc_category_id_69ded4ff_fk_products_ FOREIGN KEY (category_id) REFERENCES public.products_productcategory(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_productvideo products_productvide_product_id_872fe729_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_productvideo
    ADD CONSTRAINT products_productvide_product_id_872fe729_fk_products_ FOREIGN KEY (product_id) REFERENCES public.products_products(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_salesunitproductselection products_salesunitpr_sales_unit_id_d26b1a54_fk_shops_sho; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_salesunitproductselection
    ADD CONSTRAINT products_salesunitpr_sales_unit_id_d26b1a54_fk_shops_sho FOREIGN KEY (sales_unit_id) REFERENCES public.shops_shop(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_salesunitproductselection products_salesunitpr_sku_id_5c12014b_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_salesunitproductselection
    ADD CONSTRAINT products_salesunitpr_sku_id_5c12014b_fk_products_ FOREIGN KEY (sku_id) REFERENCES public.products_sku(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_sku products_sku_product_id_42b6697f_fk_products_products_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_sku
    ADD CONSTRAINT products_sku_product_id_42b6697f_fk_products_products_id FOREIGN KEY (product_id) REFERENCES public.products_products(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_speciallist_products products_speciallist_products_id_33f039e0_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_speciallist_products
    ADD CONSTRAINT products_speciallist_products_id_33f039e0_fk_products_ FOREIGN KEY (products_id) REFERENCES public.products_products(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_speciallist_products products_speciallist_speciallist_id_51692aa9_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_speciallist_products
    ADD CONSTRAINT products_speciallist_speciallist_id_51692aa9_fk_products_ FOREIGN KEY (speciallist_id) REFERENCES public.products_speciallist(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_tags_products products_tags_produc_products_id_8cf06332_fk_products_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_tags_products
    ADD CONSTRAINT products_tags_produc_products_id_8cf06332_fk_products_ FOREIGN KEY (products_id) REFERENCES public.products_products(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_tags_products products_tags_products_tags_id_fc39ee50_fk_products_tags_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_tags_products
    ADD CONSTRAINT products_tags_products_tags_id_fc39ee50_fk_products_tags_id FOREIGN KEY (tags_id) REFERENCES public.products_tags(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_wishlist products_wishlist_product_id_7c798228_fk_products_products_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_wishlist
    ADD CONSTRAINT products_wishlist_product_id_7c798228_fk_products_products_id FOREIGN KEY (product_id) REFERENCES public.products_products(id) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: products_wishlist products_wishlist_user_id_eea5692f_fk_accounts_users_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.products_wishlist
    ADD CONSTRAINT products_wishlist_user_id_eea5692f_fk_accounts_users_uuid FOREIGN KEY (user_id) REFERENCES public.accounts_users(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: shops_bankdetails shops_bankdetails_shop_id_aa4aabda_fk_shops_shop_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.shops_bankdetails
    ADD CONSTRAINT shops_bankdetails_shop_id_aa4aabda_fk_shops_shop_uuid FOREIGN KEY (shop_id) REFERENCES public.shops_shop(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: shops_shop_unit_admin_user shops_shop_unit_admi_users_id_334f0b93_fk_accounts_; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.shops_shop_unit_admin_user
    ADD CONSTRAINT shops_shop_unit_admi_users_id_334f0b93_fk_accounts_ FOREIGN KEY (users_id) REFERENCES public.accounts_users(uuid) DEFERRABLE INITIALLY DEFERRED;


--
-- Name: shops_shop_unit_admin_user shops_shop_unit_admin_user_shop_id_24ae0b55_fk_shops_shop_uuid; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY public.shops_shop_unit_admin_user
    ADD CONSTRAINT shops_shop_unit_admin_user_shop_id_24ae0b55_fk_shops_shop_uuid FOREIGN KEY (shop_id) REFERENCES public.shops_shop(uuid) DEFERRABLE INITIALLY DEFERRED;


--
--

