Skip to content

Commit 4a92a36

Browse files
feat: 🎸 allow null ticker values in Investment entity
1 parent cf8abfa commit 4a92a36

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
alter table investments alter column offering_token drop not null;
2+
alter table investments alter column raise_token drop not null;

‎schema.graphql‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1751,9 +1751,9 @@ type Investment @entity {
17511751
investor: Identity!
17521752
stoId: Int! @index(unique: false)
17531753
offeringAssetId: String! @index(unique: false)
1754-
offeringToken: String! @index(unique: false)
1754+
offeringToken: String @index(unique: false)
17551755
raisingAssetId: String!
1756-
raiseToken: String!
1756+
raiseToken: String
17571757
raisingAssetType: RaisingAssetTypeEnum!
17581758
offeringTokenAmount: BigInt!
17591759
raiseTokenAmount: BigInt!

0 commit comments

Comments
 (0)