status-go/walletdatabase/migrations/sql/1716313614_add_rpc_limits_table.up.sql
Ivan Belyakov 725fef8f24 feat(wallet)_: implemented storing RPC requests in sql table
Fixed some tests and minor issues
2024-05-28 13:44:40 +02:00

7 lines
203 B
SQL

CREATE TABLE rpc_limits (
tag TEXT NOT NULL PRIMARY KEY,
created_at INTEGER NOT NULL,
period INTEGER NOT NULL,
max_requests INTEGER NOT NULL,
counter INTEGER NOT NULL
) WITHOUT ROWID;