I can’t reproduce either of these issues, indexes are created for both tables if you don’t have the new
properties, e.g:
SQL: CREATE TABLE "DailySkuMetrics"
(
"SellerSku" VARCHAR(8000) NULL,
"ASIN" VARCHAR(8000) NULL,
"ProductName" VARCHAR(8000) NULL,
"VariationName" VARCHAR(8000) NULL,
"FulfillmentChannel" VARCHAR(8000) NULL,
"ParentProduct" VARCHAR(8000) NULL,
"ParentASIN" VARCHAR(8000) NULL,
"BrandTier" VARCHAR(8000) NULL,
"ItemNumber" VARCHAR(8000) NULL,
"Category" VARCHAR(8000) NULL,
"Id" INTEGER PRIMARY KEY AUTOINCREMENT,
"lastUpdatedDt" VARCHAR(8000) NOT NULL,
"CustomerId" VARCHAR(8000) NULL,
"SellerId" VARCHAR(8000) NULL,
"MarketplaceId" VARCHAR(8000) NULL,
"dt" VARCHAR(8000) NOT NULL,
"OrderCnt" INTEGER NOT NULL,
"OrderedItemsCnt" INTEGER NOT NULL,
"OrderedItemQty" INTEGER NOT NULL,
"OrderPendingCnt" INTEGER NOT NULL,
"OrderCancelledCnt" INTEGER NOT NULL,
"ShippedItemsCnt" INTEGER NOT NULL,
"ShippedItemQty" INTEGER NOT NULL,
"OrderedItemsAmt" DECIMAL(18,12) NOT NULL,
"ShippedItemsAmt" DECIMAL(18,12) NOT NULL,
"AdvertisingImpressions" INTEGER NOT NULL,
"AdvertisingClicks" INTEGER NOT NULL,
"AdvertisingOrderCnt" INTEGER NOT NULL,
"AdvertisingUnitsCnt" INTEGER NOT NULL,
"AdvertisingSales" DECIMAL(18,12) NOT NULL DEFAULT (0),
"AdvertisingSpend" DECIMAL(18,12) NOT NULL,
"AdvertisingNTBUnits" INTEGER NOT NULL,
"AdvertisingNTBSales" DECIMAL(18,12) NOT NULL,
"InStockPercent" DECIMAL(18,12) NOT NULL,
"BuyBoxPercent" DECIMAL(18,12) NOT NULL,
"BuyBoxMinutes" INTEGER NOT NULL DEFAULT (0),
"BuyBoxMinutesPossible" INTEGER NOT NULL DEFAULT (0),
"InStockDays" INTEGER NOT NULL DEFAULT (0),
"InStockDaysPossible" INTEGER NOT NULL DEFAULT (0)
);
SQL: CREATE INDEX idx_dailyskumetrics_sellersku ON "DailySkuMetrics" ("SellerSku");
SQL: CREATE INDEX idx_dailyskumetrics_asin ON "DailySkuMetrics" ("ASIN");
SQL: CREATE INDEX idx_dailyskumetrics_customerid ON "DailySkuMetrics" ("CustomerId");
SQL: CREATE INDEX idx_dailyskumetrics_dt ON "DailySkuMetrics" ("dt");
And I’m not sure what DTO generation bug you’re referring to.