Skip to content

Commit

Permalink
user migration heimdall
Browse files Browse the repository at this point in the history
  • Loading branch information
area363 committed Nov 22, 2023
1 parent 6686612 commit e5fcf54
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions NineChronicles.DataProvider.Tools/SubCommand/MySqlMigration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,8 @@ public void Migration(
{
_urBulkFile.WriteLine(
$"{tip.Index};" +
$"{avatarAddress.ToString()};" +
$"{avatarState.agentAddress.ToString()};" +
$"{avatarAddress.ToString()};" +
$"{runeType.Ticker};" +
$"{Convert.ToDecimal(outputRuneBalance.GetQuantityString())};" +
$"{tip.Timestamp.UtcDateTime:yyyy-MM-dd}"
Expand Down Expand Up @@ -653,8 +653,8 @@ public void Migration(
var equipment = (Equipment)orderItem;
Console.WriteLine(equipment.ItemId);
_seBulkFile.WriteLine(
$"{tip.Index};" +
$"{equipment.ItemId.ToString()};" +
$"{tip.Index};" +
$"{orderReceipt.SellerAgentAddress.ToString()};" +
$"{avatarAddress.ToString()};" +
$"{equipment.ItemType.ToString()};" +
Expand Down Expand Up @@ -686,8 +686,8 @@ public void Migration(
var costume = (Costume)orderItem;
Console.WriteLine(costume.ItemId);
_sctBulkFile.WriteLine(
$"{tip.Index};" +
$"{costume.ItemId.ToString()};" +
$"{tip.Index};" +
$"{orderReceipt.SellerAgentAddress.ToString()};" +
$"{avatarAddress.ToString()};" +
$"{costume.ItemType.ToString()};" +
Expand Down Expand Up @@ -715,8 +715,8 @@ public void Migration(
var material = (Material)orderItem;
Console.WriteLine(material.ItemId);
_smBulkFile.WriteLine(
$"{tip.Index};" +
$"{material.ItemId.ToString()};" +
$"{tip.Index};" +
$"{orderReceipt.SellerAgentAddress.ToString()};" +
$"{avatarAddress.ToString()};" +
$"{material.ItemType.ToString()};" +
Expand All @@ -740,8 +740,8 @@ public void Migration(
var consumable = (Consumable)orderItem;
Console.WriteLine(consumable.ItemId);
_scBulkFile.WriteLine(
$"{tip.Index};" +
$"{consumable.ItemId.ToString()};" +
$"{tip.Index};" +
$"{orderReceipt.SellerAgentAddress.ToString()};" +
$"{avatarAddress.ToString()};" +
$"{consumable.ItemType.ToString()};" +
Expand Down

0 comments on commit e5fcf54

Please sign in to comment.