Skip to content

Commit 73eb30a

Browse files
committed
feat: frontend consumption table
1 parent 6392ac5 commit 73eb30a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/migrations/20250312162155-connection-count-consumption-table.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
exports.up = (db, callback) => {
33
db.runSql(
44
`
5-
CREATE TABLE IF NOT EXISTS frontend_consumption_count(
5+
CREATE TABLE IF NOT EXISTS request_count_consumption(
66
day DATE NOT NULL,
77
metered_group TEXT NOT NULL,
88
requests BIGINT NOT NULL DEFAULT 0,
@@ -16,7 +16,7 @@ exports.up = (db, callback) => {
1616
exports.down = (db, callback) => {
1717
db.runSql(
1818
`
19-
DROP TABLE IF EXISTS frontend_consumption_count;
19+
DROP TABLE IF EXISTS request_count_consumption;
2020
`,
2121
callback,
2222
);

0 commit comments

Comments
 (0)