-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add missing fields * Consistent ordering * Hasura permissions * Royalty handling * Fmt + lint * Add rows to struct * Remove junk * Remove `empty` in favor of `Default` trait * Remove `empty` on NftToken in favor of `Default` trait
- Loading branch information
Showing
6 changed files
with
39 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
migrations/2024-02-29-130650_complete-metadata-creation/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
alter table nft_metadata | ||
drop royalties, | ||
drop royalty_percent, | ||
drop max_supply, | ||
drop last_possible_mint, | ||
drop is_locked; |
6 changes: 6 additions & 0 deletions
6
migrations/2024-02-29-130650_complete-metadata-creation/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
alter table nft_metadata | ||
add royalties jsonb, | ||
add royalty_percent numeric, | ||
add max_supply numeric, | ||
add last_possible_mint timestamp, | ||
add is_locked boolean; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters