aboutsummaryrefslogtreecommitdiff
path: root/migrations/0003-unique-state-key.sql
Commit message (Collapse)AuthorAge
* sql: Implement bot stateCara Salter2023-04-23
Allows for persistent, dynamic storage of configuration options outside of the config.json file. The bot_state table is, essentially, a key-value store for config options. There are two new prepared statements, `state` and `update_state`: - `state` will return the value for the provided key - `update_state` will create the key or update an existing key