From 69f0e0b5d3ea0652158af24723650b2853681ac0 Mon Sep 17 00:00:00 2001 From: daniel <4954577+jaensen@users.noreply.github.com> Date: Thu, 12 Sep 2024 14:41:14 +0200 Subject: [PATCH] added missing 'tokenType' columm on V_CrcV1_Transfers --- Circles.Index.CirclesViews/DatabaseSchema.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Circles.Index.CirclesViews/DatabaseSchema.cs b/Circles.Index.CirclesViews/DatabaseSchema.cs index 81e682f..2ab5210 100644 --- a/Circles.Index.CirclesViews/DatabaseSchema.cs +++ b/Circles.Index.CirclesViews/DatabaseSchema.cs @@ -98,7 +98,8 @@ UNION ALL new("from", ValueTypes.Address, true), new("to", ValueTypes.Address, true), new("amount", ValueTypes.BigInt, false), - new("type", ValueTypes.String, false) + new("type", ValueTypes.String, true), + new("tokenType", ValueTypes.String, true) ]) { SqlMigrationItem = new SqlMigrationItem(@" @@ -234,7 +235,8 @@ LEFT JOIN (SELECT cid_1.avatar, new("to", ValueTypes.Address, true), new("id", ValueTypes.BigInt, true), new("value", ValueTypes.BigInt, false), - new("type", ValueTypes.String, false) + new("type", ValueTypes.String, true), + new("tokenType", ValueTypes.String, true) ]) { SqlMigrationItem = new SqlMigrationItem(@" @@ -487,7 +489,8 @@ UNION ALL new("to", ValueTypes.Address, true), new("id", ValueTypes.BigInt, true), new("value", ValueTypes.BigInt, false), - new("type", ValueTypes.String, false) + new("type", ValueTypes.String, true), + new("tokenType", ValueTypes.String, true) ]) { SqlMigrationItem = new SqlMigrationItem(@"