SQLite is a lightweight, standard database. Every val comes with its own private SQLite database that is accessible from any of your vals via std/sqlite.
In addition to “scoped” SQLite databases per val, every organization and user also has their own global SQLite database: this is now a legacy system, but it will continue to work forever. Val-scoped SQLite databases are the recommended way to interact with SQLite for new vals.
Val Town SQLite is powered by Turso.
UsageHow to use Val Town SQLite in your vals
MigrationsHow to manage your database schema
InterfaceAdmin panel for sqlite
ORMsHow to use ORMs with Val Town SQLite
GlobalLegacy account-scope SQLite database
Limits
Section titled “Limits”You can store 10mb on the free plan and up to 1gb on the paid plan. Contact us if you need more space.