This repository has been archived by the owner on Aug 6, 2024. It is now read-only.
forked from lyc8503/UptimeFlare
-
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.
feat: split state to chunks to avoid exceeding d1 row size limit
- Loading branch information
Showing
3 changed files
with
30 additions
and
21 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
-- DROP TABLE IF EXISTS kv; | ||
CREATE TABLE IF NOT EXISTS kv (key TEXT PRIMARY KEY, value TEXT); | ||
-- DROP TABLE IF EXISTS state; | ||
CREATE TABLE IF NOT EXISTS state (idx TINYINT UNSIGNED PRIMARY KEY, val TEXT); |