add sqlite to cache token metadata
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE `token_metadata` (
|
||||
`name` text,
|
||||
`symbol` text NOT NULL,
|
||||
`decimals` integer,
|
||||
`logo` text,
|
||||
`contractAddress` text NOT NULL,
|
||||
`chainId` text NOT NULL
|
||||
);
|
||||
--> statement-breakpoint
|
||||
CREATE UNIQUE INDEX `contract_unique` ON `token_metadata` (`chainId`,`contractAddress`);
|
||||
Reference in New Issue
Block a user