Keystone is a code-defined framework for content and data applications, generating an administration interface and GraphQL API from configured lists and fields. It supports PostgreSQL, MySQL and SQLite through its database configuration, though the documentation says its SQLite provider is not intended for production systems. The framework supplies application building blocks while leaving schema design, access rules and production operations to the development team.[2][3]
Content and application design
Developers define fields and relationships in code, and Keystone uses those definitions to expose an editing interface and API. That arrangement can suit a custom content application whose developers want the editor to follow a versioned schema. It is not a hosted editorial service that removes the need to build and deploy the backend.[2][3]
Authentication and authorization
Keystone does not impose a fixed built-in User model. The authentication package uses a list selected by the developer, with identity and secret fields. Additional roles and relationships can be modeled on that list. This flexibility makes the application's account design part of the implementation rather than a ready-made organizational permission scheme.[4]
Session data identifies the caller, while list and field access rules determine allowed operations and records. Admin-interface visibility is another layer. The authorization guide therefore treats authentication, data access and editing controls as related but distinct concerns; a login screen alone does not establish suitable access to every GraphQL operation.[4]
Database evolution
For rapid local development, Keystone uses Prisma's database-push workflow to align a database with its generated schema. That can cause drift from a migration history. Production and collaborative development instead require reviewed migration files maintained through the Prisma CLI.[5]
Keystone's production start command does not generate or apply migrations. The documented workflow applies committed migrations as a separate release step before starting new application instances. A deployment that updates code without its database changes can consequently fail when the application expects missing tables or columns.[5][6]
License and substitution
The MIT license permits operating and adapting the framework under its notice conditions. Hosting, database operation and recovery remain the developer's responsibility. The permissive license concerns the software, not a bundled managed-service agreement or a guarantee that every application design is secure.[1][3]
Keystone can substitute for a rebuilt Payload content backend when code-defined schemas, GraphQL and its supported databases fit. Both are developer-oriented options, but their configuration, hooks, authorization and migration mechanisms differ. A shared database vendor does not establish direct project interchange or identical editor behavior.[2][3][7][8]
Capabilities & limitations
Database migrations
limited
Production startup does not apply migrations; a separate committed Prisma migration step is required.[5][6]
Deploy schema changes · Web · Deployment depends on runtime, database, hosting and application configuration
/* wbeditentity-create-item:0| */ sf:0e97e884-3b81-487f-b12d-63545062a6b4:v2 | Qualify SQLite as not intended for production and replace unsupported edition/license-tier conditions with runtime, database, hosting and application-configurat | attribution: /proposals/0e97e884-3b81-487f-b12d-63545062a6b4