save "create sync group" table in database
This commit is contained in:
@@ -7,233 +7,281 @@ var (
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
ShopID: "2",
|
||||
Platform: Etsy,
|
||||
ShopID: "2",
|
||||
},
|
||||
Platform: Etsy,
|
||||
Name: "Etsy 1",
|
||||
Name: "Etsy 1",
|
||||
},
|
||||
AccountShop{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
ShopID: "5",
|
||||
Platform: Etsy,
|
||||
ShopID: "5",
|
||||
},
|
||||
Platform: Etsy,
|
||||
Name: "Etsy 2",
|
||||
Name: "Etsy 2",
|
||||
},
|
||||
AccountShop{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
ShopID: "8",
|
||||
Platform: Etsy,
|
||||
ShopID: "8",
|
||||
},
|
||||
Platform: Etsy,
|
||||
Name: "Etsy 3",
|
||||
Name: "Etsy 3",
|
||||
},
|
||||
AccountShop{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
ShopID: "11",
|
||||
Platform: Tiktok,
|
||||
ShopID: "11",
|
||||
},
|
||||
Platform: Tiktok,
|
||||
Name: "Tiktok 1",
|
||||
Name: "Tiktok 1",
|
||||
},
|
||||
AccountShop{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
ShopID: "14",
|
||||
Platform: Tiktok,
|
||||
ShopID: "14",
|
||||
},
|
||||
Platform: Tiktok,
|
||||
Name: "Tiktok 2",
|
||||
Name: "Tiktok 2",
|
||||
},
|
||||
AccountShop{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
ShopID: "17",
|
||||
Platform: Tiktok,
|
||||
ShopID: "17",
|
||||
},
|
||||
Platform: Tiktok,
|
||||
Name: "Tiktok 3",
|
||||
Name: "Tiktok 3",
|
||||
},
|
||||
AccountShop{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
ShopID: "20",
|
||||
Platform: Wix,
|
||||
ShopID: "20",
|
||||
},
|
||||
Platform: Wix,
|
||||
Name: "Wix 1",
|
||||
Name: "Wix 1",
|
||||
},
|
||||
AccountShop{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
ShopID: "23",
|
||||
Platform: Wix,
|
||||
ShopID: "23",
|
||||
},
|
||||
Platform: Wix,
|
||||
Name: "Wix 2",
|
||||
Name: "Wix 2",
|
||||
},
|
||||
AccountShop{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
ShopID: "26",
|
||||
Platform: Wix,
|
||||
ShopID: "26",
|
||||
},
|
||||
Platform: Wix,
|
||||
Name: "Wix 3",
|
||||
Name: "Wix 3",
|
||||
},
|
||||
}
|
||||
|
||||
devListings = []Listing{
|
||||
{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
AccountShopListingIDs: AccountShopListingIDs{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
Platform: Etsy,
|
||||
ShopID: "1",
|
||||
},
|
||||
ListingID: "1",
|
||||
},
|
||||
Platform: Etsy,
|
||||
ShopID: "1",
|
||||
ListingID: 1,
|
||||
SKU: "sku 1",
|
||||
Name: "name 1",
|
||||
Description: "description 1",
|
||||
Count: 51,
|
||||
},
|
||||
{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
AccountShopListingIDs: AccountShopListingIDs{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
Platform: Etsy,
|
||||
ShopID: "1",
|
||||
},
|
||||
ListingID: "2",
|
||||
},
|
||||
Platform: Etsy,
|
||||
ShopID: "1",
|
||||
ListingID: 2,
|
||||
SKU: "sku 2",
|
||||
Name: "name 2",
|
||||
Description: "description 2",
|
||||
Count: 52,
|
||||
},
|
||||
{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
AccountShopListingIDs: AccountShopListingIDs{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
Platform: Etsy,
|
||||
ShopID: "1",
|
||||
},
|
||||
ListingID: "3",
|
||||
},
|
||||
Platform: Etsy,
|
||||
ShopID: "1",
|
||||
ListingID: 3,
|
||||
SKU: "sku 3",
|
||||
Name: "name 3",
|
||||
Description: "description 3",
|
||||
Count: 53,
|
||||
},
|
||||
{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
AccountShopListingIDs: AccountShopListingIDs{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
Platform: Tiktok,
|
||||
ShopID: "4",
|
||||
},
|
||||
ListingID: "4",
|
||||
},
|
||||
Platform: Tiktok,
|
||||
ShopID: "4",
|
||||
ListingID: 4,
|
||||
SKU: "sku 4",
|
||||
Name: "name 4",
|
||||
Description: "description 4",
|
||||
Count: 54,
|
||||
},
|
||||
{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
AccountShopListingIDs: AccountShopListingIDs{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
Platform: Tiktok,
|
||||
ShopID: "4",
|
||||
},
|
||||
ListingID: "5",
|
||||
},
|
||||
Platform: Tiktok,
|
||||
ShopID: "4",
|
||||
ListingID: 5,
|
||||
SKU: "sku 5",
|
||||
Name: "name 5",
|
||||
Description: "description 5",
|
||||
Count: 55,
|
||||
},
|
||||
{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
AccountShopListingIDs: AccountShopListingIDs{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
Platform: Tiktok,
|
||||
ShopID: "4",
|
||||
},
|
||||
ListingID: "6",
|
||||
},
|
||||
Platform: Tiktok,
|
||||
ShopID: "4",
|
||||
ListingID: 6,
|
||||
SKU: "sku 6",
|
||||
Name: "name 6",
|
||||
Description: "description 6",
|
||||
Count: 56,
|
||||
},
|
||||
{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
AccountShopListingIDs: AccountShopListingIDs{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
Platform: Wix,
|
||||
ShopID: "7",
|
||||
},
|
||||
ListingID: "7",
|
||||
},
|
||||
Platform: Wix,
|
||||
ShopID: "7",
|
||||
ListingID: 7,
|
||||
SKU: "sku 7",
|
||||
Name: "name 7",
|
||||
Description: "description 7",
|
||||
Count: 57,
|
||||
},
|
||||
{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
AccountShopListingIDs: AccountShopListingIDs{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
Platform: Wix,
|
||||
ShopID: "7",
|
||||
},
|
||||
ListingID: "8",
|
||||
},
|
||||
Platform: Wix,
|
||||
ShopID: "7",
|
||||
ListingID: 8,
|
||||
SKU: "sku 8",
|
||||
Name: "name 8",
|
||||
Description: "description 8",
|
||||
Count: 58,
|
||||
},
|
||||
{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
AccountShopListingIDs: AccountShopListingIDs{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
Platform: Wix,
|
||||
ShopID: "7",
|
||||
},
|
||||
ListingID: "9",
|
||||
},
|
||||
Platform: Wix,
|
||||
ShopID: "7",
|
||||
ListingID: 9,
|
||||
SKU: "sku 9",
|
||||
Name: "name 9",
|
||||
Description: "description 9",
|
||||
Count: 59,
|
||||
},
|
||||
{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
AccountShopListingIDs: AccountShopListingIDs{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
Platform: Etsy,
|
||||
ShopID: "2",
|
||||
},
|
||||
ListingID: "10",
|
||||
},
|
||||
Platform: Etsy,
|
||||
ShopID: "2",
|
||||
ListingID: 10,
|
||||
SKU: "sku 10",
|
||||
Name: "name 10",
|
||||
Description: "description 10",
|
||||
Count: 60,
|
||||
},
|
||||
{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
AccountShopListingIDs: AccountShopListingIDs{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
Platform: Etsy,
|
||||
ShopID: "2",
|
||||
},
|
||||
ListingID: "11",
|
||||
},
|
||||
Platform: Etsy,
|
||||
ShopID: "2",
|
||||
ListingID: 11,
|
||||
SKU: "sku 11",
|
||||
Name: "name 11",
|
||||
Description: "description 11",
|
||||
Count: 61,
|
||||
},
|
||||
{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
AccountShopListingIDs: AccountShopListingIDs{
|
||||
AccountShopIDs: AccountShopIDs{
|
||||
AccountIDs: AccountIDs{
|
||||
AccountID: 6,
|
||||
},
|
||||
Platform: Etsy,
|
||||
ShopID: "2",
|
||||
},
|
||||
ListingID: "12",
|
||||
},
|
||||
Platform: Etsy,
|
||||
ShopID: "2",
|
||||
ListingID: 12,
|
||||
SKU: "sku 12",
|
||||
Name: "name 12",
|
||||
Description: "description 12",
|
||||
|
||||
Reference in New Issue
Block a user