mock store tables stubbed in db schema
This commit is contained in:
@@ -42,6 +42,123 @@ entity "**etsy_users**" {
|
||||
*""shop_id"": //integer //
|
||||
}
|
||||
|
||||
entity "**mock_accounts**" {
|
||||
+ ""account_id"": //serial [PK]//
|
||||
--
|
||||
*""user_id"": //text [FK]//
|
||||
}
|
||||
|
||||
entity "**mock_store_amazon**" {
|
||||
+ ""store_id"": //text [PK]//
|
||||
--
|
||||
*""user_id"": //text [FK]//
|
||||
*""account_id"": //integer [FK]//
|
||||
*""name"": //text //
|
||||
}
|
||||
|
||||
entity "**mock_store_big_cartel**" {
|
||||
+ ""store_id"": //text [PK]//
|
||||
--
|
||||
*""user_id"": //text [FK]//
|
||||
*""account_id"": //integer [FK]//
|
||||
*""name"": //text //
|
||||
}
|
||||
|
||||
entity "**mock_store_ebay**" {
|
||||
+ ""store_id"": //text [PK]//
|
||||
--
|
||||
*""user_id"": //text [FK]//
|
||||
*""account_id"": //integer [FK]//
|
||||
*""name"": //text //
|
||||
}
|
||||
|
||||
entity "**mock_store_ecwid**" {
|
||||
+ ""store_id"": //text [PK]//
|
||||
--
|
||||
*""user_id"": //text [FK]//
|
||||
*""account_id"": //integer [FK]//
|
||||
*""name"": //text //
|
||||
}
|
||||
|
||||
entity "**mock_store_shopify**" {
|
||||
+ ""store_id"": //text [PK]//
|
||||
--
|
||||
*""user_id"": //text [FK]//
|
||||
*""account_id"": //integer [FK]//
|
||||
*""name"": //text //
|
||||
}
|
||||
|
||||
entity "**mock_store_square_online**" {
|
||||
+ ""store_id"": //text [PK]//
|
||||
--
|
||||
*""user_id"": //text [FK]//
|
||||
*""account_id"": //integer [FK]//
|
||||
*""name"": //text //
|
||||
}
|
||||
|
||||
entity "**mock_store_squarespace**" {
|
||||
+ ""store_id"": //text [PK]//
|
||||
--
|
||||
*""user_id"": //text [FK]//
|
||||
*""account_id"": //integer [FK]//
|
||||
*""name"": //text //
|
||||
}
|
||||
|
||||
entity "**mock_store_tiktok**" {
|
||||
+ ""store_id"": //text [PK]//
|
||||
--
|
||||
*""user_id"": //text [FK]//
|
||||
*""account_id"": //integer [FK]//
|
||||
*""name"": //text //
|
||||
}
|
||||
|
||||
entity "**mock_store_walmart_marketplace**" {
|
||||
+ ""store_id"": //text [PK]//
|
||||
--
|
||||
*""user_id"": //text [FK]//
|
||||
*""account_id"": //integer [FK]//
|
||||
*""name"": //text //
|
||||
}
|
||||
|
||||
entity "**mock_store_wix**" {
|
||||
+ ""store_id"": //text [PK]//
|
||||
--
|
||||
*""user_id"": //text [FK]//
|
||||
*""account_id"": //integer [FK]//
|
||||
*""name"": //text //
|
||||
}
|
||||
|
||||
entity "**mock_store_woo_commerce**" {
|
||||
+ ""store_id"": //text [PK]//
|
||||
--
|
||||
*""user_id"": //text [FK]//
|
||||
*""account_id"": //integer [FK]//
|
||||
*""name"": //text //
|
||||
}
|
||||
|
||||
entity "**mock_store_zoho**" {
|
||||
+ ""store_id"": //text [PK]//
|
||||
--
|
||||
*""user_id"": //text [FK]//
|
||||
*""account_id"": //integer [FK]//
|
||||
*""name"": //text //
|
||||
}
|
||||
|
||||
entity "**mock_sync_group_listings**" {
|
||||
+ ""sync_group_id"": //integer [PK][FK]//
|
||||
+ ""order_index"": //integer [PK]//
|
||||
--
|
||||
*""platform"": //platform //
|
||||
*""shop_id"": //text //
|
||||
*""listing_id"": //text //
|
||||
}
|
||||
|
||||
entity "**mock_sync_groups**" {
|
||||
+ ""sync_group_id"": //serial [PK]//
|
||||
--
|
||||
*""account_id"": //integer [FK]//
|
||||
}
|
||||
|
||||
entity "**oauth_login_states**" {
|
||||
+ ""state"": //bytea [PK]//
|
||||
--
|
||||
@@ -98,9 +215,9 @@ entity "**sync_group_listings**" {
|
||||
+ ""sync_group_id"": //integer [PK][FK]//
|
||||
+ ""order_index"": //integer [PK]//
|
||||
--
|
||||
""platform"": //platform //
|
||||
""shop_id"": //text //
|
||||
""listing_id"": //text //
|
||||
*""platform"": //platform //
|
||||
*""shop_id"": //text //
|
||||
*""listing_id"": //text //
|
||||
}
|
||||
|
||||
entity "**sync_groups**" {
|
||||
@@ -141,6 +258,184 @@ entity "**wix_store_events**" {
|
||||
|
||||
"**etsy_users**" }-- "**accounts**"
|
||||
|
||||
"**mock_accounts**" }-- "**oauth_users**"
|
||||
|
||||
"**mock_accounts**" }-- "**oauth_users**"
|
||||
|
||||
"**mock_store_amazon**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_amazon**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_amazon**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_amazon**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_amazon**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_amazon**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_amazon**" }-- "**oauth_users**"
|
||||
|
||||
"**mock_store_big_cartel**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_big_cartel**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_big_cartel**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_big_cartel**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_big_cartel**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_big_cartel**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_big_cartel**" }-- "**oauth_users**"
|
||||
|
||||
"**mock_store_ebay**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_ebay**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_ebay**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_ebay**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_ebay**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_ebay**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_ebay**" }-- "**oauth_users**"
|
||||
|
||||
"**mock_store_ecwid**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_ecwid**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_ecwid**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_ecwid**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_ecwid**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_ecwid**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_ecwid**" }-- "**oauth_users**"
|
||||
|
||||
"**mock_store_shopify**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_shopify**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_shopify**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_shopify**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_shopify**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_shopify**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_shopify**" }-- "**oauth_users**"
|
||||
|
||||
"**mock_store_square_online**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_square_online**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_square_online**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_square_online**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_square_online**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_square_online**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_square_online**" }-- "**oauth_users**"
|
||||
|
||||
"**mock_store_squarespace**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_squarespace**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_squarespace**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_squarespace**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_squarespace**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_squarespace**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_squarespace**" }-- "**oauth_users**"
|
||||
|
||||
"**mock_store_tiktok**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_tiktok**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_tiktok**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_tiktok**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_tiktok**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_tiktok**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_tiktok**" }-- "**oauth_users**"
|
||||
|
||||
"**mock_store_walmart_marketplace**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_walmart_marketplace**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_walmart_marketplace**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_walmart_marketplace**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_walmart_marketplace**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_walmart_marketplace**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_walmart_marketplace**" }-- "**oauth_users**"
|
||||
|
||||
"**mock_store_wix**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_wix**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_wix**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_wix**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_wix**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_wix**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_wix**" }-- "**oauth_users**"
|
||||
|
||||
"**mock_store_woo_commerce**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_woo_commerce**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_woo_commerce**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_woo_commerce**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_woo_commerce**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_woo_commerce**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_woo_commerce**" }-- "**oauth_users**"
|
||||
|
||||
"**mock_store_zoho**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_zoho**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_zoho**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_zoho**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_zoho**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_zoho**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_store_zoho**" }-- "**oauth_users**"
|
||||
|
||||
"**mock_sync_group_listings**" }-- "**mock_sync_groups**"
|
||||
|
||||
"**mock_sync_groups**" }-- "**mock_accounts**"
|
||||
|
||||
"**mock_sync_groups**" }-- "**mock_accounts**"
|
||||
|
||||
"**oauth_tokens**" }-- "**oauth_users**"
|
||||
|
||||
"**sync_group_listing_drafts**" }-- "**accounts**"
|
||||
@@ -151,12 +446,6 @@ entity "**wix_store_events**" {
|
||||
|
||||
"**sync_group_listings**" }-- "**sync_groups**"
|
||||
|
||||
"**sync_group_listings**" }-- "**sync_groups**"
|
||||
|
||||
"**sync_group_listings**" }-- "**sync_groups**"
|
||||
|
||||
"**sync_group_listings**" }-- "**sync_groups**"
|
||||
|
||||
"**sync_groups**" }-- "**accounts**"
|
||||
|
||||
"**tiktok_store_events**" }-- "**raw_store_events**"
|
||||
|
||||
Reference in New Issue
Block a user