diff --git a/migrations/20230727160735_max_supply_records.ts b/migrations/20230727160735_max_supply_records.ts deleted file mode 100644 index 0ccc6ca..0000000 --- a/migrations/20230727160735_max_supply_records.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { Knex } from "knex" - -export async function up(knex: Knex): Promise { - await knex.schema.createTable("max_supply_records", (table) => { - table.timestamp("recorded_at").primary() - table.bigint("hnt_burned").notNullable() - table.bigint("supply").notNullable() - table.bigint("max_supply").notNullable() - }) -} - -export async function down(knex: Knex): Promise { - await knex.schema.dropTable("max_supply_records") -} diff --git a/migrations/20240103152443_rename_max_supply.ts b/migrations/20240103152443_rename_max_supply.ts deleted file mode 100644 index 2db91a5..0000000 --- a/migrations/20240103152443_rename_max_supply.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Knex } from "knex" - -export async function up(knex: Knex): Promise { - await knex.schema.alterTable("max_supply_records", (table) => { - table.renameColumn("max_supply", "supply_limit") - }) - - return knex.schema.renameTable("max_supply_records", "supply_limit_records") -} - -export async function down(knex: Knex): Promise { - await knex.schema.alterTable("supply_limit_records", (table) => { - table.renameColumn("supply_limit", "max_supply") - }) - - return knex.schema.renameTable("supply_limit_records", "max_supply_records") -} diff --git a/package.json b/package.json index 42ba337..c85d370 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "angry-purple-tiger": "1.0.5", "axios": "^1.3.5", "bn.js": "^5.2.1", + "caniuse-lite": "^1.0.30001690", "clsx": "1.2.1", "date-fns": "^2.29.3", "dotenv": "^16.3.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 94317ae..3af808a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -68,6 +68,9 @@ dependencies: bn.js: specifier: ^5.2.1 version: 5.2.1 + caniuse-lite: + specifier: ^1.0.30001690 + version: 1.0.30001690 clsx: specifier: 1.2.1 version: 1.2.1 @@ -3099,7 +3102,7 @@ packages: postcss: ^8.1.0 dependencies: browserslist: 4.21.5 - caniuse-lite: 1.0.30001570 + caniuse-lite: 1.0.30001690 fraction.js: 4.2.0 normalize-range: 0.1.2 picocolors: 1.0.0 @@ -3379,7 +3382,7 @@ packages: engines: { node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7 } hasBin: true dependencies: - caniuse-lite: 1.0.30001570 + caniuse-lite: 1.0.30001690 electron-to-chromium: 1.4.382 node-releases: 2.0.10 update-browserslist-db: 1.0.11(browserslist@4.21.5) @@ -3393,7 +3396,7 @@ packages: engines: { node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7 } hasBin: true dependencies: - caniuse-lite: 1.0.30001636 + caniuse-lite: 1.0.30001690 electron-to-chromium: 1.4.455 node-releases: 2.0.13 update-browserslist-db: 1.0.11(browserslist@4.21.9) @@ -3562,17 +3565,10 @@ packages: } engines: { node: ">=10" } - /caniuse-lite@1.0.30001570: + /caniuse-lite@1.0.30001690: resolution: { - integrity: sha512-+3e0ASu4sw1SWaoCtvPeyXp+5PsjigkSt8OXZbF9StH5pQWbxEjLAZE3n8Aup5udop1uRiKA7a4utUk/uoSpUw==, - } - dev: true - - /caniuse-lite@1.0.30001636: - resolution: - { - integrity: sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg==, + integrity: sha512-5ExiE3qQN6oF8Clf8ifIDcMRCRE/dMGcETG/XGMD8/XiXm6HXQgQTh1yZYLXXpSOsEUlJm1Xr7kGULZTuGtP/w==, } /chalk@2.4.2: @@ -7933,7 +7929,7 @@ packages: "@next/env": 14.2.4 "@swc/helpers": 0.5.5 busboy: 1.6.0 - caniuse-lite: 1.0.30001636 + caniuse-lite: 1.0.30001690 graceful-fs: 4.2.11 postcss: 8.4.31 react: 18.3.1