Skip to content

dev4hobby/promo-tables

Repository files navigation

Promo Tables

Quick start

docker-compose up --build

Usage

❯ make help
build-docker         Build docker image
build-go             Build
clean                Clean all build resources
flush                Drop all tables
help                 What you see here..
init                 Init tables and insert mockdata
test-clean           Expires all test results
test                 For CI and Local test

Tables

Image

Name Description TODO
product Products for store service
promo_category All promotions created by operator, uses as additional category
promo_controller Promotion factory, creates one promotion in several forms Manage the 'subscribe condition' column in Redis
user_store_subscription Records user-specific promotion controller subscription information
user all users
promo_purchased_log Table created to record and search purchase history

DrawIO File Description

About

Table structure for product related with store promotion

Resources

Stars

Watchers

Forks