Graphcool offers an abstraction over your database. This means you don't need to use SQL any more. Instead, you're using the GraphQL Schema Definition Language (SDL) for your type definitions. Graphcool then generates and manages the underlying database schema for you.
Migrations can be performed by updating your type definitions and running the
graphcool deploy command in the CLI. In cases where additional information for a migration is required (such as default values for a non-nullable type that was added to the database schema), you need to provide an additional file with the required information.
Was this page helpful?