save "create sync group" table in database
This commit is contained in:
@@ -85,6 +85,30 @@ entity "**schema_migrations**" {
|
||||
*""dirty"": //boolean //
|
||||
}
|
||||
|
||||
entity "**sync_group_listing_drafts**" {
|
||||
+ ""account_id"": //integer [PK][FK]//
|
||||
+ ""order_index"": //integer [PK]//
|
||||
--
|
||||
""platform"": //platform //
|
||||
""shop_id"": //text //
|
||||
""listing_id"": //text //
|
||||
}
|
||||
|
||||
entity "**sync_group_listings**" {
|
||||
+ ""sync_group_id"": //integer [PK][FK]//
|
||||
+ ""order_index"": //integer [PK]//
|
||||
--
|
||||
""platform"": //platform //
|
||||
""shop_id"": //text //
|
||||
""listing_id"": //text //
|
||||
}
|
||||
|
||||
entity "**sync_groups**" {
|
||||
+ ""sync_group_id"": //serial [PK]//
|
||||
--
|
||||
*""account_id"": //integer [FK]//
|
||||
}
|
||||
|
||||
entity "**tiktok_store_events**" {
|
||||
+ ""store_id"": //text [PK][FK]//
|
||||
+ ""event_timestamp"": //timestamp with time zone [PK][FK]//
|
||||
@@ -119,6 +143,12 @@ entity "**wix_store_events**" {
|
||||
|
||||
"**oauth_tokens**" }-- "**oauth_users**"
|
||||
|
||||
"**sync_group_listing_drafts**" }-- "**accounts**"
|
||||
|
||||
"**sync_group_listings**" }-- "**sync_groups**"
|
||||
|
||||
"**sync_groups**" }-- "**accounts**"
|
||||
|
||||
"**tiktok_store_events**" }-- "**raw_store_events**"
|
||||
|
||||
"**tiktok_store_events**" }-- "**raw_store_events**"
|
||||
|
||||
Reference in New Issue
Block a user